/* V3.4 study customization, calendar and cloud health */
.study-customize-heading{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:4px 0 14px}
.study-customize-heading>span{color:var(--study-muted,#657691);font-size:12px}
.study-customize-heading button,.v34-customize-panel button,.v34-sync-details~button{
 background:var(--study-surface,#f7f9ff);border:1px solid #b5c9ed;color:var(--study-text,#1c3f7b);
 border-radius:10px;padding:9px 12px;font-weight:700;cursor:pointer}
.v34-customize-panel{margin:0 0 20px;padding:16px;border:1px solid var(--study-border,#d9e4f5);
 border-radius:15px;background:var(--study-surface,#fff);box-shadow:0 4px 20px rgba(41,80,124,.07)}
.v34-customize-panel[hidden]{display:none!important}
.v34-customize-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.v34-widget-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v34-widget-option{display:flex;justify-content:space-between;align-items:center;gap:8px;
 background:var(--study-surface-soft,#f2f6fc);border:1px solid var(--study-border,#dae4f2);
 border-radius:10px;padding:8px 10px}
.v34-widget-option label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}
.v34-widget-option label input{width:16px;height:16px}
.v34-widget-arrows{display:flex;gap:4px}
.v34-widget-arrows button{padding:5px 9px;font-size:14px}
.v34-widget-arrows button:disabled{opacity:.35;cursor:not-allowed}
.v34-calendar-settings{padding:12px;border:1px solid var(--study-border,#d8e4f4);border-radius:12px}
.v34-calendar-settings>summary{cursor:pointer;font-size:13px;font-weight:750}
.v34-calendar-settings form{padding-top:14px;margin-top:12px;border-top:1px solid var(--study-border,#e1e7f2)}
.v34-calendar-settings input[type=color]{min-height:36px;padding:3px}
.v33-cal-task[draggable=true]{cursor:grab;touch-action:auto}
.v33-cal-task[draggable=true]:active{cursor:grabbing}
.v34-sync-details{display:grid;gap:7px;font-size:12px;line-height:1.4;color:var(--study-muted,#5f748b)}
.v34-sync-details p{margin:0}
#v34SyncHeadline{font-weight:750;color:var(--study-text,#214467)}
@media(max-width:650px){.v34-widget-options{grid-template-columns:1fr}.study-customize-heading>span{font-size:11px}}
[data-theme=dark] .v34-customize-panel,[data-theme=dark] .v34-calendar-settings{background:#172642;border-color:#405678}
[data-theme=dark] .v34-widget-option{background:#1c3155;border-color:#405678}
