.reseller-page{min-width:0}.reseller-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.reseller-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.reseller-panel{padding:24px;min-width:0}.reseller-panel h2{font-size:18px;line-height:1.4;font-weight:700;margin:0 0 12px}.reseller-panel p{color:#a9b3aa;font-size:13px;line-height:1.75;margin:0 0 18px}.reseller-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.reseller-actions .ui-button{min-width:0}.reseller-form{display:grid;gap:18px}.reseller-form .ui-label{display:block;margin-bottom:7px}.reseller-form .ui-input{width:100%;min-width:0}.reseller-form textarea{min-height:96px;resize:vertical}.reseller-form .form-error:empty{display:none}.reseller-form-note{font-size:12px;color:#a9b3aa;line-height:1.7}.reseller-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.reseller-stack{display:grid;gap:20px}.reseller-list{display:grid;gap:12px}.reseller-row{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #30392f;padding:16px 0;min-width:0}.reseller-row:first-child{border-top:0;padding-top:0}.reseller-row:last-child{padding-bottom:0}.reseller-row>div{min-width:0}.reseller-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.reseller-row small{display:block;color:#a9b3aa;margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.reseller-table{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.reseller-table table{width:100%;min-width:620px}.reseller-table td{overflow-wrap:anywhere;max-width:300px}.reseller-pager{display:flex;gap:12px;justify-content:flex-end;align-items:center;flex-wrap:wrap;padding-top:18px;color:#a9b3aa;font-size:12px}.reseller-pager span{margin-right:auto}.reseller-note{border:1px solid #43552a;border-radius:6px;background:#192313;padding:16px 18px;color:#d8e6c8;font-size:13px;line-height:1.7;margin-bottom:20px;overflow-wrap:anywhere}.reseller-note.warning{background:#282219;border-color:#5b4b2c;color:#eddfb6}.reseller-note.danger{background:#281b1b;border-color:#593737;color:#edc8c8}.reseller-details{display:grid;grid-template-columns:minmax(100px,.65fr) minmax(0,1fr);gap:12px;font-size:13px;margin:20px 0}.reseller-details dt{color:#a9b3aa}.reseller-details dd{margin:0;overflow-wrap:anywhere}.reseller-secret{width:100%;box-sizing:border-box;background:#080d09;border:1px solid #35402f;border-radius:5px;padding:14px;color:#d8edb9;font:12px/1.8 ui-monospace,monospace;overflow-wrap:anywhere;white-space:pre-wrap;margin:12px 0}.reseller-output{width:100%;min-height:180px;font:12px/1.7 ui-monospace,monospace;resize:vertical}.reseller-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reseller-checks label,.reseller-switch{display:flex;align-items:flex-start;gap:10px;color:#dbe3d6;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.reseller-checks input,.reseller-switch input{margin-top:4px;accent-color:#c6f34a;flex-shrink:0}.reseller-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.reseller-toolbar input{max-width:360px;min-width:0}.reseller-badge{display:inline-flex;align-items:center;border:1px solid #43552a;color:#d5e9af;background:#1d2916;padding:4px 8px;border-radius:4px;font-size:11px;white-space:nowrap}.reseller-badge.inactive{color:#d5c6a3;border-color:#5a5039;background:#272318}.reseller-step{display:flex;align-items:flex-start;gap:14px;margin:20px 0}.reseller-step b{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;background:#25331d;border:1px solid #43552a;border-radius:6px;color:#c6f34a;font-size:12px}.reseller-step p{margin:0}.reseller-status{margin-bottom:20px}.reseller-gate{max-width:760px}.reseller-contact{white-space:pre-wrap}.reseller-spacer{height:24px}.reseller-key-name{font-family:ui-monospace,monospace;overflow-wrap:anywhere}.reseller-pagination-label{font-variant-numeric:tabular-nums}
@media(max-width:1279px){.reseller-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.reseller-grid{grid-template-columns:minmax(0,1fr)}.reseller-panel{padding:20px}.reseller-toolbar{align-items:stretch;flex-direction:column}.reseller-toolbar input{max-width:none}.reseller-toolbar .ui-button{align-self:flex-start}.reseller-row{align-items:flex-start;flex-wrap:wrap}.reseller-details{grid-template-columns:minmax(80px,.65fr) minmax(0,1fr)}}
@media(max-width:420px){.reseller-fields,.reseller-checks{grid-template-columns:minmax(0,1fr)}.reseller-panel{padding:16px}.reseller-metrics{gap:10px}.reseller-metrics .metric-card{padding:14px}.reseller-metrics .metric-value{font-size:24px}.reseller-actions .ui-button{max-width:100%;white-space:normal;text-align:center}.reseller-details{grid-template-columns:minmax(0,1fr);gap:5px}.reseller-details dd{margin-bottom:10px}}
