.premium-form { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr)); gap:14px; align-items:end; margin:18px 0; }
.premium-form label { display:grid; gap:6px; min-width:0; }
.premium-form input,.premium-form select { width:100%; min-width:0; padding:10px; border:1px solid #bac7cc; border-radius:4px; background:#fff; color:#202d32; font:inherit; }
.premium-form p,.premium-form .purchase-actions { grid-column:1/-1; }
.premium-form .purchase-actions { display:flex; flex-wrap:wrap; gap:10px; }
body:has(.premium-form) .management-record { padding:18px; margin:14px 0; overflow-wrap:anywhere; }
body:has(.premium-form) .management-record h3 { font-size:17px; margin:0 0 12px; }
.premium-member { border-top:1px solid #dfe5e7; padding:14px 0; }
.nav-category { padding:16px 12px 4px; color:#687780; font-size:12px; }
.admin-sidebar { min-width:0; }
.subscription-route { border-top:1px solid #dfe5e7; margin-top:16px; padding-top:16px; }
.subscription-route .row { flex-wrap:wrap; gap:10px; }
.route-modes { display:flex; flex-wrap:wrap; gap:12px; margin:14px 0; padding:12px; border:1px solid #c7d2d8; border-radius:4px; }
.route-modes label { display:flex; align-items:center; gap:6px; }
.route-modes input { width:auto; }
.route-lock { color:#705019; font-weight:600; }
.route-workspace h2 { font-size:20px; margin:0; }
.route-workspace .record-head { align-items:center; }
.route-workspace .record-head h3 { margin-bottom:4px; }
.route-workspace .record-facts { grid-template-columns:repeat(3,minmax(0,1fr)); }
.route-editor { border-top:1px solid #dfe5e7; padding:12px 0; }
.route-editor summary { cursor:pointer; font-weight:600; color:#265a70; }
.route-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:12px 0 0; }
.route-actions form { margin:0; }
.route-search { grid-template-columns:minmax(0,1fr) auto auto; margin-top:0; }
.relay-record > .record-facts.relay-summary { grid-template-columns:repeat(4,minmax(0,1fr)); }
.relay-record .relay-edit-form { grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); }
.relay-command-row,.relay-deploy-row { flex-wrap:wrap; }
.route-workspace .button,.relay-record .button { white-space:normal; overflow-wrap:anywhere; }
.premium-member .status { margin-left:10px; }
.pagination .page-number { min-width:34px; height:34px; display:inline-grid; place-items:center; border:1px solid #bcc7cf; border-radius:4px; color:#20323a; text-decoration:none; }
.pagination .page-number.current { color:#fff; background:#b4232f; border-color:#b4232f; font-weight:700; }
.page-jump { display:flex; align-items:center; gap:7px; }
.page-jump label { display:flex; align-items:center; gap:6px; }
.page-jump input { width:72px; padding:8px; border:1px solid #bcc7cf; border-radius:4px; }
@media(max-width:980px) { .admin-nav .nav-category { display:none; } }
@media(max-width:600px) { .route-workspace .record-facts,.relay-record > .record-facts.relay-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } .route-search { grid-template-columns:1fr; } }
@media(max-width:600px) { body:has(.premium-form) .page-heading { flex-wrap:wrap; gap:14px; } .premium-form .button { white-space:normal; } }
