[hidden]{display:none!important}.count-workspace:not([hidden]){display:grid;gap:1rem}.count-heading{margin-bottom:.5rem}.count-heading p:last-child{margin-bottom:0;color:var(--muted)}.count-start{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.25rem;align-items:start}.count-start>.form-message,.count-start>div:last-child{grid-column:1/-1}.count-session-list{display:grid;gap:.6rem}.count-session-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 0;border-top:1px solid var(--line)}.count-session-row>div{display:grid;gap:.2rem}.count-session-row>div:last-child{display:flex;align-items:center;gap:.75rem}.count-summary{margin-bottom:1rem}.count-scan-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,.55fr);gap:1rem;align-items:stretch;border:2px solid var(--accent)}.count-scan-form{display:grid;gap:.45rem}.count-scan-form>label{font-size:1.1rem;font-weight:800}.count-scan-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.65rem}.count-scan-form input{font-size:1.25rem;padding:.9rem 1rem}.count-feedback{display:grid;align-content:center;min-height:5.2rem;padding:1rem;border-radius:.8rem;background:var(--soft);font-size:1rem;font-weight:800}.count-feedback--ok{background:#deeee4;color:#27543e}.count-feedback--error{background:#f7dfdf;color:#742626}.count-feedback--busy{background:#f4eadc;color:#704719}.count-problems,.count-review-panel,#count-items-panel{margin-top:1rem}.count-problems h2,.count-review-panel h2,#count-items-panel h2{margin-bottom:.25rem}.count-problems>div:last-child{display:grid;gap:.7rem}.count-problem{display:grid;grid-template-columns:minmax(12rem,.7fr) minmax(16rem,1fr) auto;gap:1rem;align-items:end;padding:1rem;border:1px solid #d9b5b5;border-radius:.85rem;background:#fffafa}.count-problem>div:first-child{display:grid;gap:.2rem}.count-problem label{display:grid;gap:.35rem;font-size:.82rem;font-weight:800}.count-items-heading{align-items:end}.count-search{width:min(100%,30rem)}.count-item-list{display:grid;gap:.65rem}.count-item{display:grid;grid-template-columns:5rem minmax(0,1fr) auto;gap:1rem;align-items:center;padding:.75rem;border:1px solid var(--line);border-radius:.9rem;background:#fff}.count-item>img,.count-item__placeholder{width:5rem;height:6.25rem;border-radius:.65rem;object-fit:cover;background:var(--soft)}.count-item__placeholder{display:grid;place-items:center;color:var(--accent);font:700 1rem Georgia,serif}.count-item__details{display:grid;gap:.15rem;min-width:0}.count-item__details span,.count-item__details small{overflow-wrap:anywhere}.count-quantity{display:grid;grid-template-columns:auto 4.5rem auto;gap:.4rem;align-items:center}.count-quantity input{text-align:center;font-size:1.05rem;font-weight:800;padding:.7rem .3rem}.count-quantity .button{min-width:2.8rem;padding:.68rem}.count-review-panel{display:grid;gap:1.2rem}.count-review-panel>.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.count-review-products{display:grid;gap:.5rem;max-height:34rem;overflow:auto;border:1px solid var(--line);border-radius:.85rem;padding:.35rem}.count-review-product{display:grid;grid-template-columns:minmax(12rem,1fr) minmax(8rem,.4fr) minmax(10rem,.5fr) auto;gap:1rem;align-items:center;padding:.8rem;border-bottom:1px solid var(--line)}.count-review-product:last-child{border-bottom:0}.count-review-product>div{display:grid;gap:.15rem}.count-review-product>div:nth-child(2){grid-template-columns:1fr 1fr}.count-review-product small,.count-review-product span{color:var(--muted)}.count-review-product .count-error{color:var(--red);font-weight:800}.count-zero-override{font-size:.8rem}.count-confirm{display:flex;align-items:flex-start;gap:.7rem;padding:1rem;border:2px solid var(--accent);border-radius:.85rem;background:#fff;font-weight:800}.count-confirm input{width:1.35rem;height:1.35rem;flex:0 0 auto;margin:.05rem 0 0}.count-review-actions{justify-content:flex-end}.count-error{color:var(--red)}
@media(max-width:900px){.count-review-panel>.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.count-problem{grid-template-columns:1fr}.count-review-product{grid-template-columns:minmax(0,1fr) auto}.count-review-product>.count-zero-override{grid-column:1/-1}.count-scan-panel{grid-template-columns:1fr}}
@media(max-width:600px){.count-start{grid-template-columns:1fr}.count-start>div:last-child,.count-start>.form-message{grid-column:auto}.count-session-row{align-items:flex-start;flex-direction:column}.count-session-row>div:last-child{width:100%;justify-content:space-between}.count-scan-form>div{grid-template-columns:1fr}.count-items-heading{align-items:stretch}.count-search{width:100%}.count-item{grid-template-columns:4rem minmax(0,1fr)}.count-item>img,.count-item__placeholder{width:4rem;height:5rem}.count-quantity{grid-column:1/-1;grid-template-columns:1fr 5rem 1fr}.count-review-panel>.summary-grid{grid-template-columns:1fr 1fr}.count-review-product{grid-template-columns:1fr}.count-review-actions{align-items:stretch;flex-direction:column}.count-review-actions .button{width:100%}}
@media(forced-colors:active){.count-feedback,.count-problem,.count-item,.count-confirm{border:1px solid CanvasText}}
