/* [project]/apps/web/app/globals.css [app-client] (css) */
:root {
  --accent: #1a73e8;
  --border: #dfe3e8;
  --chrome: #f7f9fb;
  --navy: #102a43;
  --muted: #65758b;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: var(--white);
  color: #17212b;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

button {
  font: inherit;
}

.workbook-shell {
  grid-template-rows: 58px minmax(0, 1fr) 34px;
  height: 100dvh;
  display: grid;
}

.product-bar {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  display: flex;
}

.brand-mark {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-size: 18px;
  font-weight: 800;
  display: flex;
}

.product-bar > strong {
  color: var(--navy);
  font-size: 16px;
}

.product-bar h1 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.divider {
  background: var(--border);
  width: 1px;
  height: 24px;
}

.saved-state {
  color: var(--muted);
  font-size: 12px;
}

.saved-state.has-unsaved-changes {
  color: #b85c00;
  font-weight: 650;
}

.product-actions {
  align-items: center;
  gap: 10px;
  margin-left: auto;
  display: flex;
}

.collaboration-presence {
  position: relative;
}

.collaboration-presence > summary {
  color: #43566f;
  cursor: pointer;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  list-style: none;
  display: flex;
}

.collaboration-presence > summary::-webkit-details-marker {
  display: none;
}

.collaboration-presence > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.presence-avatar-stack {
  padding-left: 5px;
  display: flex;
}

.presence-avatar-stack i, .presence-person > i {
  background: var(--presence-color, #2563eb);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-left: -5px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
}

.presence-popover {
  z-index: 4000;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  gap: 2px;
  min-width: 310px;
  padding: 8px;
  display: grid;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  box-shadow: 0 16px 38px #0f172a33;
}

.presence-popover > header {
  border-bottom: 1px solid #e7ebf0;
  gap: 2px;
  padding: 5px 7px 9px;
  display: grid;
}

.presence-popover > header strong {
  color: var(--navy);
  font-size: 12px;
}

.presence-popover > header span, .presence-popover > p {
  color: var(--muted);
  font-size: 10px;
}

.presence-popover > p {
  margin: 0;
  padding: 14px 7px;
}

.presence-person {
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px 7px;
  display: grid;
}

.presence-person > i {
  border-width: 0;
  margin: 0;
  font-style: normal;
}

.presence-person > span {
  gap: 2px;
  min-width: 0;
  display: grid;
}

.presence-person strong, .presence-person small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.presence-person strong {
  color: #23364f;
  font-size: 11px;
}

.presence-person small {
  color: #56708f;
  font-size: 10px;
}

.product-actions button.presence-person {
  color: inherit;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 6px;
  width: 100%;
  padding: 8px 7px;
}

.product-actions button.presence-person:hover, .product-actions button.presence-person:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: #f3f7fc;
  border-color: #0000;
}

.remote-selection-label {
  color: #fff;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid #ffffffbf;
  border-radius: 4px 4px 4px 0;
  max-width: 150px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 750;
  line-height: 18px;
  display: inline-block;
  overflow: hidden;
  box-shadow: 0 2px 7px #0f172a40;
}

.product-actions button {
  border: 1px solid var(--border);
  cursor: pointer;
  background: #fff;
  border-radius: 5px;
  padding: 7px 11px;
}

.product-actions button:hover, .product-actions button:focus-visible {
  border-color: var(--accent);
  outline: 2px solid color-mix(in srgb, var(--accent) 20%, transparent);
}

.share-button {
  color: var(--navy);
  font-weight: 600;
}

.notification-button {
  position: relative;
}

.notification-button b {
  color: #fff;
  vertical-align: top;
  background: #b3261e;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 17px;
  height: 17px;
  margin: -8px -7px 0 4px;
  padding: 0 4px;
  font-size: 9px;
  display: inline-flex;
}

.avatar-stack {
  display: flex;
}

.avatar {
  border: 2px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  margin-left: -6px;
  font-size: 11px;
  display: inline-flex;
}

.avatar-purple {
  background: #d9c7f7;
}

.avatar-green {
  background: #bfe3cf;
}

.avatar-pink {
  background: #f7c4df;
}

.connected {
  color: #53616f;
  white-space: nowrap;
  font-size: 12px;
}

.connected i {
  background: #34a853;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  display: inline-block;
}

.workspace {
  min-height: 0;
  display: flex;
}

.univer-host {
  flex: 1;
  min-width: 0;
}

.comments-panel {
  border-left: 1px solid var(--border);
  background: #fff;
  width: 292px;
  overflow-y: auto;
}

.comments-heading {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  height: 54px;
  padding: 0 16px;
  display: flex;
}

.comments-heading h2 {
  margin: 0;
  font-size: 16px;
}

.comments-heading button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 22px;
}

.comment {
  border-bottom: 1px solid #edf0f3;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 18px 14px;
  display: grid;
}

.comment-meta {
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  display: flex;
}

.comment-meta span {
  color: #376aa4;
  background: #e8f2ff;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 10px;
}

.comment time {
  color: var(--muted);
  font-size: 10px;
}

.comment p {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.5;
}

.reply {
  border: 1px solid var(--border);
  color: var(--muted);
  text-align: left;
  background: #fff;
  border-radius: 4px;
  width: 100%;
  padding: 8px;
}

.status-bar {
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 30px;
  padding: 0 16px;
  font-size: 11px;
  display: flex;
}

.benchmark {
  color: var(--muted);
  margin-left: auto;
}

.production-editor-shell .brand-mark {
  text-decoration: none;
}

.production-editor-shell .product-actions button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.editor-error {
  color: #46586e;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 12px;
  display: flex;
}

.editor-error strong {
  color: #102a43;
  font-size: 20px;
}

.editor-error a {
  color: #0969f6;
  font-weight: 650;
}

.editor-save-error {
  color: #b3261e;
  font-weight: 650;
}

.workbook-side-panel {
  z-index: 4500;
  background: #fff;
  border-left: 1px solid #cfd7e1;
  flex-direction: column;
  width: min(390px, 100vw);
  height: calc(100dvh - 92px);
  display: flex;
  position: fixed;
  top: 58px;
  right: 0;
  box-shadow: -12px 0 34px #102a4317;
}

.workbook-side-panel > header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  padding: 12px 18px;
  display: flex;
}

.workbook-side-panel > header span {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 750;
}

.workbook-side-panel h2 {
  color: var(--navy);
  margin: 2px 0 0;
  font-size: 19px;
}

.product-actions .workbook-side-panel > header button {
  color: var(--muted);
  border: 0;
  padding: 4px 7px;
  font-size: 25px;
}

.workbook-side-panel-body {
  padding: 16px;
  overflow-y: auto;
}

.side-panel-form {
  background: #f7f9fb;
  border: 1px solid #dfe3e8;
  border-radius: 8px;
  gap: 11px;
  padding: 13px;
  display: grid;
}

.side-panel-form label {
  color: #46586e;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.side-panel-form input, .side-panel-form textarea, .reply-form input {
  color: #17263b;
  font: inherit;
  resize: vertical;
  background: #fff;
  border: 1px solid #b9c4d1;
  border-radius: 5px;
  width: 100%;
  min-height: 38px;
  padding: 8px 9px;
}

.side-panel-form select, .member-actions select {
  color: #17263b;
  font: inherit;
  background: #fff;
  border: 1px solid #b9c4d1;
  border-radius: 5px;
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
}

.side-panel-tabs {
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  display: flex;
}

.product-actions .side-panel-tabs button {
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid #0000;
  border-radius: 0;
  padding: 9px 13px;
  font-weight: 700;
}

.product-actions .side-panel-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--navy);
}

.form-list {
  display: grid;
}

.form-list article {
  border-top: 1px solid var(--border);
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  padding: 12px 0;
  display: grid;
}

.form-list article > div {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.form-list strong {
  text-overflow: ellipsis;
  font-size: 12px;
  overflow: hidden;
}

.form-list small {
  color: var(--muted);
  font-size: 9px;
}

.form-list a {
  color: #245c9d;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
}

.product-actions .form-list button {
  color: #a12720;
  padding: 4px 6px;
  font-size: 9px;
}

.form-builder {
  gap: 12px;
  display: grid;
}

.form-builder > label {
  color: #46586e;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.form-builder input, .form-builder textarea, .form-builder select {
  font: inherit;
  border: 1px solid #b9c4d1;
  border-radius: 5px;
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
}

.form-builder > p {
  color: var(--muted);
  margin: 0;
  font-size: 10px;
}

.form-builder section {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.form-builder section > header {
  background: #f7f9fb;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  display: flex;
}

.form-builder section > header strong {
  font-size: 11px;
}

.product-actions .form-builder section > header button {
  color: #245c9d;
  padding: 4px 6px;
  font-size: 9px;
}

.form-builder section article {
  border-top: 1px solid var(--border);
  grid-template-columns: 1fr 1fr 58px 95px auto;
  align-items: center;
  gap: 6px;
  padding: 9px;
  display: grid;
}

.form-builder section article input, .form-builder section article select {
  min-height: 32px;
  padding: 4px 6px;
  font-size: 10px;
}

.form-builder section article > input:nth-of-type(4) {
  grid-column: 1 / -1;
}

.form-required {
  align-items: center;
  gap: 4px;
  font-size: 9px;
  display: flex;
}

.form-required input {
  height: 14px;
  width: 14px !important;
  min-height: 0 !important;
}

.product-actions .form-builder section article > button {
  color: #a12720;
  border: 0;
  padding: 3px;
}

.product-actions .form-builder > .primary-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  justify-self: end;
  font-weight: 750;
}

.public-form-shell {
  background: #eef3f8;
  height: 100dvh;
  padding-bottom: 48px;
  overflow-y: auto;
}

.public-form-shell > header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 0 24px;
  display: flex;
}

.public-form-shell > header a {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
}

.public-form-shell > section {
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 12px;
  width: min(620px, 100% - 32px);
  margin: 42px auto;
  padding: 30px;
  box-shadow: 0 14px 40px #102a4314;
}

.public-form-shell > section > span {
  color: #376aa4;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.public-form-shell h1 {
  color: var(--navy);
  margin: 5px 0 8px;
  font-size: 28px;
}

.public-form-shell section > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.public-form-shell form {
  gap: 17px;
  margin-top: 26px;
  display: grid;
}

.public-form-shell form > label:not(.public-checkbox) {
  color: #34465d;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.public-form-shell input, .public-form-shell select {
  font: inherit;
  border: 1px solid #aebaca;
  border-radius: 6px;
  min-height: 43px;
  padding: 8px 10px;
}

.public-form-shell input:focus, .public-form-shell select:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px #1a73e824;
}

.public-checkbox {
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.public-checkbox input {
  accent-color: var(--accent);
  min-height: 0;
}

.public-form-shell form > button {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
  justify-self: start;
  padding: 10px 18px;
  font-weight: 750;
}

.form-success {
  color: #24723c;
  background: #eaf7ee;
  border: 1px solid #a9d8b7;
  border-radius: 6px;
  margin: 16px 0;
  padding: 10px;
  font-size: 12px;
}

.form-closed {
  background: #fff4e5;
  border: 1px solid #f2c078;
  border-radius: 6px;
  padding: 10px;
  color: #8a4b08 !important;
}

.workflow-list {
  gap: 9px;
  display: grid;
}

.workflow-list article {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px;
}

.workflow-list article > header {
  justify-content: space-between;
  align-items: start;
  display: flex;
}

.workflow-list article > header > div {
  gap: 3px;
  display: grid;
}

.workflow-list strong {
  color: var(--navy);
  font-size: 12px;
}

.workflow-list small {
  color: var(--muted);
  font-size: 9px;
}

.workflow-list i {
  color: var(--muted);
  text-transform: uppercase;
  background: #edf1f5;
  border-radius: 999px;
  padding: 3px 6px;
  font-size: 8px;
  font-style: normal;
}

.workflow-list i.success {
  color: #24723c;
  background: #eaf7ee;
}

.workflow-list i.failed {
  color: #a12720;
  background: #fff1f0;
}

.workflow-list p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.workflow-list footer {
  justify-content: flex-end;
  gap: 6px;
  display: flex;
}

.product-actions .workflow-list footer button {
  color: #245c9d;
  padding: 4px 7px;
  font-size: 9px;
}

.product-actions .workflow-list footer button:last-child {
  color: #a12720;
}

.workflow-builder {
  gap: 12px;
  display: grid;
}

.workflow-builder label {
  color: #46586e;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.workflow-builder input, .workflow-builder select, .workflow-builder textarea {
  font: inherit;
  border: 1px solid #b9c4d1;
  border-radius: 5px;
  width: 100%;
  min-height: 38px;
  padding: 7px 9px;
}

.workflow-builder p {
  color: var(--muted);
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
}

.product-actions .workflow-builder .primary-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  justify-self: end;
  font-weight: 750;
}

.help-panel section {
  border-bottom: 1px solid var(--border);
  padding: 4px 0 15px;
}

.help-panel section + section {
  padding-top: 14px;
}

.help-panel h3 {
  color: var(--navy);
  margin: 0 0 6px;
  font-size: 13px;
}

.help-panel p {
  color: #52637a;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.help-panel code {
  color: #174ea6;
  background: #edf3fa;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 10px;
}

.help-panel dl {
  gap: 7px;
  margin: 0;
  display: grid;
}

.help-panel dl div {
  justify-content: space-between;
  display: flex;
}

.help-panel dt {
  color: #34465d;
  font-size: 10px;
  font-weight: 750;
}

.help-panel dd {
  color: var(--muted);
  margin: 0;
  font-size: 10px;
}

.share-form small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.member-list {
  margin-top: 20px;
}

.member-list h3 {
  color: var(--navy);
  margin: 0 0 9px;
  font-size: 13px;
}

.member-row {
  border-top: 1px solid var(--border);
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 12px 0;
  display: grid;
}

.member-row > span {
  color: #245c9d;
  background: #dcecff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
}

.member-row > div {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.member-row strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  overflow: hidden;
}

.member-row small {
  color: var(--muted);
  font-size: 10px;
}

.member-row > b {
  color: var(--muted);
  justify-self: end;
  font-size: 10px;
  font-weight: 700;
}

.member-actions {
  grid-column: 2;
  grid-template-columns: 1fr 1fr;
  gap: 6px !important;
  display: grid !important;
}

.member-actions select {
  grid-column: 1 / -1;
  min-height: 32px;
  padding: 4px 6px;
}

.product-actions .member-actions button {
  color: #245c9d;
  padding: 5px 6px;
  font-size: 10px;
}

.product-actions .member-actions button:last-child {
  color: #a12720;
}

.protected-range-section {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 17px;
}

.protected-range-section > h3 {
  color: var(--navy);
  margin: 0 0 4px;
  font-size: 13px;
}

.protected-range-section > p {
  color: var(--muted);
  margin: 0 0 10px;
  font-size: 10px;
  line-height: 1.45;
}

.protected-range-list {
  gap: 8px;
  margin-top: 11px;
  display: grid;
}

.protected-range-list article {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px;
}

.protected-range-list header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.protected-range-list header div {
  gap: 2px;
  display: grid;
}

.protected-range-list strong {
  font-size: 11px;
}

.protected-range-list small {
  color: var(--muted);
  font-size: 9px;
}

.product-actions .protected-range-list header button {
  color: #a12720;
  padding: 4px 6px;
  font-size: 9px;
}

.protected-range-list fieldset {
  border: 0;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
}

.protected-range-list legend {
  color: var(--muted);
  margin-bottom: 5px;
  font-size: 9px;
}

.protected-range-list label {
  text-overflow: ellipsis;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  display: flex;
  overflow: hidden;
}

.protected-range-list input {
  accent-color: var(--accent);
}

.protected-range-list > article > p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 9px;
}

.notification-tools {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  display: flex;
}

.notification-tools span {
  color: var(--muted);
  font-size: 11px;
}

.product-actions .notification-tools button {
  color: #245c9d;
  padding: 5px 7px;
  font-size: 10px;
}

.notification-list {
  display: grid;
}

.notification-list article {
  border-top: 1px solid var(--border);
  cursor: pointer;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 12px 4px;
  display: grid;
}

.notification-list article.is-unread {
  background: #f4f8ff;
}

.notification-list article > span {
  color: #245c9d;
  background: #e5edf8;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
}

.notification-list article > div {
  min-width: 0;
}

.notification-list strong {
  color: #24364d;
  font-size: 12px;
  display: block;
}

.notification-list p {
  color: #52637a;
  overflow-wrap: anywhere;
  margin: 4px 0;
  font-size: 11px;
  line-height: 1.4;
}

.notification-list small {
  color: var(--muted);
  font-size: 9px;
}

.notification-list a {
  color: #245c9d;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 700;
}

.analytics-panel {
  z-index: 4600;
  background: #f4f7fb;
  flex-direction: column;
  width: min(720px, 100vw);
  height: calc(100dvh - 92px);
  display: flex;
  position: fixed;
  top: 58px;
  right: 0;
  box-shadow: -14px 0 38px #102a4324;
}

.analytics-panel > header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  padding: 12px 18px;
  display: flex;
}

.analytics-panel > header span {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 750;
}

.analytics-panel h2 {
  color: var(--navy);
  margin: 2px 0 0;
  font-size: 19px;
}

.product-actions .analytics-panel > header button {
  color: var(--muted);
  border: 0;
  padding: 4px 7px;
  font-size: 25px;
}

.analytics-panel > nav {
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 0 16px;
  display: flex;
}

.product-actions .analytics-panel > nav button {
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid #0000;
  border-radius: 0;
  padding: 10px 14px;
  font-weight: 700;
}

.product-actions .analytics-panel > nav button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--navy);
}

.analytics-body {
  padding: 16px;
  overflow-y: auto;
}

.analytics-builder {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  gap: 12px;
  padding: 16px;
  display: grid;
}

.analytics-builder label {
  color: #46586e;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.analytics-builder input, .analytics-builder select {
  font: inherit;
  border: 1px solid #b9c4d1;
  border-radius: 5px;
  width: 100%;
  min-height: 39px;
  padding: 7px 9px;
}

.analytics-columns {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.analytics-builder > p {
  color: var(--muted);
  margin: 0;
  font-size: 10px;
}

.product-actions .analytics-builder .primary-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  justify-self: end;
  font-weight: 750;
}

.analytics-dashboard {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.analytics-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 9px;
  min-height: 180px;
  padding: 13px;
  overflow: hidden;
}

.analytics-card > header {
  justify-content: space-between;
  align-items: start;
  display: flex;
}

.analytics-card > header span {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
}

.analytics-card h3 {
  color: var(--navy);
  margin: 2px 0 12px;
  font-size: 13px;
}

.analytics-card > header > div:last-child {
  gap: 4px;
  display: flex;
}

.product-actions .analytics-card > header button {
  color: var(--muted);
  padding: 3px 5px;
  font-size: 9px;
}

.product-actions .analytics-card > header button:last-child {
  color: #a12720;
}

.analytics-card > footer {
  color: var(--muted);
  margin-top: 10px;
  font-size: 8px;
}

.bar-chart {
  gap: 7px;
  display: grid;
}

.bar-chart > div {
  grid-template-columns: 62px minmax(0, 1fr) 45px;
  align-items: center;
  gap: 6px;
  display: grid;
}

.bar-chart span {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  overflow: hidden;
}

.bar-chart i {
  background: linear-gradient(90deg, #1a73e8, #5ba0f5);
  border-radius: 2px;
  min-width: 2px;
  height: 11px;
  display: block;
}

.bar-chart b {
  text-align: right;
  font-size: 9px;
}

.line-chart {
  width: 100%;
  height: 120px;
  overflow: visible;
}

.pie-chart {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.pivot-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 9px;
}

.pivot-table th, .pivot-table td {
  text-align: left;
  border-bottom: 1px solid #edf0f3;
  padding: 5px;
}

.pivot-table th:last-child, .pivot-table td:last-child {
  text-align: right;
}

.metric-card {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 110px;
  display: flex;
}

.metric-card strong {
  color: #174ea6;
  font-size: 32px;
}

.metric-card span {
  color: var(--muted);
  font-size: 10px;
}

.slicer {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.product-actions .slicer button {
  color: #245c9d;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 9px;
}

.product-actions .slicer button[aria-pressed="true"] {
  color: #fff;
  background: #1a73e8;
  border-color: #1a73e8;
}

@media (max-width: 620px) {
  .analytics-dashboard {
    grid-template-columns: 1fr;
  }
}

.side-panel-form input:focus, .side-panel-form textarea:focus, .reply-form input:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px #1a73e821;
}

.product-actions .workbook-side-panel .primary-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  justify-self: end;
  font-weight: 750;
}

.comment-anchor {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  display: grid;
}

.comment-anchor > span {
  color: var(--muted);
  font-size: 11px;
}

.comment-anchor > strong {
  text-overflow: ellipsis;
  font-size: 11px;
  overflow: hidden;
}

.comment-anchor > label {
  grid-column: 1 / -1;
}

.side-panel-error {
  color: #9f281f;
  background: #fff1f0;
  border: 1px solid #ffd0cc;
  border-radius: 5px;
  padding: 9px;
  font-size: 12px;
}

.side-panel-empty {
  color: var(--muted);
  text-align: center;
  padding: 24px 0;
  font-size: 12px;
}

.timeline-list, .comment-thread-list {
  gap: 10px;
  margin-top: 14px;
  display: grid;
}

.timeline-item {
  border: 1px solid var(--border);
  border-radius: 7px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px;
  display: flex;
}

.timeline-item div {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.timeline-item strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  overflow: hidden;
}

.timeline-item small {
  color: var(--muted);
  font-size: 10px;
}

.product-actions .timeline-item button {
  color: #245c9d;
  padding: 5px 8px;
  font-size: 11px;
}

.restore-confirmation {
  gap: 4px;
  display: flex;
}

.product-actions .timeline-item .danger-action {
  color: #a12720;
  border-color: #e2aaa5;
}

.comment-thread {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.comment-thread.is-resolved {
  opacity: .78;
  background: #fafbfc;
}

.comment-thread > header {
  border-bottom: 1px solid var(--border);
  background: #f7f9fb;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  display: flex;
}

.product-actions .comment-thread > header button {
  color: #376aa4;
  border: 0;
  padding: 3px;
  font-size: 11px;
}

.product-actions .comment-thread > header .comment-range-link {
  text-underline-offset: 2px;
  font-weight: 750;
  -webkit-text-decoration: underline #9ebadb;
  text-decoration: underline #9ebadb;
}

.comment-message {
  border-bottom: 1px solid #edf0f3;
  padding: 11px;
}

.comment-message strong {
  color: #34465d;
  font-size: 11px;
}

.comment-message time {
  color: var(--muted);
  float: right;
  font-size: 9px;
}

.comment-message p {
  white-space: pre-wrap;
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.reply-form {
  gap: 7px;
  padding: 9px;
  display: flex;
}

.reply-form input {
  min-height: 34px;
  padding: 6px 8px;
}

.product-actions .reply-form button {
  color: #245c9d;
  padding: 5px 8px;
  font-size: 11px;
}

.print-setup-backdrop {
  z-index: 5000;
  background: #071a386b;
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  inset: 0;
}

.print-setup-dialog {
  color: #17263b;
  background: #fff;
  border: 1px solid #c9d2de;
  border-radius: 10px;
  width: min(720px, 100%);
  max-height: calc(100dvh - 48px);
  padding: 24px;
  overflow: auto;
  box-shadow: 0 22px 70px #071a383d;
}

.print-setup-dialog > header {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.print-setup-dialog .eyebrow {
  color: #65758b;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 750;
}

.print-setup-dialog h2 {
  color: #102a43;
  margin: 4px 0 22px;
  font-size: 24px;
}

.print-setup-dialog > header > button {
  color: #53657b;
  border: 0;
  padding: 4px 8px;
  font-size: 24px;
  line-height: 1;
}

.print-setup-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.print-setup-grid label {
  color: #34465d;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  display: grid;
}

.print-setup-grid input, .print-setup-grid select {
  color: #17263b;
  font: inherit;
  background: #fff;
  border: 1px solid #b9c4d1;
  border-radius: 5px;
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
}

.print-setup-grid input:focus, .print-setup-grid select:focus {
  border-color: #1a73e8;
  outline: 0;
  box-shadow: 0 0 0 3px #1a73e824;
}

.print-setup-grid input:disabled {
  color: #8995a5;
  background: #f2f5f8;
}

.print-setup-dialog fieldset {
  border: 0;
  flex-wrap: wrap;
  gap: 20px;
  margin: 22px 0;
  padding: 0;
  display: flex;
}

.print-setup-dialog legend {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 750;
}

.print-setup-dialog fieldset label {
  align-items: center;
  gap: 7px;
  font-size: 13px;
  display: flex;
}

.print-setup-dialog input[type="checkbox"] {
  accent-color: #1a73e8;
  width: 16px;
  height: 16px;
}

.print-setup-dialog > footer {
  border-top: 1px solid #dfe3e8;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 18px;
  display: flex;
}

.product-actions .print-setup-dialog .primary-action {
  color: #fff;
  background: #1a73e8;
  border-color: #1a73e8;
  font-weight: 700;
}

.file-dialog {
  background: #fff;
  border: 1px solid #c9d2de;
  border-radius: 10px;
  width: min(760px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  box-shadow: 0 22px 70px #071a383d;
}

.file-dialog > header {
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 24px 14px;
  display: flex;
}

.file-dialog .eyebrow {
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 750;
}

.file-dialog h2 {
  color: var(--navy);
  margin: 3px 0 0;
  font-size: 23px;
}

.product-actions .file-dialog > header > button {
  color: var(--muted);
  border: 0;
  font-size: 24px;
  line-height: 1;
}

.file-tabs {
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
}

.product-actions .file-tabs button {
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid #0000;
  border-radius: 0;
  padding: 10px 16px;
  font-weight: 700;
}

.product-actions .file-tabs button[aria-selected="true"] {
  border-bottom-color: var(--accent);
  color: var(--navy);
}

.file-dialog-content {
  gap: 14px;
  padding: 22px 24px 24px;
  display: grid;
}

.product-actions .file-drop-action {
  background: #f7f9fb;
  border: 1px dashed #9caabd;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 112px;
  display: flex;
}

.file-drop-action strong {
  color: var(--navy);
  font-size: 14px;
}

.file-drop-action span, .file-status {
  color: var(--muted);
  font-size: 11px;
}

.product-actions .sample-file-action {
  color: #245c9d;
  justify-self: start;
  padding: 5px 8px;
  font-size: 11px;
}

.compatibility-result {
  border: 1px solid #a9d8b7;
  border-radius: 7px;
  padding: 13px;
}

.compatibility-result.is-blocked {
  border-color: #e2aaa5;
}

.compatibility-result h3 {
  color: #24723c;
  margin: 0 0 8px;
  font-size: 14px;
}

.compatibility-result.is-blocked h3 {
  color: #a12720;
}

.compatibility-result > p {
  color: var(--muted);
  font-size: 11px;
}

.compatibility-result > div {
  border-top: 1px solid #edf0f3;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 11px;
  display: flex;
}

.compatibility-result article {
  background: #fff7f6;
  border-radius: 5px;
  margin-top: 8px;
  padding: 9px;
  font-size: 11px;
}

.compatibility-result article p {
  margin: 5px 0;
}

.compatibility-result article small {
  color: var(--muted);
}

.file-dialog-content > footer {
  border-top: 1px solid var(--border);
  justify-content: flex-end;
  gap: 8px;
  padding-top: 15px;
  display: flex;
}

.product-actions .file-dialog .primary-action {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 750;
}

.export-format {
  color: #34465d;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.export-format select {
  font: inherit;
  border: 1px solid #b9c4d1;
  border-radius: 5px;
  min-height: 40px;
  padding: 0 9px;
}

.export-summary {
  border: 1px solid var(--border);
  background: #f7f9fb;
  border-radius: 7px;
  gap: 6px;
  padding: 14px;
  display: grid;
}

.export-summary strong {
  color: var(--navy);
  font-size: 13px;
}

.export-summary span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.pdf-preview {
  border: 1px solid var(--border);
  width: 100%;
  height: 360px;
}

@media (max-width: 900px) {
  .saved-state, .connected, .comments-panel {
    display: none;
  }

  .product-bar {
    padding: 0 10px;
  }

  .product-bar h1 {
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 30vw;
    overflow: hidden;
  }

  .product-actions {
    scrollbar-width: thin;
    gap: 5px;
    max-width: 58vw;
    padding: 4px 1px;
    overflow-x: auto;
  }

  .product-actions > button {
    flex: none;
    padding: 6px 8px;
    font-size: 11px;
  }
}

@media (max-width: 620px) {
  .product-bar > strong, .product-bar > .divider {
    display: none;
  }

  .product-bar h1 {
    max-width: 22vw;
    font-size: 13px;
  }

  .product-actions {
    max-width: calc(78vw - 46px);
  }

  .collaboration-presence > summary > span:nth-child(2) {
    display: none;
  }

  .presence-popover {
    min-width: min(310px, 100vw - 24px);
    position: fixed;
    top: 62px;
    right: 12px;
  }

  .print-setup-backdrop {
    align-items: stretch;
    padding: 0;
  }

  .print-setup-dialog {
    border-radius: 0;
    max-height: 100dvh;
    padding: 20px;
  }

  .print-setup-grid {
    grid-template-columns: 1fr;
  }
}

.benchmark-shell {
  grid-template-rows: 54px auto minmax(0, 1fr);
  height: 100dvh;
  display: grid;
}

.benchmark-header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  display: flex;
}

.benchmark-header div {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.benchmark-header strong {
  color: var(--navy);
  font-size: 15px;
}

.benchmark-header span {
  color: var(--muted);
  font-size: 11px;
}

.benchmark-header output {
  border: 1px solid var(--border);
  color: var(--muted);
  text-transform: capitalize;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 11px;
}

.benchmark-header output[data-status="ready"] {
  color: #24723c;
  border-color: #9fd5b1;
}

.benchmark-metrics {
  background: var(--chrome);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1px;
  padding: 8px 12px;
  display: flex;
}

.benchmark-metric {
  border: 1px solid var(--border);
  background: #fff;
  flex-direction: column;
  min-width: 112px;
  padding: 7px 9px;
  display: flex;
}

.benchmark-metric span {
  color: var(--muted);
  font-size: 10px;
}

.benchmark-metric strong {
  font-variant-numeric: tabular-nums;
  margin-top: 3px;
  font-size: 12px;
}

.benchmark-actions {
  align-items: center;
  gap: 6px;
  margin-left: auto;
  display: flex;
}

.benchmark-actions button {
  color: var(--navy);
  cursor: pointer;
  background: #fff;
  border: 1px solid #b8c3ce;
  border-radius: 4px;
  padding: 7px 9px;
  font-size: 11px;
}

.benchmark-actions button:disabled {
  cursor: wait;
  opacity: .5;
}

.benchmark-editor {
  min-height: 0;
}

.auth-page {
  color: #0f2340;
  background: #fff;
  height: 100dvh;
  padding: 30px 32px 48px;
  position: relative;
  overflow: auto;
}

.auth-brand {
  color: #102a43;
  letter-spacing: -.02em;
  align-items: center;
  gap: 11px;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.auth-brand img {
  object-fit: contain;
  width: 64px;
  height: 64px;
  margin: -11px;
}

.auth-stage {
  justify-content: center;
  align-items: center;
  min-height: calc(100dvh - 120px);
  padding: 24px 0;
  display: flex;
  transform: translateY(-26px);
}

.auth-panel {
  background: #fff;
  border: 1px solid #cfd7e1;
  border-radius: 7px;
  width: min(100%, 586px);
  padding: 40px 40px 34px;
  box-shadow: 0 8px 28px #102a430a;
}

.auth-panel h1 {
  color: #071a36;
  letter-spacing: -.025em;
  text-align: center;
  margin: 0 0 30px;
  font-size: 30px;
  font-weight: 750;
  line-height: 1.2;
}

.auth-panel .auth-intro {
  color: #41536a;
  margin: -18px 0 32px;
  font-size: 16px;
  line-height: 1.55;
}

.auth-form {
  gap: 24px;
  display: grid;
}

.auth-test-profiles {
  background: #f5f8fc;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  gap: 12px;
  margin: -12px 0 22px;
  padding: 13px;
  display: grid;
}

.auth-test-profiles > div:first-child {
  gap: 3px;
  display: grid;
}

.auth-test-profiles > div:first-child strong {
  color: #10243f;
  font-size: 13px;
}

.auth-test-profiles > div:first-child span {
  color: #607188;
  font-size: 11px;
}

.auth-test-profiles > div:last-child {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  display: grid;
}

.auth-test-profiles button {
  color: #203850;
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 1px solid #c9d3df;
  border-radius: 6px;
  gap: 2px;
  padding: 8px 9px;
  display: grid;
}

.auth-test-profiles button:hover, .auth-test-profiles button:focus-visible {
  border-color: #1a73e8;
  outline: 0;
  box-shadow: 0 0 0 2px #1a73e81f;
}

.auth-test-profiles button strong {
  font-size: 11px;
}

.auth-test-profiles button span {
  color: #607188;
  font-size: 9px;
}

.auth-field {
  color: #13243b;
  gap: 9px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  display: grid;
}

.auth-field input {
  appearance: none;
  color: #17263b;
  background: #fff;
  border: 1px solid #c8d1dc;
  border-radius: 6px;
  outline: none;
  width: 100%;
  height: 52px;
  padding: 0 15px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 450;
  line-height: 1;
  transition: border-color .13s, box-shadow .13s;
}

.auth-field input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px #1a73e829;
}

.auth-password-control {
  display: block;
  position: relative;
}

.auth-password-control input {
  padding-right: 52px;
}

.auth-password-toggle {
  color: #41536a;
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  display: flex;
  position: absolute;
  top: 5px;
  right: 5px;
}

.auth-password-toggle:focus-visible {
  border-radius: 4px;
  outline: 2px solid #1a73e8;
}

.auth-password-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  width: 21px;
  height: 21px;
}

.auth-primary {
  color: #fff;
  cursor: pointer;
  background: #1a73e8;
  border: 1px solid #1a73e8;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 54px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .13s, box-shadow .13s;
  display: inline-flex;
}

.auth-primary:hover {
  background: #1467d3;
}

.auth-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #1a73e833;
}

.auth-primary:disabled {
  cursor: wait;
  opacity: .68;
}

.auth-link {
  color: #0869df;
  justify-self: start;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-link:focus-visible {
  outline-offset: 3px;
  border-radius: 2px;
  outline: 2px solid #1a73e8;
}

.auth-link-centered {
  justify-self: center;
}

.auth-error {
  color: #d93025;
  min-height: 19px;
  margin: -13px 0 -8px;
  font-size: 14px;
  line-height: 1.35;
}

.auth-help {
  color: #53657b;
  margin: -15px 0 -5px;
  font-size: 14px;
  line-height: 1.4;
}

.auth-security-note {
  border-top: 1px solid #d8dee7;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding-top: 24px;
  display: flex;
}

.auth-security-note > span:last-child {
  color: #45566d;
  gap: 5px;
  font-size: 14px;
  line-height: 1.35;
  display: grid;
}

.auth-security-note strong {
  color: #10243f;
  font-size: 16px;
}

.auth-lock {
  color: #102a43;
  background: #eef5ff;
  border-radius: 50%;
  flex: 0 0 52px;
  justify-content: center;
  align-items: center;
  height: 52px;
  display: flex;
}

.auth-lock svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  width: 24px;
  height: 24px;
}

.auth-success-state {
  text-align: center;
  flex-direction: column;
  align-items: center;
  display: flex;
}

.auth-success-state h1 {
  margin: 28px 0 14px;
}

.auth-success-state p {
  color: #45566d;
  max-width: 360px;
  margin: 0 0 34px;
  font-size: 16px;
  line-height: 1.55;
}

.auth-success-mark {
  color: #159447;
  background: #edf8f1;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 82px;
  height: 82px;
  display: flex;
}

.auth-success-mark svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2px;
  width: 42px;
  height: 42px;
}

.auth-button-link {
  margin-top: 2px;
}

@media (max-width: 640px) {
  .auth-page {
    padding: 22px 18px 32px;
  }

  .auth-brand {
    font-size: 21px;
  }

  .auth-brand img {
    width: 54px;
    height: 54px;
    margin: -9px;
  }

  .auth-stage {
    align-items: flex-start;
    min-height: 0;
    padding-top: 48px;
    transform: none;
  }

  .auth-panel {
    box-shadow: none;
    border: 0;
    padding: 0;
  }

  .auth-panel h1 {
    text-align: left;
    margin-bottom: 30px;
    font-size: 27px;
  }

  .auth-form {
    gap: 22px;
  }

  .auth-security-note {
    align-items: flex-start;
  }
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.workbook-home-shell {
  --home-blue: #0969f6;
  --home-border: #d8dee8;
  --home-ink: #071a38;
  color: var(--home-ink);
  background: #fff;
  grid-template-rows: 84px minmax(0, 1fr);
  grid-template-columns: 292px minmax(0, 1fr);
  height: 100dvh;
  display: grid;
}

.workbook-home-header {
  border-bottom: 1px solid var(--home-border);
  grid-column: 1 / -1;
  grid-template-columns: 292px minmax(340px, 436px) 1fr;
  align-items: center;
  padding: 0 28px 0 22px;
  display: grid;
}

.workbook-home-brand {
  color: #08264c;
  letter-spacing: -.02em;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  text-decoration: none;
  display: flex;
}

.workbook-home-brand img {
  object-fit: contain;
  width: 52px;
  height: 52px;
  margin: -10px;
}

.workbook-search {
  border: 1px solid #aeb9c9;
  border-radius: 6px;
  justify-self: center;
  align-items: center;
  width: 436px;
  height: 58px;
  display: flex;
  position: relative;
}

.workbook-search:focus-within {
  border-color: var(--home-blue);
  box-shadow: 0 0 0 3px #0969f629;
}

.workbook-search > span[aria-hidden] {
  color: #253850;
  font-size: 34px;
  line-height: 1;
  position: absolute;
  top: 8px;
  left: 16px;
  transform: rotate(-16deg);
}

.workbook-search input {
  appearance: none;
  color: var(--home-ink);
  font: inherit;
  border: 0;
  outline: none;
  width: 100%;
  height: 100%;
  padding: 0 18px 0 56px;
  font-size: 18px;
}

.workbook-search input::placeholder {
  color: #66748a;
  opacity: 1;
}

.workbook-search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.workbook-search-results {
  z-index: 6000;
  background: #fff;
  border: 1px solid #c9d2de;
  border-radius: 8px;
  max-height: 420px;
  display: grid;
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  overflow-y: auto;
  box-shadow: 0 16px 42px #071a382e;
}

.workbook-search-results a {
  color: #17263b;
  border-top: 1px solid #edf0f3;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 10px 12px;
  text-decoration: none;
  display: grid;
}

.workbook-search-results a:first-child {
  border-top: 0;
}

.workbook-search-results a:hover, .workbook-search-results a:focus-visible {
  background: #f4f8ff;
  outline: 0;
}

.workbook-search-results a > span {
  color: #376aa4;
  text-align: center;
  text-transform: uppercase;
  background: #e8f2ff;
  border-radius: 999px;
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 800;
}

.workbook-search-results a > div {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.workbook-search-results strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.workbook-search-results small {
  color: #65758b;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  overflow: hidden;
}

.workbook-profile, .account-menu > summary {
  color: var(--home-ink);
  justify-self: end;
  align-items: center;
  gap: 17px;
  text-decoration: none;
  display: flex;
}

.workbook-profile span:first-child, .account-menu > summary > span:first-child {
  background: #c9c4ff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  display: flex;
}

.account-menu {
  justify-self: end;
  position: relative;
}

.account-menu > summary {
  cursor: pointer;
  list-style: none;
}

.account-menu > summary::-webkit-details-marker {
  display: none;
}

.account-menu > summary:focus-visible {
  outline: 2px solid var(--home-blue, #1468d4);
  outline-offset: 4px;
  border-radius: 5px;
}

.account-menu-label {
  font-size: 14px;
  font-weight: 650;
}

.account-menu-popover {
  z-index: 7000;
  background: #fff;
  border: 1px solid #cbd4df;
  border-radius: 8px;
  min-width: 220px;
  padding: 8px;
  display: grid;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  box-shadow: 0 16px 42px #071a382e;
}

.account-menu-popover strong {
  color: #64748b;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 10px;
  font-size: 11px;
}

.account-menu-popover a, .account-menu-popover button {
  color: #203850;
  cursor: pointer;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 5px;
  padding: 10px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.account-menu-popover a:hover, .account-menu-popover button:hover {
  background: #eef4ff;
}

.account-menu-popover button {
  color: #a2332c;
}

.account-menu-popover button:disabled {
  cursor: wait;
  opacity: .6;
}

.account-menu-popover small {
  color: #a2332c;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1.35;
}

.account-menu-compact > summary > span:first-child {
  width: 32px;
  height: 32px;
}

.account-menu-compact .account-menu-label {
  display: none;
}

.workbook-sidebar {
  border-right: 1px solid var(--home-border);
  min-height: 0;
  padding: 31px 15px;
}

.workbook-sidebar nav {
  gap: 5px;
  display: grid;
}

.workbook-sidebar nav button {
  color: #26364c;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 5px;
  align-items: center;
  gap: 15px;
  width: 100%;
  height: 49px;
  padding: 0 20px;
  font-size: 17px;
  display: flex;
  position: relative;
}

.workbook-sidebar nav button span {
  color: #26364c;
  width: 26px;
  font-size: 27px;
  line-height: 1;
}

.workbook-sidebar nav button:hover {
  background: #f4f7fb;
}

.workbook-sidebar nav button.active {
  color: #10223e;
  background: #eef4ff;
}

.workbook-sidebar nav button.active:before {
  background: var(--home-blue);
  content: "";
  border-radius: 0 3px 3px 0;
  width: 5px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.workbook-sidebar nav button.active span {
  color: var(--home-blue);
}

.workbook-sidebar-rule {
  background: var(--home-border);
  height: 1px;
  margin: 20px 0 23px;
}

.new-workbook-button {
  background: var(--home-blue);
  border: 1px solid var(--home-blue);
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: calc(100% - 16px);
  height: 52px;
  margin: 0 8px;
  font-size: 17px;
  font-weight: 650;
  display: flex;
}

.new-workbook-button:hover {
  background: #005bd9;
}

.new-workbook-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #0969f638;
}

.new-workbook-button span {
  font-size: 26px;
  font-weight: 400;
}

.workbook-home-content {
  min-width: 0;
  padding: 42px 50px 70px;
  overflow: auto;
}

.workbook-home-intro, .workbook-list {
  max-width: 1188px;
  margin: 0 auto;
}

.workbook-home-intro h1 {
  letter-spacing: -.04em;
  margin: 0;
  font-size: 45px;
  line-height: 1.08;
}

.workbook-home-intro p {
  color: #405168;
  margin: 10px 0 0;
  font-size: 18px;
}

.workbook-list {
  margin-top: 70px;
}

.workbook-list h2 {
  letter-spacing: -.02em;
  margin: 0 0 20px 5px;
  font-size: 25px;
}

.workbook-table {
  min-width: 750px;
}

.workbook-row {
  border-bottom: 1px solid var(--home-border);
  grid-template-columns: minmax(290px, 2.5fr) minmax(150px, .9fr) minmax(130px, .85fr) 110px 42px;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 0 13px;
  font-size: 16px;
  display: grid;
}

.workbook-row:not(.workbook-table-head):hover {
  background: #f6f9fd;
}

.workbook-table-head {
  color: #314157;
  min-height: 42px;
  font-size: 15px;
  font-weight: 650;
}

.workbook-name {
  color: var(--home-ink);
  align-items: center;
  gap: 22px;
  min-width: 0;
  text-decoration: none;
  display: flex;
}

.workbook-name span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.workbook-name:hover span {
  color: #075ecc;
  text-decoration: underline;
}

.workbook-file-icon {
  fill: #fff;
  stroke: #abb4c1;
  stroke-linejoin: round;
  stroke-width: 1px;
  flex: none;
  width: 29px;
  height: 35px;
}

.workbook-file-icon .sheet {
  fill: none;
  stroke: #099449;
  stroke-width: 1.5px;
}

.workbook-actions {
  justify-self: end;
  position: relative;
}

.workbook-actions > button {
  color: #112844;
  cursor: pointer;
  letter-spacing: 2px;
  background: none;
  border: 0;
  width: 38px;
  height: 38px;
  font-weight: 800;
}

.workbook-actions > button:hover {
  background: #e8eef6;
  border-radius: 50%;
}

.workbook-action-menu {
  z-index: 4;
  background: #fff;
  border: 1px solid #cfd6e0;
  border-radius: 6px;
  min-width: 150px;
  padding: 5px;
  display: grid;
  position: absolute;
  top: 35px;
  right: 0;
  box-shadow: 0 8px 24px #081c3624;
}

.workbook-action-menu button {
  cursor: pointer;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 4px;
  padding: 9px 11px;
}

.workbook-action-menu button:hover {
  background: #f0f4f9;
}

.workbook-action-menu button.danger {
  color: #bd2c21;
}

.workbook-empty {
  color: #52627a;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 62px 20px;
  display: flex;
}

.workbook-empty .workbook-file-icon {
  width: 40px;
  height: 48px;
}

.workbook-empty strong {
  color: #142841;
  font-size: 18px;
}

.workbook-error {
  color: #a42a21;
  background: #fff1f0;
  border: 1px solid #f3c5c1;
  border-radius: 5px;
  padding: 12px 14px;
}

.workbook-load-more {
  color: #15304f;
  cursor: pointer;
  background: #fff;
  border: 1px solid #aeb9c9;
  border-radius: 5px;
  margin: 24px auto;
  padding: 9px 20px;
  display: block;
}

.workbook-load-more:disabled {
  cursor: wait;
  opacity: .6;
}

.workbook-skeleton span {
  background: #edf1f6;
  border-radius: 4px;
  height: 16px;
  animation: 1.3s ease-in-out infinite workbook-shimmer;
}

@keyframes workbook-shimmer {
  50% {
    background: #e0e7f0;
  }
}

.workbook-dialog-backdrop {
  z-index: 20;
  background: #08162a70;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.workbook-dialog {
  color: var(--home-ink);
  background: #fff;
  border: 1px solid #d0d6df;
  border-radius: 6px;
  width: min(100%, 426px);
  padding: 30px 31px 23px;
  box-shadow: 0 13px 42px #03112545;
}

.workbook-dialog h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.workbook-dialog form > p {
  color: #465871;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
}

.workbook-dialog form > label {
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  display: grid;
}

.workbook-dialog input[type="text"], .workbook-dialog form > label input:not([type]) {
  color: #14263e;
  font: inherit;
  border: 1px solid #aeb9c8;
  border-radius: 5px;
  outline: none;
  height: 45px;
  padding: 0 13px;
}

.workbook-dialog form > label input:focus {
  border-color: var(--home-blue);
  box-shadow: 0 0 0 3px #0969f629;
}

.workbook-dialog form > label select {
  color: #14263e;
  font: inherit;
  background: #fff;
  border: 1px solid #aeb9c8;
  border-radius: 5px;
  height: 45px;
  padding: 0 10px;
}

.workbook-dialog form > label select:focus {
  border-color: var(--home-blue);
  outline: 0;
  box-shadow: 0 0 0 3px #0969f629;
}

.workbook-dialog fieldset {
  border: 0;
  gap: 12px;
  margin: 23px 0 28px;
  padding: 0;
  display: grid;
}

.workbook-dialog legend {
  margin-bottom: 13px;
  font-size: 14px;
  font-weight: 650;
}

.workbook-dialog fieldset label {
  color: #42536a;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  display: flex;
}

.workbook-dialog input[type="radio"] {
  accent-color: var(--home-blue);
  width: 17px;
  height: 17px;
  margin: 0;
}

.workbook-dialog-error {
  color: #b3261e !important;
  margin: 12px 0 !important;
}

.workbook-dialog footer {
  border-top: 1px solid #d8dee7;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 17px;
  display: flex;
}

.workbook-dialog footer button {
  cursor: pointer;
  border-radius: 4px;
  min-height: 41px;
  padding: 0 18px;
  font-weight: 650;
}

.workbook-dialog footer button:disabled {
  cursor: wait;
  opacity: .62;
}

.dialog-cancel {
  color: #34465d;
  background: #fff;
  border: 1px solid #0000;
}

.dialog-primary {
  background: var(--home-blue);
  border: 1px solid var(--home-blue);
  color: #fff;
}

@media (max-width: 900px) {
  .workbook-home-shell {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .workbook-home-header {
    grid-template-columns: 82px minmax(260px, 1fr) 70px;
    padding: 0 12px;
  }

  .workbook-home-brand strong {
    display: none;
  }

  .workbook-search {
    width: 100%;
    max-width: 436px;
  }

  .workbook-sidebar {
    padding: 24px 8px;
  }

  .workbook-sidebar nav button {
    justify-content: center;
    padding: 0;
  }

  .workbook-sidebar nav button span {
    text-align: center;
  }

  .workbook-sidebar nav button:not(.active), .workbook-sidebar nav button.active {
    font-size: 0;
  }

  .new-workbook-button {
    width: 100%;
    margin: 0;
    font-size: 0;
  }

  .new-workbook-button span {
    font-size: 26px;
  }

  .workbook-home-content {
    padding: 34px 28px 60px;
  }
}

@media (max-width: 600px) {
  .workbook-home-shell {
    display: block;
    overflow: auto;
  }

  .workbook-home-header {
    z-index: 5;
    grid-template-columns: 50px 1fr 46px;
    height: 72px;
    display: grid;
    position: sticky;
    top: 0;
  }

  .workbook-search {
    height: 46px;
  }

  .workbook-search input {
    padding-left: 44px;
    font-size: 15px;
  }

  .workbook-search > span[aria-hidden] {
    font-size: 28px;
    top: 7px;
    left: 12px;
  }

  .workbook-profile span:first-child, .account-menu > summary > span:first-child {
    width: 36px;
    height: 36px;
  }

  .workbook-profile span:last-child, .account-menu-label {
    display: none;
  }

  .workbook-sidebar {
    border-bottom: 1px solid var(--home-border);
    border-right: 0;
    padding: 10px 12px;
    display: flex;
  }

  .workbook-sidebar nav {
    flex: 1;
    gap: 2px;
    display: flex;
  }

  .workbook-sidebar nav button {
    height: 44px;
  }

  .workbook-sidebar-rule {
    display: none;
  }

  .new-workbook-button {
    width: 48px;
    height: 44px;
  }

  .workbook-home-content {
    padding: 28px 18px 50px;
    overflow: visible;
  }

  .workbook-home-intro h1 {
    font-size: 35px;
  }

  .workbook-home-intro p {
    font-size: 16px;
  }

  .workbook-list {
    margin-top: 42px;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-field input, .auth-primary {
    transition: none;
  }
}

.workbook-admin-link {
  color: #34465d;
  padding: 8px 14px 18px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  display: block;
}

.workbook-admin-link:hover {
  color: var(--home-blue);
}

.admin-shell {
  --admin-blue: #1468d4;
  --admin-border: #dfe4ea;
  --admin-ink: #172436;
  color: var(--admin-ink);
  background: #f5f7fa;
  grid-template-rows: 68px minmax(calc(100vh - 68px), auto);
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  display: grid;
}

.admin-header {
  border-bottom: 1px solid var(--admin-border);
  background: #fff;
  grid-column: 1 / -1;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  display: flex;
}

.admin-header > div {
  align-items: center;
  gap: 18px;
  display: flex;
}

.admin-brand {
  color: #0b5fc5;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.admin-header > div > span:not(.admin-secure-pill) {
  border-left: 1px solid var(--admin-border);
  color: #657287;
  padding-left: 18px;
}

.admin-header-actions a {
  color: #36516f;
  font-size: 14px;
  text-decoration: none;
}

.admin-header-actions .account-menu {
  --home-ink: #172436;
}

.admin-secure-pill {
  color: #24623b;
  background: #edf8f1;
  border: 1px solid #cae8d4;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
}

.admin-secure-pill:first-letter {
  color: #2ea35c;
}

.admin-sidebar {
  color: #cfdbeb;
  background: #0d213b;
  padding: 30px 16px;
}

.admin-sidebar p {
  color: #7890ad;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 14px 14px;
  font-size: 11px;
  font-weight: 800;
}

.admin-sidebar button {
  color: inherit;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 6px;
  width: 100%;
  margin: 3px 0;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 650;
  display: block;
}

.admin-sidebar button.active {
  color: #fff;
  background: #1c3b61;
}

.admin-sidebar button:hover {
  color: #fff;
  background: #173452;
}

.admin-content {
  min-width: 0;
  padding: 38px 42px 70px;
}

.admin-title-row {
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  display: flex;
}

.admin-eyebrow {
  color: #64748b;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 800;
}

.admin-title-row h1 {
  letter-spacing: -.02em;
  margin: 0;
  font-size: 30px;
}

.admin-title-actions {
  align-items: center;
  gap: 10px;
  display: flex;
}

.admin-title-actions input {
  font: inherit;
  background: #fff;
  border: 1px solid #bcc7d5;
  border-radius: 5px;
  width: 220px;
  height: 40px;
  padding: 0 12px;
}

.admin-button, .admin-primary, .admin-title-actions button, .admin-table-wrap button {
  color: #28435f;
  cursor: pointer;
  font: inherit;
  background: #fff;
  border: 1px solid #b8c4d2;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.admin-primary {
  background: var(--admin-blue) !important;
  border-color: var(--admin-blue) !important;
  color: #fff !important;
}

.admin-error {
  color: #982c25;
  background: #fff1f0;
  border: 1px solid #efc6c2;
  border-radius: 5px;
  padding: 12px 14px;
}

.admin-metric-grid {
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 14px;
  display: grid;
}

.admin-metric-grid article {
  border: 1px solid var(--admin-border);
  background: #fff;
  border-radius: 7px;
  padding: 21px;
  box-shadow: 0 1px 2px #0e1e320a;
}

.admin-metric-grid span {
  color: #68778a;
  margin-bottom: 12px;
  font-size: 13px;
  display: block;
}

.admin-metric-grid strong {
  letter-spacing: -.02em;
  font-size: 27px;
}

.admin-health-card {
  border: 1px solid var(--admin-border);
  background: #fff;
  border-radius: 7px;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 22px;
  display: flex;
}

.admin-health-card > div {
  align-items: center;
  gap: 14px;
  display: flex;
}

.admin-health-card p {
  color: #6c7786;
  margin: 4px 0 0;
  font-size: 13px;
}

.admin-health-card a {
  color: var(--admin-blue);
  font-size: 13px;
  font-weight: 700;
}

.admin-health-dot {
  background: #2aaa5d;
  border: 5px solid #def3e6;
  border-radius: 50%;
  width: 21px;
  height: 21px;
}

.admin-table-wrap {
  border: 1px solid var(--admin-border);
  background: #fff;
  border-radius: 7px;
  overflow: auto;
}

.admin-table-wrap table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.admin-table-wrap th {
  color: #68778a;
  letter-spacing: .05em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  background: #f9fafc;
  padding: 12px 15px;
  font-size: 11px;
}

.admin-table-wrap td {
  text-overflow: ellipsis;
  white-space: nowrap;
  border-top: 1px solid #e9edf2;
  max-width: 360px;
  padding: 14px 15px;
  overflow: hidden;
}

.admin-table-wrap tr:hover td {
  background: #fafcff;
}

.admin-row-actions {
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.admin-table-wrap button {
  min-height: 30px;
  padding: 0 10px;
}

.admin-danger-link {
  color: #a2332c !important;
  border-color: #e7b8b4 !important;
}

.admin-stack {
  gap: 14px;
  display: grid;
}

.admin-stack h2 {
  margin: 18px 0 0;
  font-size: 16px;
}

.admin-inspection {
  background: #eff7ff;
  border: 1px solid #c8def5;
  border-radius: 6px;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
  padding: 15px;
  display: flex;
}

.admin-inspection code {
  color: #345576;
  width: 100%;
  font-size: 11px;
}

.admin-modal-backdrop {
  z-index: 50;
  background: #05112085;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
  position: fixed;
  inset: 0;
}

.admin-modal {
  background: #fff;
  border-radius: 8px;
  gap: 15px;
  width: min(440px, 100%);
  padding: 30px;
  display: grid;
  box-shadow: 0 20px 60px #0000004d;
}

.admin-modal h2 {
  margin: -8px 0 0;
  font-size: 22px;
}

.admin-modal > p:not(.admin-eyebrow, .admin-error) {
  color: #64748b;
  margin: -5px 0 5px;
  font-size: 14px;
  line-height: 1.45;
}

.admin-modal label {
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  display: grid;
}

.admin-modal input:not([type="checkbox"]) {
  font: inherit;
  border: 1px solid #aeb9c8;
  border-radius: 5px;
  height: 43px;
  padding: 0 11px;
}

.admin-check {
  align-items: center;
  font-weight: 500 !important;
  display: flex !important;
}

.admin-check input {
  accent-color: var(--admin-blue);
}

.admin-modal-actions {
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}

.admin-modal-actions button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #b8c4d2;
  border-radius: 5px;
  min-height: 40px;
  padding: 0 15px;
}

.admin-lock {
  color: var(--admin-blue);
  background: #e9f2fe;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  font-size: 24px;
  display: flex;
}

.admin-skeleton {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  display: grid;
}

.admin-skeleton span {
  background: #e8ecf1;
  border-radius: 7px;
  height: 120px;
  animation: 1.2s infinite workbook-pulse;
}

@media (max-width: 850px) {
  .admin-shell {
    grid-template-rows: auto auto 1fr;
    grid-template-columns: 1fr;
  }

  .admin-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .admin-secure-pill {
    display: none;
  }

  .admin-sidebar {
    gap: 4px;
    padding: 10px 12px;
    display: flex;
    overflow-x: auto;
  }

  .admin-sidebar p {
    display: none;
  }

  .admin-sidebar button {
    flex: none;
    width: auto;
  }

  .admin-content {
    padding: 28px 18px 50px;
  }

  .admin-title-row {
    align-items: flex-start;
    gap: 18px;
  }

  .admin-title-actions input {
    max-width: 160px;
  }

  .admin-metric-grid {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }
}

/*# sourceMappingURL=apps_web_app_globals_1lkgh9-.css.map*/