.smartsheet-rule-row { display:grid; grid-template-columns: minmax(100px,1fr) minmax(120px,1fr); gap:8px; padding:12px 0; border-bottom:1px solid var(--line,#dbe6e1); }
.smartsheet-rule-row > strong { grid-column:1 / -1; overflow-wrap:anywhere; }
.smartsheet-config-card details { margin:12px 0; }
.smartsheet-config-card summary { cursor:pointer; font-weight:600; padding:8px 0; }
.smartsheet-config-card textarea { max-width:100%; overflow-wrap:anywhere; }
.smartsheet-config-card .smartsheet-toggle { display:flex; align-items:flex-start; gap:6px; margin:12px 0; }
.global-settings-form .smartsheet-toggle input[type="checkbox"] { width:18px; height:18px; min-height:18px; padding:0; margin:2px 0 0; flex:0 0 18px; }
.smartsheet-toggle span { min-width:0; flex:1; }
.global-settings-form [hidden] { display:none !important; }
.global-settings-drawer { width:min(720px,100vw); }
#business-smartsheet-configs, #custom-smartsheet-configs { display:grid; gap:18px; min-width:0; }
.smartsheet-config-card, .smartsheet-config-card > *, .smartsheet-config-card .field { min-width:0; }
.smartsheet-config-card input, .smartsheet-config-card select, .smartsheet-config-card textarea { max-width:100%; }
.smartsheet-config-card small, .smartsheet-field-status { overflow-wrap:anywhere; }
.smartsheet-table-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.smartsheet-table-actions .button { width:auto; flex:0 1 auto; white-space:nowrap; }
.smartsheet-config-card .smartsheet-advanced { padding:0 12px 12px; border:1px solid var(--line); border-radius:8px; margin:0; }
.smartsheet-advanced > .field { margin-top:12px; }
.smartsheet-advanced small { display:block; margin-top:10px; }
.smartsheet-config-card .global-settings-actions { display:flex; flex-wrap:wrap; gap:8px; }
.smartsheet-preview { max-height:320px; overflow:auto; margin:12px 0; }
.smartsheet-preview table { border-collapse:collapse; font-size:12px; }
.smartsheet-preview td,.smartsheet-preview th { padding:6px; border:1px solid #dbe6e1; min-width:90px; max-width:240px; overflow-wrap:anywhere; }
.smartsheet-config-heading h4 { min-width:0; overflow-wrap:anywhere; }
.smartsheet-config-heading .button { flex-shrink:0; }
[data-schedule-controls] { margin-top:12px; }
@media (max-width:480px) { .smartsheet-rule-row { grid-template-columns:1fr; } }
