.jgsw{margin:8px 0}
.jgsw__trigger{display:block;width:100%;text-align:center;font-size:15px;font-weight:600;padding:10px 16px;border:1px solid #007ab7;border-radius:30px;background:#fff;color:#007ab7;cursor:pointer;transition:background .15s,color .15s}
.jgsw__trigger:hover{background:#007ab7;color:#fff}
.jgsw__body{margin-top:8px}

.jgsw__cp-prompt{margin-bottom:10px;padding:12px 10px;background:#f8f9fa;border-radius:8px;text-align:center}
.jgsw__cp-label{display:block;margin-bottom:8px;font-size:15px;font-weight:600;color:#444;line-height:1.4}
.jgsw__cp-input-row{display:flex;align-items:center;justify-content:center;gap:8px}
.jgsw__cp-input{width:180px;font-size:18px;text-align:center}
.jgsw__cp-hint{font-size:13px;color:#999}

.jgsw__cp-display{margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid #e2e5e8}
.jgsw__cp-text{display:block;font-size:16px;line-height:1.4}
.jgsw__cp-text strong{font-size:17px;font-weight:700;color:#333}
.jgsw__cp-text span.jgsw__cp-secondary{font-weight:400;color:#777}
.jgsw__cp-link{font-weight:700;color:#007ab7;text-decoration:underline;cursor:pointer}
.jgsw__cp-link:hover{color:#005a8a}
.jgsw__cp-change{font-size:13px;color:#337ab7;cursor:pointer;text-decoration:none}
.jgsw__cp-change:hover{text-decoration:underline}

.jgsw__loading{font-size:15px;color:#777;padding:8px 0}
.jgsw__error{font-size:15px;color:#c53030;padding:8px 0}
.jgsw__empty{font-size:15px;color:#777;padding:8px 0}

.jgsw__store-list{display:flex;flex-direction:column;gap:8px}
.jgsw__store{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border:1px solid #e2e5e8;border-radius:6px;background:#fff;border-left:4px solid #e2e5e8}
.jgsw__store--available{border-left-color:#007ab7}
.jgsw__store--last_units{border-left-color:#e67e22}
.jgsw__store--unavailable{border-left-color:#ccc}
.jgsw__store--unknown{border-left-color:#bcc4cc}
.jgsw__store-info{flex:1 1 auto;min-width:0}
.jgsw__store-name{font-size:16px;font-weight:700;color:#333;line-height:1.3;display:flex;align-items:center;gap:6px}
.jgsw__store-name-text{flex:1 1 auto;min-width:0}
.jgsw__type-icon{flex:0 0 auto;color:#007ab7}
.jgsw__store-address{font-size:14px;color:#777;line-height:1.3;margin-top:2px}
.jgsw__directions{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-size:14px;color:#337ab7;cursor:pointer;text-decoration:underline}
.jgsw__directions:hover{color:#286090}
.jgsw__directions svg{flex:0 0 auto}
.jgsw__store-badge{flex:0 0 auto}

.jgsw__badge{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:5px 10px;border-radius:10px;font-size:13px;font-weight:600;text-align:center;line-height:1.2;max-width:110px;overflow-wrap:break-word}
.jgsw__badge svg{flex:0 0 auto;width:20px;height:20px;stroke-width:3}
.jgsw__badge--available{background:#e6f0fa;color:#007ab7}
.jgsw__badge--last{background:#fff4e6;color:#e67e22}
.jgsw__badge--unavailable{background:#f5f5f5;color:#999}
.jgsw__badge--unknown{background:#eef0f2;color:#666}

.jgsw__store-list--more[hidden]{display:none}
.jgsw__more{display:block;width:100%;text-align:center;font-size:14px;font-weight:600;padding:8px 14px;margin-top:8px;border:1px solid #d1d5db;border-radius:20px;background:#f9fafb;color:#4b5563;cursor:pointer;transition:background .15s}
.jgsw__store-list--more{margin-top:8px}
.jgsw__more:hover{background:#eef0f2}
