.studio-content #notification-settings[hidden],.studio-content #cloud-workspace[hidden]{display:none}
.studio-content #workspace-settings{font-size:12px;min-height:36px;padding:7px 12px}
.studio-content #workspace-settings[aria-expanded=true]{background:var(--ui-soft);border-color:#bdceb5;color:var(--ui-accent)}
.notification-settings{max-width:1080px}.notification-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin:8px 0 22px}
.notification-heading h3{font-size:23px;font-weight:650;margin:7px 0}.notification-heading p{font-size:13px;color:var(--ui-muted);margin:0}
.notification-card{padding:22px 24px;background:#fff;border:1px solid var(--ui-line);border-radius:10px;margin:0 0 18px}
.notification-card h4{font-size:16px;font-weight:650;margin:0 0 12px}.notification-card p{font-size:12px;line-height:1.7;color:var(--ui-muted)}
.notification-status{display:flex;gap:40px;margin:18px 0}.notification-status dt{font-size:11px;color:var(--ui-muted)}.notification-status dd{margin:5px 0 0;font-size:13px;font-weight:600}
.notification-actions{display:flex;flex-wrap:wrap;gap:8px}.studio-content .notification-actions .auth-primary,.studio-content .notification-settings form .auth-primary{width:auto;min-width:130px}
.studio-content .notification-settings .notification-check{display:flex;align-items:center;gap:9px;margin:8px 0;min-height:34px;font-size:13px}
.notification-check input[type=checkbox]{accent-color:var(--ui-accent);width:16px;height:16px;flex:none}
.notification-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:540px;gap:16px;margin:12px 0}
.notification-fields label{display:grid;gap:6px;min-width:0}.notification-fields input,.notification-fields select{width:100%;min-width:0}
.notification-history-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.notification-history-heading h4{margin:0}
.notification-history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-top:1px solid #edf0e9}
.notification-history-row strong{display:block;font-size:13px;font-weight:600}.notification-history-row small{display:block;font-size:11px;color:var(--ui-muted);margin:5px 0}.notification-history-row span{font-size:11px;color:#69756b}
.notification-card details{font-size:12px;margin-top:15px}.notification-card [data-diagnostics]{margin:12px 0;line-height:1.8;overflow-wrap:anywhere}
.notification-settings>[data-status]{font-size:13px;line-height:1.7;margin:14px 0;color:var(--ui-accent)}
[data-notification-devices] {
  border-top: 1px solid var(--ui-line);
  border-bottom: 1px solid var(--ui-line);
}
[data-notification-devices] > summary {
  padding: 13px clamp(16px, 2vw, 24px);
  color: var(--ui-accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
[data-notification-devices] > summary:focus-visible {
  outline: 2px solid var(--ui-accent);
  outline-offset: -2px;
}
[data-notification-devices] > .notification-card {
  margin: 0;
  border: 0;
  border-radius: 0;
}
@media(max-width:760px){
 .studio-content #workspace-settings{min-height:44px}.notification-heading{gap:12px}.notification-heading h3{font-size:21px}.notification-heading p{font-size:12px}
 .notification-card{padding:18px 15px;border-radius:9px;margin-bottom:15px}.notification-card h4{font-size:15px}.notification-card p{font-size:11px}
 .notification-status{gap:22px}.notification-actions>.auth-primary{flex-basis:100%;min-height:44px}.notification-actions>.auth-secondary{flex:1;min-height:44px}
 .studio-content .notification-settings .notification-check{font-size:13px;min-height:40px}.notification-fields{gap:10px}.studio-content .notification-fields input,.studio-content .notification-fields select{font-size:16px}
 .notification-heading>.auth-secondary,.notification-history-row>.auth-secondary{min-height:44px;white-space:nowrap}
 .notification-history-row{gap:12px}.notification-history-row>div{min-width:0;overflow-wrap:anywhere}.notification-history-row strong{font-size:12px}
 .studio-content .notification-settings form .auth-primary{min-height:44px;width:100%}
}

.system-notice {
  margin: 0 0 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid #ded1bf;
  border-radius: 12px;
  background: #fbf3e9;
  color: #372c25;
}
.system-notice p {
  margin: .45rem 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
