.bundle-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:.85rem}
.bundle-card{border:1.5px solid #c8c3a9;background:linear-gradient(145deg,#fffdf5,#f1efdf);border-radius:12px;padding:1.1rem;min-height:212px;display:flex;flex-direction:column;gap:.55rem;color:var(--ink);text-align:left;cursor:pointer}
.bundle-card strong{font:600 1.32rem Georgia,serif;line-height:1.2}.bundle-card span{font-weight:650;color:#4c6948}.bundle-card small{display:block;color:#596850;line-height:1.4}
.bundle-card.selected{border-color:#426443;background:#e8efdf;box-shadow:inset 0 0 0 1px #426443,0 8px 22px #31502a18}.bundle-card:focus-visible{outline:3px solid #a9bb9c;outline-offset:3px}
.shipping-note{max-width:380px;padding:.75rem;background:#eef1e8;border:1px solid #cdd6c5;border-radius:8px;font-size:.86rem;line-height:1.4}
.source-tabs{display:grid;gap:.7rem;margin-top:1rem}.source-tabs>label{margin:1rem 0 0}.source-list{max-height:230px;overflow-y:auto;border:1px solid #d2cfbf;border-radius:8px;background:#fffdf7;padding:.5rem;display:grid;gap:.4rem}
.bundle-src{display:flex;gap:.65rem;align-items:center;padding:.42rem .5rem;border-radius:7px;border-bottom:1px solid #e7e3d5}
.bundle-src:last-child{border-bottom:none}.bundle-src.selected{background:#edf2e6}.bundle-src input[type=checkbox]{width:20px;height:20px;flex:none}.bundle-src .bundle-src-name{flex:1;min-width:0}.bundle-src-name strong{display:block;overflow-wrap:anywhere;font-size:.9rem}.bundle-src-name small{display:block;color:#768075;overflow-wrap:anywhere}.bundle-src input[type=number]{width:67px;flex:none;text-align:center;padding:.45rem}.bundle-sign{margin-top:1rem;background:#f5f1e7;padding:.75rem;border-radius:8px}.bundle-sign input[type=number]{width:85px}
.manual-items{display:grid;gap:.58rem}.manual-line{padding:.65rem;border:1px solid #d4d1bf;border-radius:8px;background:#fffef9}.manual-head{display:flex;justify-content:space-between;gap:.5rem;align-items:center}.manual-head strong{font-size:.87rem}.manual-line .fields-compact{display:grid;grid-template-columns:minmax(110px,1fr) minmax(100px,1fr) 85px;gap:.4rem;margin-top:.45rem}
.manual-line label{font-size:.78rem}.manual-line .fields-compact input{padding:.55rem}.manual-line button{padding:.35rem .5rem;min-height:34px}.row-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin:.8rem 0}.paste-label{margin-top:1rem}.paste-label textarea{min-height:108px}
.bundle-review{border-color:#b2be9e}.review-grid{display:grid;grid-template-columns:minmax(250px,1fr) minmax(200px,.8fr);gap:1.4rem}.review-grid h3{font:600 1.07rem Georgia,serif}
.review-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:.4rem 0;border-bottom:1px dashed #d6dacb;padding-bottom:.35rem}.review-row strong{color:#304a30}.review-total{font-size:1.2rem;font-weight:700;color:#304a30;margin-top:.8rem}.review-short{color:#9a502e;font-weight:650;font-size:.88rem}.review-ok{color:#316b38;font-weight:650;font-size:.88rem}.bundle-review .wide{margin:1.5rem 0 1rem}.bundle-review button[type=button]{width:min(100%,450px)}
#success{border-color:#aac49c;background:#eef5e9}.success-cta{display:inline-flex;padding:.6rem 1rem;background:#29472e;border-radius:8px;color:white;text-decoration:none;font-weight:600}.success-cta:hover{color:white;background:#486b40}
@media(max-width:720px){.review-grid{grid-template-columns:1fr}.manual-line .fields-compact{grid-template-columns:1fr 1fr}.manual-line .fields-compact label:nth-child(3){grid-column:1/-1}.bundle-src input[type=number]{width:64px}}
