/* JoyJoy V482 — stable compact Shieldy timer editor and isolated live preview. */
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-layout{
  grid-template-columns:minmax(0,1.28fr) minmax(320px,.72fr)!important;
  gap:14px!important;
  align-items:start!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-editor{
  gap:10px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  grid-auto-rows:auto!important;
  align-content:start!important;
  align-items:start!important;
  gap:5px!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>label,
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>.field-hint,
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>.shieldy-banner-status-v476{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  display:block!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  line-height:1.35!important;
  white-space:normal!important;
  overflow:visible!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>:is(input:not([type="color"]),select,textarea),
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>.color-field,
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>.timer-datepicker{
  position:static!important;
  transform:none!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>:is(input:not([type="color"]),select){
  height:46px!important;
  min-height:46px!important;
  padding:0 13px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .custom-delivery-field>textarea{
  height:auto!important;
  min-height:68px!important;
  padding:11px 13px!important;
  resize:vertical!important;
  overflow:auto!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .timer-message-field{
  grid-template-areas:"label" "hint" "control"!important;
  row-gap:6px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .timer-message-field>label{grid-area:label!important}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .timer-message-field>.field-hint{grid-area:hint!important}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-card .timer-message-field>textarea{
  grid-area:control!important;
  min-height:92px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-subfeature-head{
  min-height:0!important;
  padding:10px 12px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-subfeature-body{
  gap:9px!important;
  min-height:0!important;
  padding:11px 12px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476{
  display:grid!important;
  grid-template-columns:minmax(145px,.7fr) minmax(210px,1.3fr)!important;
  grid-auto-rows:auto!important;
  align-items:start!important;
  align-content:start!important;
  gap:9px 10px!important;
  min-height:0!important;
  margin:0!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476>.field{
  min-height:0!important;
  margin:0!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476 .timer-full-row,
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476 .shieldy-banner-field-v476{
  grid-column:1/-1!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476 .timer-button-url-field{
  grid-column:auto!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476 #custom-timer-description{
  min-height:62px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-control-v476{
  grid-template-columns:minmax(0,1fr) auto auto!important;
  gap:7px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-control-v476 :is(input,button){
  min-height:42px!important;
  height:42px!important;
}

/* The timer preview is isolated from generic field/card styles. */
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-preview{
  position:sticky!important;
  top:14px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-self:start!important;
  gap:10px!important;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  opacity:1!important;
  visibility:visible!important;
  background:var(--shieldy-tools-surface,var(--account-surface,#fff))!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-lolka-preview,
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-lolka-preview .lolka-preview-chat-area,
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-preview-message{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:auto!important;
  opacity:1!important;
  visibility:visible!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-lolka-preview .lolka-preview-chat-area{
  min-height:210px!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] #custom-timer-preview-plain:not([hidden]){
  display:block!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] #custom-timer-preview-embed:not([hidden]){
  display:grid!important;
}
body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] #custom-timer-preview-buttons:not([hidden]){
  display:flex!important;
}

@media(max-width:1100px){
  body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-layout{
    grid-template-columns:1fr!important;
  }
  body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-message-timer-preview{
    position:static!important;
  }
}
@media(max-width:760px){
  body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .timer-customization-grid-v476,
  body[data-account-page="bots"] #panel-bot-control [data-module-panel="sh-other"] .shieldy-banner-control-v476{
    grid-template-columns:1fr!important;
  }
}
