/* Smart Group Scheduling, scoped to the Tunnel Admin. */
body[data-admin="1"] .smart-schedule-panel {margin-top:20px}
body[data-admin="1"] .smart-schedule-panel .smart-profile-fields,
body[data-admin="1"] .smart-schedule-panel .smart-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body[data-admin="1"] .smart-schedule-panel .smart-custom-details{margin:18px 0 0;border:1px solid #e2e5e8;border-radius:10px;padding:15px;background:#fafbfc}
body[data-admin="1"] .smart-schedule-panel summary{cursor:pointer;font-weight:800;padding:3px 0}
body[data-admin="1"] .smart-schedule-panel .smart-custom-row{margin-top:14px;border-top:1px solid #e2e5e8;padding-top:14px}
body[data-admin="1"] .smart-schedule-panel .smart-custom-row>strong{display:block;margin-bottom:10px}
body[data-admin="1"] .smart-schedule-panel .smart-rule-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
body[data-admin="1"] .smart-schedule-panel .smart-rule-grid>.field{min-width:0}
body[data-admin="1"] .smart-schedule-panel input,body[data-admin="1"] .smart-schedule-panel select{width:100%;min-width:0}
body[data-admin="1"] .smart-schedule-panel .smart-profile-actions{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:18px}
body[data-admin="1"] .smart-schedule-panel .smart-profile-actions .field{flex:1 1 240px;margin:0}
body[data-admin="1"] .smart-lock-select{min-width:155px;max-width:100%;font-size:12px;padding:7px}
body[data-admin="1"] .smart-reason{display:block;font-size:11px;color:#707984;margin-top:5px;line-height:1.4}
@media(max-width:1120px){body[data-admin="1"] .smart-schedule-panel .smart-rule-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){body[data-admin="1"] .smart-schedule-panel .smart-profile-fields,body[data-admin="1"] .smart-schedule-panel .smart-rule-grid{grid-template-columns:minmax(0,1fr)}body[data-admin="1"] .smart-schedule-panel .smart-profile-actions>button{width:100%}}
