/* Settings workspace: clear single-column sections, existing controls and behavior preserved. */
html[data-ui-style="executive"][data-theme] #page-settings.active {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  align-content:start;
  align-items:start;
  gap:14px;
  max-width:1180px;
  margin-inline:auto;
}
html[data-ui-style="executive"][data-theme] #page-settings > .settings-intro {
  grid-column:1;
  min-height:0;
  margin:0;
  padding:22px 24px !important;
  border:1px solid var(--border);
  border-radius:18px;
  background:linear-gradient(105deg,var(--surface),color-mix(in srgb,var(--accent) 7%,var(--surface)));
  box-shadow:var(--shadow);
}
html[data-ui-style="executive"][data-theme] #page-settings > .settings-intro h2 {margin:3px 0 4px;font-size:clamp(21px,2vw,27px)}
html[data-ui-style="executive"][data-theme] #page-settings > .settings-intro p {max-width:720px;margin:0;font-size:13px}
html[data-ui-style="executive"][data-theme] #page-settings > .settings-tabs-140 {
  grid-column:1;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  width:100%;
  margin:0;
  padding:8px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface);
  box-shadow:var(--shadow);
}
html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 button {
  min-height:40px;
  padding:9px 14px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:var(--muted);
  font:inherit;
  font-size:12px;
  font-weight:650;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}
html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 button:hover {
  border-color:var(--border);
  background:var(--surface-2);
  color:var(--text);
}
html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 button.active {
  border-color:color-mix(in srgb,var(--accent) 24%,var(--border));
  background:color-mix(in srgb,var(--accent) 12%,var(--surface));
  color:var(--accent);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 8%,transparent);
}
html[data-ui-style="executive"][data-theme] #page-settings > #generalSettingsPanel,
html[data-ui-style="executive"][data-theme] #page-settings > .settings-box,
html[data-ui-style="executive"][data-theme] #page-settings > #systemUpdatePanel {
  grid-column:1;
  width:min(100%,960px);
  margin:0 auto !important;
}
html[data-ui-style="executive"][data-theme] #page-settings > #generalSettingsPanel {
  padding:24px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--surface);
  box-shadow:var(--shadow);
}
html[data-ui-style="executive"][data-theme] #page-settings > .settings-box {
  padding:22px 24px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--surface);
  box-shadow:var(--shadow);
}
html[data-ui-style="executive"][data-theme] #page-settings > :is(#generalSettingsPanel,.settings-box,#systemUpdatePanel) :is(h2,h3) {margin-top:4px}
html[data-ui-style="executive"][data-theme] #page-settings .settings-box > .muted {max-width:760px;line-height:1.55}
html[data-ui-style="executive"][data-theme] #page-settings .settings-profile-grid {grid-template-columns:minmax(170px,220px) minmax(0,1fr);gap:24px}
html[data-ui-style="executive"][data-theme] #page-settings .profile-avatar-box {gap:12px}
html[data-ui-style="executive"][data-theme] #page-settings .settings-general-form {max-width:620px;display:grid;gap:7px}
html[data-ui-style="executive"][data-theme] #page-settings .settings-general-form label {margin-top:5px;font-size:12px}
html[data-ui-style="executive"][data-theme] #page-settings .settings-general-form :is(input,select) {min-height:42px;padding:10px 12px;border-radius:10px}
html[data-ui-style="executive"][data-theme] #page-settings #systemUpdatePanel .card {padding:22px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}
html[data-ui-style="executive"][data-theme] #page-settings :is(#runtimeControlQueues,#runtimeControlMessage,#passwordMessage,#generalSettingsMessage) {overflow-wrap:anywhere}
@media(max-width:820px) {
  html[data-ui-style="executive"][data-theme] #page-settings .settings-profile-grid {grid-template-columns:1fr;gap:16px}
  html[data-ui-style="executive"][data-theme] #page-settings .settings-general-form {max-width:none}
}
@media(max-width:620px) {
  html[data-ui-style="executive"][data-theme] #page-settings.active {gap:10px;padding-bottom:20px}
  html[data-ui-style="executive"][data-theme] #page-settings > .settings-intro {padding:17px !important;border-radius:14px}
  html[data-ui-style="executive"][data-theme] #page-settings > .settings-tabs-140 {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px}
  html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 button {min-width:0;min-height:42px;padding:8px 7px;white-space:normal;font-size:11px;line-height:1.25}
  html[data-ui-style="executive"][data-theme] #page-settings > #generalSettingsPanel,
  html[data-ui-style="executive"][data-theme] #page-settings > .settings-box,
  html[data-ui-style="executive"][data-theme] #page-settings > #systemUpdatePanel {width:100%}
  html[data-ui-style="executive"][data-theme] #page-settings > #generalSettingsPanel,
  html[data-ui-style="executive"][data-theme] #page-settings > .settings-box {padding:17px}
  html[data-ui-style="executive"][data-theme] #page-settings #systemUpdatePanel .card {padding:17px}
}
@media(prefers-reduced-motion:reduce) {
  html[data-ui-style="executive"][data-theme] #page-settings .settings-tabs-140 button {transition:none}
}
