.af-page{box-sizing:border-box;width:100%;max-width:430px;margin:0 auto 18px;min-width:0;color:#42576b;font-size:12px;line-height:1.75}
.af-stores{display:flex;flex-wrap:wrap;gap:5px;padding:10px 8px;margin:0 0 14px;border-radius:10px;background:#f0f5f5}
.af-stores button,.af-summary button{border:0;border-radius:6px;background:transparent;color:#658079;padding:6px 8px;min-height:34px;font:inherit;cursor:pointer}
.af-stores button.active,.af-summary button.active{background:#deedef;color:#2c7c96}
.af-summary{display:flex;flex-wrap:wrap;gap:3px;margin:12px 0;padding:7px;background:#eef5f0;border-radius:8px}.af-summary button{display:flex;gap:4px;align-items:center;flex-wrap:wrap;padding:5px;font-size:11px}.af-summary b{font-weight:500;color:#ac6356}
.af-search{margin:12px 0!important;width:100%;max-width:100%;box-sizing:border-box}.af-search input{min-width:0;flex:1}.af-search button{flex-shrink:0}
.af-table{margin:12px 0}.af-row{display:grid;grid-template-columns:30px 65px minmax(60px,1fr) 42px;align-items:center;gap:5px;width:100%;padding:10px 6px;box-sizing:border-box;border:0;border-bottom:1px solid #edf1f4;background:transparent;text-align:left;color:inherit;font:inherit}
.af-row>*,.af-withdraw-row>*{min-width:0;overflow-wrap:anywhere}.af-row button,.af-withdraw-row button{border:0;background:transparent;padding:5px 0;color:#39829f;font:inherit;cursor:pointer;min-height:32px}.af-row.selected{background:#e7f2ec}.af-head{color:#8a9e9b;background:#f0f5f0;font-size:11px}.af-row b{font-weight:500;color:#b77866}
.af-staff-table .af-row{grid-template-columns:55px 53px minmax(40px,1fr) 85px;font-size:11px;gap:4px}.af-staff-table button.af-row{cursor:pointer}.af-staff-table .af-row span:last-child{font-size:10px}
.af-note{font-size:11px;line-height:1.85;color:#83968f;margin:12px 0}.af-error{color:#b2424d;font-size:12px}.af-error:empty{display:none}
.af-record{padding:12px;margin:10px 0;background:#f4f7f8;border:1px solid #e4ebef;border-radius:8px;overflow-wrap:anywhere}.af-record p{margin:5px 0}
.af-tag-choices{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.af-tag-choices label{display:flex;align-items:center;gap:5px;padding:7px 9px;border:1px solid #dee8eb;border-radius:7px;background:#f4f8fb}.af-tag-choices input{width:16px;height:16px;accent-color:#367996}
.af-withdraw-row{display:grid;grid-template-columns:26px 46px minmax(44px,1fr) 31px 20px 42px;align-items:center;gap:3px;font-size:11px;padding:9px 2px;border-bottom:1px solid #e9eff2}.af-withdraw-row:has(>span:first-child:nth-last-child(5)){grid-template-columns:50px minmax(50px,1fr) 35px 20px 48px}.af-withdraw-row b{font-weight:500;color:#b65a5a}.af-withdraw-row input,.af-select-all input{width:15px;height:15px;margin:0;accent-color:#367996}.af-select-all{display:inline-flex;gap:7px;align-items:center;margin:8px 12px 8px 0}.af-muted{color:#97a2a5!important}
.af-page select{max-width:100%;padding:8px;border:1px solid #dce5eb;border-radius:6px;background:#f7f9fb;color:inherit}.af-page .buttons{flex-wrap:wrap}
.gift-offer-item+.gift-offer-item{border-top:1px solid #e3eaf0;padding-top:18px;margin-top:18px}.gift-settings-heading{font-size:16px;margin:18px 0 12px}
.af-tag-selected{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0;color:#8a9e9b}.af-tag-selected button,.af-tag-overview button{font:inherit;border:1px solid #dce8eb;border-radius:6px;padding:7px 9px;color:#397a91;background:#f0f6f8}.af-tag-overview b{color:#bc5666}.af-tag-overview{margin:20px 0;border-top:1px solid #e4eced;padding-top:10px}
.sa-profile,.sa-gift-form{padding:14px;border:1px solid #e2e9ec;border-radius:10px;background:#fff;margin:14px 0}.sa-gift-image{display:block;max-width:100%;width:auto;max-height:220px;object-fit:contain;margin:10px auto;border-radius:8px}.sa-page input[type=file]{box-sizing:border-box;max-width:100%;font-size:11px}.sa-page .gift-list-tools{flex-wrap:wrap;gap:6px;margin:18px 0}.sa-page .gift-list-tools button{padding:7px}.sa-list-heading,.sa-supplier-title{display:flex;justify-content:space-between;gap:8px;align-items:center}.sa-supplier-row{border:1px solid #e2e9ec;border-radius:9px;margin:10px 0;padding:12px;background:#fff;overflow-wrap:anywhere}.sa-supplier-details{display:flex;flex-wrap:wrap;gap:5px 12px;margin:8px 0;color:#768b92}.sa-supplier-details span:last-child{flex-basis:100%}.sa-image-preview{min-width:0}.sa-page form .gift-field{min-width:0}.sa-page textarea{box-sizing:border-box;width:100%}
@media(max-width:350px){.af-staff-table .af-row{grid-template-columns:44px 44px minmax(32px,1fr) 75px;font-size:10px}.af-staff-table .af-row span:last-child{font-size:9px}.af-withdraw-row{font-size:10px;grid-template-columns:22px 43px minmax(36px,1fr) 28px 18px 38px;gap:2px}.af-row{grid-template-columns:25px 55px minmax(50px,1fr) 34px;gap:4px}}
