body:has(.workspace-shell:not([hidden])) {
  overflow: hidden;
  background: #eef7f7;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  height: 100svh;
  padding: 0;
  background: #eef7f7;
}

.workspace-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px 12px 14px;
  border-right: 1px solid #dce5e8;
  background: #fff;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 8px;
  color: #101828;
  font-size: 17px;
  font-weight: 900;
}

.sidebar-section-title {
  margin: 28px 10px 9px;
  color: #98a2b3;
  font-size: 11px;
  font-weight: 800;
}

.workspace-sidebar .provider-list {
  display: grid;
  gap: 5px;
}

.workspace-sidebar .provider-card {
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  min-height: 48px;
  padding: 7px 9px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.workspace-sidebar .provider-card::before {
  display: none;
}

.workspace-sidebar .provider-card:hover {
  background: #f3f7f8;
}

.workspace-sidebar .provider-card.active {
  border-color: #caeee9;
  background: #eaf9f6;
  box-shadow: none;
}

.workspace-sidebar .provider-card-mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  font-size: 10px;
}

.workspace-sidebar .provider-card-copy {
  align-content: center;
}

.workspace-sidebar .provider-card-copy span {
  display: none;
}

.sidebar-spacer {
  flex: 1;
}

.sidebar-action,
.sidebar-logout {
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #344054;
  cursor: pointer;
  text-align: left;
}

.sidebar-action {
  min-height: 42px;
  padding: 0 12px;
  font-weight: 800;
}

.sidebar-action:hover {
  background: #f3f7f8;
}

.sidebar-user {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 12px 8px 0;
  border-top: 1px solid #edf0f2;
  color: #667085;
  font-size: 12px;
}

.sidebar-logout {
  min-height: 30px;
  padding: 0;
  color: #98a2b3;
}

.workspace-main {
  display: grid;
  grid-template-rows: 66px minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
}

.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 28px;
  border-bottom: 1px solid #e2eaec;
  background: rgba(255, 255, 255, 0.94);
}

.workspace-title > span {
  display: none;
}

.workspace-title h2 {
  color: #101828;
  font-size: 19px;
  line-height: 1.25;
}

.workspace-title p {
  margin-top: 3px;
  color: #7c8799;
  font-size: 12px;
}

.workspace-header .account {
  display: flex;
  align-items: center;
  gap: 8px;
}

.credit-button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #cdeee9;
  border-radius: 7px;
  background: #effaf8;
  color: #087d76;
  cursor: pointer;
  font-size: 12px;
}

.workspace-scroll {
  min-height: 0;
  overflow-y: auto;
  padding: 24px 28px 40px;
}

.creation-workspace {
  display: grid;
  grid-template-columns: clamp(460px, 30%, 640px) minmax(0, 1fr);
  gap: 20px;
  min-height: calc(100svh - 114px);
}

.generation-settings-panel,
.today-panel {
  position: static;
  display: flex;
  flex-direction: column;
  width: auto;
  min-width: 0;
  height: calc(100svh - 114px);
  min-height: 680px;
  max-height: 860px;
  border: 1px solid #dfe7e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(51, 72, 86, 0.08);
  transform: none;
  pointer-events: auto;
}

.generation-settings-panel {
  overflow-y: auto;
}

.panel-heading,
.history-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading {
  padding: 20px 22px 14px;
}

.panel-heading > div > span,
.history-heading > div > span {
  color: #101828;
  font-size: 16px;
  font-weight: 900;
}

.panel-heading p,
.history-heading p {
  margin-top: 4px;
  color: #8a94a5;
  font-size: 12px;
}

.panel-heading .current-cost {
  position: static;
  flex: 0 0 auto;
}

