.etc-workspace {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  box-sizing: border-box;
  padding: 12px 24px;
  border-bottom: 1px solid #dce2ea;
  background: #fafbfc;
  color: #25334a;
  font: 13px/1.4 Arial, sans-serif;
  letter-spacing: 0;
}
.etc-workspace *, .etc-workspace *::before, .etc-workspace *::after { box-sizing: border-box; }
.etc-workspace .etc-brand { margin: 0; color: #17243b; font-size: 15px; font-weight: 750; white-space: nowrap; }
.etc-workspace .etc-brand::after { display: block; width: 30px; height: 3px; margin-top: 5px; background: #f9bd24; content: ''; }
.etc-workspace nav { display: flex; gap: 4px; padding: 4px; border: 1px solid #dfe4ed; border-radius: 8px; background: #edf0f5; }
.etc-workspace nav a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 15px; border-radius: 5px; color: #5b677a; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.etc-workspace nav a:hover { color: #214fb3; background: #ffffffa6; }
.etc-workspace nav a[aria-current="page"] { color: #204fb5; background: white; box-shadow: 0 1px 4px #142c4820; }
.etc-workspace svg { width: 17px; height: 17px; flex-shrink: 0; }
.etc-workspace details { position: relative; margin: 0 0 0 auto; padding: 0; border: 0; background: transparent; }
.etc-workspace summary { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 10px; border-radius: 6px; color: #536177; font-size: 13px; font-weight: 600; list-style: none; cursor: pointer; }
.etc-workspace summary::-webkit-details-marker { display: none; }
.etc-workspace summary:hover, .etc-workspace details[open] summary { background: #edf0f5; }
.etc-workspace .etc-settings-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 265px; padding: 8px; border: 1px solid #dce2ea; border-radius: 8px; background: white; box-shadow: 0 10px 30px #17243b20; }
.etc-workspace .etc-settings-panel a { display: flex; align-items: center; gap: 10px; padding: 11px 10px; border-radius: 5px; color: #263b5a; font-size: 13px; font-weight: 500; text-decoration: none; }
.etc-workspace .etc-settings-panel a:hover { background: #f0f4fb; }
.etc-workspace a:focus-visible, .etc-workspace summary:focus-visible { outline: 3px solid #83aaff; outline-offset: 3px; }
@media (max-width: 950px) { .etc-workspace { gap: 14px; } .etc-workspace .etc-brand { font-size: 13px; } .etc-workspace nav a { padding: 8px 10px; } }
@media (max-width: 700px) {
  .etc-workspace { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .etc-workspace .etc-brand { flex: 1; }
  .etc-workspace details { order: 0; }
  .etc-workspace nav { order: 1; width: 100%; }
  .etc-workspace nav a { flex: 1; min-width: 0; gap: 6px; padding: 9px 5px; font-size: 11px; white-space: normal; text-align: center; }
  .etc-workspace nav svg { width: 15px; height: 15px; }
  .etc-workspace .etc-settings-panel { top: calc(100% + 8px); width: min(265px, calc(100vw - 24px)); }
}
@media print { .etc-workspace { display: none !important; } }
