:root {
  --feedback-info: #c7d4e5;
  --feedback-success: #79dece;
  --feedback-warning: #f2c782;
  --feedback-error: #ffc0bd;
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #edf2f7;
  background: #0c1018;
}
[data-feedback][data-tone] {
  color: var(--feedback-color, var(--feedback-info));
  border-color: var(--feedback-color, var(--feedback-info));
}
[data-feedback][data-tone="info"] {
  --feedback-color: var(--feedback-info);
}
[data-feedback][data-tone="success"] {
  --feedback-color: var(--feedback-success);
}
[data-feedback][data-tone="warning"] {
  --feedback-color: var(--feedback-warning);
}
[data-feedback][data-tone="error"] {
  --feedback-color: var(--feedback-error);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.workspace-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  line-height: 1.5;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  max-width: none;
  padding: 24px;
  margin: 0;
}
.workspace-opening-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
  padding: 44px 24px;
  border: 1px solid #283245;
  border-radius: 16px;
  background: #111927;
}
.workspace-opening-brand {
  margin: 0 0 36px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
}
.workspace-opening-brand span {
  display: block;
  margin-top: 6px;
  color: #a5b2c7;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}
.workspace-opening-progress {
  width: 36px;
  height: 36px;
  margin: 0 auto 24px;
  border: 3px solid #283245;
  border-top-color: #79dece;
  border-radius: 50%;
  animation: workspace-opening-spin 1s linear infinite;
}
.workspace-opening h1 {
  margin: 0 0 12px;
  font-size: clamp(23px, 4vw, 30px);
  line-height: 1.4;
}
.workspace-opening .muted {
  margin: 0;
}
.workspace-opening-back {
  display: inline-block;
  margin-top: 32px;
  font-size: 13px;
}
.workspace-opening noscript p {
  margin-top: 20px;
}
@keyframes workspace-opening-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-opening-progress {
    animation: none;
  }
}
header {
  height: 78px;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #283245;
}
a {
  color: #79dece;
  text-decoration: none;
}
.brand {
  font-size: 24px;
  letter-spacing: 2px;
  font-weight: 800;
  color: #fff;
}
.brand span {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  margin-left: 14px;
  color: #a5b2c7;
}
main {
  max-width: 1420px;
  margin: auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 82vh;
}
aside {
  padding: 35px 28px;
  border-right: 1px solid #283245;
}
h1,
h2 {
  font-size: 20px;
  line-height: 1.4;
}
aside h2 {
  margin-top: 40px;
  font-size: 15px;
}
.sidebar-heading {
  margin: 1em 0;
  color: #edf2f7;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}
.sidebar-items {
  margin-inline-start: 16px;
  min-width: 0;
}
.muted {
  color: #a5b2c7;
  font-size: 13px;
  line-height: 1.6;
}
#workspace {
  padding: 45px 5vw;
}
.eyebrow {
  color: #79dece;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.intro h2 {
  font-size: clamp(25px, 3vw, 38px);
  margin: 14px 0;
}
.intro p {
  color: #a5b2c7;
  line-height: 1.7;
  max-width: 650px;
}
button,
.button {
  background: #79dece;
  color: #102229;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
button:hover,
.button:hover {
  filter: brightness(1.1);
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
.secondary {
  background: #202b3c;
  color: #edf2f7;
  border-color: #3c4b61;
}
.agent {
  width: 100%;
  display: block;
  text-align: left;
  margin: 12px 0;
  padding: 16px;
  background: #151d2b;
  color: #edf2f7;
  border: 1px solid #283245;
}
.agent.selected {
  border-color: #79dece;
}
.agent small {
  display: block;
  color: #a5b2c7;
  font-weight: normal;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.history-item {
  display: block;
  width: 100%;
  background: transparent;
  color: #c7d4e5;
  text-align: left;
  padding: 10px 0;
  font-size: 12px;
  border-bottom: 1px solid #283245;
  font-weight: 400;
}
label {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
}
textarea {
  width: 100%;
  color: #edf2f7;
  background: #151d2b;
  border: 1px solid #3c4b61;
  border-radius: 8px;
  font: inherit;
  padding: 15px;
  resize: vertical;
}
input,
select {
  width: 100%;
  color: #edf2f7;
  background: #151d2b;
  border: 1px solid #3c4b61;
  border-radius: 7px;
  font: inherit;
  font-size: 14px;
  min-height: 42px;
  padding: 10px 12px;
}
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #79dece;
  outline-offset: 3px;
}
input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.full-field {
  grid-column: 1 / -1;
}
.field-grid label {
  margin-bottom: 8px;
}
.card {
  padding: 24px;
  background: #111927;
  border: 1px solid #283245;
  border-radius: 10px;
  margin-top: 22px;
}
.card > h2:first-child,
.card > h3:first-child {
  margin-top: 0;
}
.card > summary {
  color: #edf2f7;
  font-size: 16px;
  font-weight: 650;
}
.settings-details {
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid #283245;
  border-bottom: 1px solid #283245;
}
.settings-details[open] > summary {
  margin-bottom: 22px;
}
.compact-details {
  margin: 20px 0;
}
.compact-details form {
  margin-top: 20px;
}
.compact-details button,
#workspace-configuration > button {
  margin-top: 18px;
}
.compact-details input,
.compact-details select {
  margin-bottom: 18px;
}
.text-button {
  display: block;
  padding: 8px 0;
  color: #79dece;
  background: transparent;
  font-weight: 450;
  font-size: 13px;
}
#agent-capabilities .text-button {
  text-align: left;
}
#workspace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid #283245;
}
.tab {
  background: transparent;
  color: #a5b2c7;
  padding: 9px 12px;
  font-size: 13px;
}
.tab.selected {
  background: #203d3e;
  color: #a0f3e6;
  border-color: #416f6d;
}
.workspace-panel {
  min-width: 0;
}
.workspace-panel form {
  margin-top: 26px;
}
.workspace-panel form > label:not(:first-child) {
  margin-top: 22px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 20px;
}
.check-label input {
  width: 17px;
  min-height: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 2px 0 0;
  accent-color: #79dece;
}
.record,
.audit-record {
  padding: 18px 0;
  border-bottom: 1px solid #283245;
  overflow-wrap: anywhere;
}
.record:last-child,
.audit-record:last-child {
  border-bottom: 0;
}
.record > button {
  margin-top: 12px;
}
.record small {
  display: block;
  color: #a5b2c7;
}
.provenance {
  color: #a5b2c7;
  font-size: 12px;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.section-heading h2 {
  margin: 0;
}
.run-actions {
  margin-top: 0;
  gap: 8px;
}
.run-actions button {
  padding: 8px 11px;
  font-size: 12px;
}
.reauth-link {
  display: inline-block;
  margin: 16px 0 0 12px;
  font-size: 13px;
}
#background-options {
  margin-top: 14px;
}
#background-delegation-field {
  margin: 16px 0;
}
#file-form > button,
#delegation-form > button,
#schedule-form > button {
  margin-top: 22px;
}
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #79dece;
  outline-offset: 3px;
}
.actions {
  margin-top: 14px;
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
form {
  margin-top: 35px;
}
#run {
  margin-top: 30px;
  padding: 22px;
  background: #111927;
  border: 1px solid #283245;
  border-radius: 10px;
}
.run-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#run-status {
  color: #79dece;
}
#request {
  white-space: pre-wrap;
  border-bottom: 1px solid #283245;
  padding-bottom: 18px;
}
#events {
  font-size: 12px;
  color: #a5b2c7;
  max-height: 150px;
  overflow: auto;
}
.event {
  margin: 6px 0;
}
#answer {
  white-space: pre-wrap;
  line-height: 1.7;
  margin: 22px 0;
}
#approval {
  border: 1px solid #bb9a58;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}
#approval p {
  font-size: 13px;
  color: #d0c5ac;
  line-height: 1.6;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #c7d4e5;
  background: #0c1018;
  padding: 14px;
  border-radius: 6px;
  font-size: 12px;
  max-height: 400px;
  overflow: auto;
}
summary {
  cursor: pointer;
  color: #a5b2c7;
  font-size: 13px;
}
#notice {
  color: var(--feedback-color, var(--feedback-info));
  line-height: 1.6;
  margin-top: 20px;
}
footer {
  border-top: 1px solid #283245;
  color: #8092ad;
  font-size: 12px;
  text-align: center;
  padding: 20px;
}
#identity {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  main {
    grid-template-columns: 1fr;
  }
  aside {
    border-right: 0;
    border-bottom: 1px solid #283245;
    padding: 20px;
  }
  #agents {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .agent {
    width: calc(50% - 6px);
  }
  aside h2,
  #history {
    display: none;
  }
  #workspace {
    padding: 30px 20px;
  }
  .brand span {
    display: none;
  }
  header {
    height: auto;
    min-height: 78px;
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }
  #identity {
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
  }
  .card {
    padding: 20px;
  }
  .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #workspace-tabs {
    gap: 4px;
  }
  .tab {
    padding: 9px 10px;
  }
}
@media (max-width: 460px) {
  header {
    padding: 18px;
  }
  #identity > span {
    display: none;
  }
  .run-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .agent {
    width: 100%;
    margin: 4px 0;
  }
}
.memory-search {
  padding: 18px 0 24px;
  border-bottom: 1px solid #283245;
}
.memory-search .field-grid {
  gap: 16px;
}
.memory-fields {
  margin-top: 24px;
}
.memory-record h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #edf2f7;
}
.memory-content {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  font-size: 14px;
  color: #d3dfef;
}
.inline-notice {
  padding: 18px;
  margin-top: 20px;
  border: 1px solid #7d6945;
  border-radius: 8px;
  background: #221f1c;
  color: #ecd8b2;
  line-height: 1.6;
  font-size: 13px;
}
.inline-notice .actions {
  margin-top: 18px;
}
#memory-settings > label {
  margin-top: 24px;
}
#memory-settings-form > button,
#more-memory {
  margin-top: 20px;
}
#memory-effective {
  padding: 16px 0;
  border-bottom: 1px solid #283245;
}
#run-memory {
  margin-top: 24px;
}
#run-memory h4 {
  margin-bottom: 8px;
}
.tool-grants .check-label span {
  min-width: 0;
  overflow-wrap: anywhere;
}
#tool-actions,
#tool-openapi-document {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.6;
}
#tool-catalog summary,
#tool-origins {
  overflow-wrap: anywhere;
}
#tool-connections h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
#tool-discovery button {
  margin-top: 18px;
}
#tool-credential-choice {
  margin-bottom: 18px;
}
.template-record h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.template-version > summary {
  overflow-wrap: anywhere;
}
#template-import form > button,
#instance-template-adopt-controls > button {
  margin-top: 20px;
}
#template-tools,
#template-policy,
#template-model,
#template-import-document {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.6;
}
#instance-template details > label {
  margin-top: 20px;
}
.text-button[aria-current="page"] {
  color: #edf2f7;
  font-weight: 650;
}
#blueprint-asset-paths label {
  margin-top: 18px;
  overflow-wrap: anywhere;
}
#workspace-resource-bindings label:not(:first-child) {
  margin-top: 24px;
}
#blueprint-issues h3 {
  margin-top: 0;
}
#blueprint-issues li,
#blueprint-plan-status {
  overflow-wrap: anywhere;
}
#blueprint-issues li p {
  margin: 6px 0 16px;
}

.platform-navigation {
  margin-bottom: 30px;
}
.platform-navigation .sidebar-heading {
  margin-top: 0;
}
.platform-navigation button {
  display: block;
  margin: 8px 0;
  text-align: left;
}
.platform-navigation [aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.context-banner {
  border: 1px solid #35445b;
  background: #111b29;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
}
.context-banner p {
  margin: 4px 0 10px;
  font-size: 13px;
  line-height: 1.6;
}
.context-banner h3 {
  margin-top: 0;
}
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
  margin: 24px 0;
}
.fleet-card {
  margin: 0;
  min-width: 0;
}
.fleet-card h3 {
  margin: 0;
  overflow-wrap: anywhere;
}
.fleet-card .actions {
  margin-top: 20px;
}
.fleet-facts {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(0, 1.5fr);
  gap: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
}
.fleet-facts dt {
  color: #a5b2c7;
}
.fleet-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.fleet-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}
.fleet-filters label {
  flex: 1 1 140px;
  margin: 0;
}
.fleet-filters input,
.fleet-filters select {
  margin-bottom: 0;
}
.fleet-pagination {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 30px;
}
.state-badge {
  flex: 0 0 auto;
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  background: #283245;
  color: #d7e0ec;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.state-online,
.state-ready {
  background: #153d37;
  color: #a9f0df;
}
.state-pending,
.state-starting,
.state-draining {
  background: #453a20;
  color: #f4dc9e;
}
.state-failed {
  background: #492b35;
  color: #ffb5c6;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #79dece;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  .fleet-filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .fleet-pagination {
    flex-wrap: wrap;
  }
  .fleet-facts {
    grid-template-columns: minmax(80px, 1fr) minmax(0, 1.4fr);
  }
}

/* One primary heading, contextual controls and actions; global navigation stays small. */
#workspace {
  min-width: 0;
}
.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.intro h1 {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.35;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.page-title-row .actions {
  margin: 0;
  flex-wrap: wrap;
}
#notice {
  min-height: 0;
  margin: 16px 0;
  overflow-wrap: anywhere;
}
#notice:empty {
  margin: 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.section-heading:has(> .visually-hidden):not(:has(> button)) {
  display: none;
}
.workspace-context {
  margin: 0 0 20px;
}
.workspace-context > label {
  display: block;
  margin-bottom: 6px;
}
.workspace-context-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.workspace-context-controls select {
  width: min(100%, 320px);
  margin: 0;
}
.workspace-context-controls #workspace-summary {
  margin: 0;
}
.workspace-context-controls.workspace-page > button {
  display: none;
}
.agent-catalog > p {
  margin-top: 0;
}
#agents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}
#agents button {
  width: 100%;
  margin: 0;
  text-align: left;
}
#add-agent-section,
#recent-work {
  margin-top: 24px;
}
.platform-navigation {
  margin-bottom: 0;
}

.access-role-definitions dd {
  white-space: normal;
}
#application-access-search button {
  margin-top: 12px;
}
#application-access-form .actions {
  margin-top: 20px;
}
#application-access-list h3.identifier {
  font-size: 14px;
}

/* Auth's application shell and interaction vocabulary, independently packaged. */
:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #edf2f7;
  background: #0c1018;
}
[hidden] {
  display: none !important;
}
.app-header {
  min-height: 78px;
  height: auto;
  padding: 20px 5vw;
  gap: 20px;
}
.header-brand,
.header-access {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.header-brand {
  align-items: baseline;
  flex-shrink: 0;
}
.brand {
  white-space: nowrap;
}
.brand span {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  margin-left: 12px;
  color: #a5b2c7;
}
.secure-access {
  color: #79dece;
  font-size: 13px;
  white-space: nowrap;
}
.header-access {
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 13px;
}
.header-session {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}
.session-email {
  color: #a5b2c7;
  overflow-wrap: anywhere;
}
.header-access a.session-email[href] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.context-label {
  color: #a5b2c7;
  font-size: 12px;
}
.header-access button,
.header-access a {
  font-size: 13px;
}
.header-context-action {
  padding: 8px 0;
}
.verification-status {
  color: #79dece;
  border: 1px solid #416663;
  background: #14232d;
  border-radius: 5px;
  padding: 7px 9px;
  font-size: 12px;
  white-space: nowrap;
}
.verification-status.expired {
  color: #f2c782;
  border-color: #746343;
}
main {
  max-width: 1480px;
  grid-template-columns: 310px minmax(0, 1fr);
  min-height: calc(100vh - 156px);
}
#workspace {
  padding: 60px 5vw;
  min-width: 0;
}
#workspace-sidebar {
  padding: 34px 28px;
  border-right: 1px solid #283245;
  min-width: 0;
}
#workspace-sidebar .sidebar-heading {
  margin: 0;
  font-size: 18px;
}
.sidebar-section + .sidebar-section {
  margin-top: 22px;
}
.sidebar-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #edf2f7;
  font-size: 18px;
  text-align: left;
  font-weight: 700;
}
.sidebar-toggle svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.sidebar-toggle:hover,
.sidebar-section.active .sidebar-toggle {
  background: #163032;
  color: #79dece;
  border-color: #315e5d;
}
.sidebar-title {
  flex: 1;
}
.sidebar-chevron {
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.15s;
}
.sidebar-section.expanded .sidebar-chevron {
  transform: rotate(90deg);
}
.sidebar-content {
  padding: 0 8px 6px 50px;
}
.sidebar-content p {
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0 14px;
}
#workspace-sidebar .sidebar-content > .text-button {
  display: block;
  padding: 5px 0;
  margin: 4px 0;
  min-height: 30px;
  text-align: left;
  line-height: 1.5;
  font-size: 13px;
  color: #79dece;
}
.sidebar-content [aria-current="page"] {
  text-decoration: underline;
  font-weight: 700;
}
.sidebar-close {
  display: none;
}
.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
#agent-name {
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0;
  line-height: 1.3;
  font-weight: 750;
}
.intro {
  margin: 0 0 20px;
}
#agent-detail {
  line-height: 1.7;
  margin: 22px 0 0;
  color: #a5b2c7;
  font-size: 16px;
}
#notice {
  min-height: 0;
  margin: 12px 0 18px;
  line-height: 1.6;
}
#notice:empty {
  display: none;
}
#page-actions:empty {
  display: none;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.card {
  background: #111927;
  border: 1px solid #283245;
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 18px;
  min-width: 0;
}
.card h2,
.card h3 {
  margin-top: 0;
  color: #edf2f7;
}
.card h3 {
  font-size: 16px;
  line-height: 1.5;
}
.card .muted {
  line-height: 1.65;
}
.card form {
  margin-top: 18px;
}
.card label {
  display: block;
  margin: 16px 0 8px;
  color: #a5b2c7;
  font-size: 14px;
}
.card label input,
.card label select,
.card label textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.card label.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.card label.checkbox-row input {
  width: auto;
  margin-top: 3px;
}
.card .actions {
  margin-top: 20px;
}
.card > button,
.card form > button {
  margin-top: 18px;
}
button,
.button {
  border-radius: 6px;
  min-height: 38px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 650;
}
button.secondary {
  background: #202b3c;
  border: 1px solid #3a4a62;
  color: #edf2f7;
}
button:hover:not(:disabled),
.button:hover {
  filter: brightness(1.13);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
input,
select,
textarea {
  max-width: 100%;
  border: 1px solid #3a4a62;
  border-radius: 6px;
  background: #0c1420;
  color: #edf2f7;
  padding: 10px 12px;
  font: inherit;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #79dece;
  outline-offset: 3px;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}
.experience-grid .card {
  margin-bottom: 0;
}
.experience-grid {
  margin-bottom: 20px;
}
.experience-search {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 20px 0 26px;
}
.experience-search label {
  flex: 1;
  color: #a5b2c7;
  font-size: 14px;
}
.experience-search input {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.experience-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  border-bottom: 1px solid #283245;
  padding-bottom: 16px;
}
.experience-pagination,
.fleet-pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  border-top: 1px solid #283245;
  padding-top: 20px;
  margin-top: 24px;
  font-size: 13px;
}
.experience-pagination > span:first-child {
  margin-right: auto;
}
.state-badge {
  display: inline-block;
  color: #79dece;
  background: #163032;
  border: 1px solid #315e5d;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 12px;
}
.task-answer {
  font: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.feedback-error {
  color: #ffc0bd;
}
.identifier {
  overflow-wrap: anywhere;
}
.credential-management {
  margin-top: 20px;
}
.credential-management summary {
  color: #a5b2c7;
  font-size: 13px;
  cursor: pointer;
}
.credential-management p {
  line-height: 1.6;
}
footer {
  border-top: 1px solid #283245;
  font-size: 12px;
  padding: 28px;
  color: #a5b2c7;
  text-align: center;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: #202b3c;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
dialog {
  max-width: min(460px, calc(100vw - 32px));
  background: #111927;
  color: #edf2f7;
  border: 1px solid #3a4a62;
  border-radius: 12px;
  padding: 28px;
}
dialog::backdrop {
  background: #000a;
}
dialog .actions {
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .app-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .header-access {
    justify-content: flex-start;
  }
}
@media (max-width: 800px) {
  main {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
  }
  #workspace-sidebar {
    position: relative;
    padding: 28px 5px;
    width: 56px;
    border-right: 1px solid #283245;
  }
  .sidebar-section + .sidebar-section {
    margin-top: 12px;
  }
  .sidebar-toggle {
    width: 44px;
    height: 44px;
    padding: 10px;
    justify-content: center;
  }
  .sidebar-toggle .sidebar-title,
  .sidebar-toggle .sidebar-chevron {
    display: none;
  }
  .sidebar-toggle svg {
    width: 21px;
    height: 21px;
  }
  .sidebar-content {
    position: absolute;
    left: 56px;
    top: 28px;
    width: min(280px, calc(100vw - 72px));
    max-height: calc(100vh - 220px);
    overflow: auto;
    z-index: 30;
    padding: 20px;
    background: #111927;
    border: 1px solid #3a4a62;
    border-radius: 8px;
    box-shadow: 0 16px 38px #0007;
  }
  .sidebar-close {
    display: block;
    margin-left: auto;
    font-size: 12px;
  }
  #workspace-sidebar .sidebar-content > .text-button {
    width: 100%;
  }
  #workspace {
    padding: 36px 16px;
  }
  .header-brand {
    gap: 8px;
    flex-wrap: wrap;
  }
  .header-access {
    gap: 8px;
    width: 100%;
  }
  .header-session {
    width: 100%;
  }
  .header-access button {
    padding: 8px 10px;
  }
  .context-label {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .card {
    padding: 18px;
  }
  .experience-search {
    align-items: stretch;
    flex-direction: column;
  }
  .page-title-row {
    align-items: flex-start;
  }
  .experience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  body:not(.signed-in) main {
    display: block;
  }
  body:not(.signed-in) #workspace-sidebar {
    display: none;
  }
}
/* Override older platform selectors with the same specificity as the Auth shell. */
main {
  max-width: 1420px;
  grid-template-columns: 300px minmax(0, 1fr);
}
#workspace {
  padding: 45px 5vw;
}
#workspace > .intro,
#workspace > .workspace-panel,
#workspace-controls,
#workspace-tabs,
#notice {
  max-width: 680px;
}
.platform-navigation .sidebar-toggle {
  display: flex;
  margin: 0;
  align-items: center;
  gap: 14px;
}
.platform-navigation .sidebar-close {
  display: none;
}
.experience-pagination select {
  width: auto;
  min-width: 64px;
}
#identity > .verification-status,
#identity > .context-label {
  display: inline-block;
}
.brand span {
  display: inline;
  font-size: 13px;
  font-weight: 400;
}
@media (max-width: 800px) {
  main {
    grid-template-columns: 56px minmax(0, 1fr);
  }
  #workspace {
    padding: 30px 16px;
  }
  .platform-navigation .sidebar-close {
    display: block;
  }
  .platform-navigation .sidebar-toggle {
    gap: 0;
  }
}
.fleet-pagination label,
.experience-pagination label {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #a5b2c7;
  font-size: 13px;
}
[data-page-size] {
  width: auto;
  min-width: 64px;
}

body.signed-out #application-main {
  grid-template-columns: 1fr;
}
body.signed-out #workspace {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
}

.confirmation-options {
  position: relative;
  font-size: 12px;
}
.confirmation-options > summary {
  color: #79dece;
  cursor: pointer;
  padding: 8px 4px;
}
.confirmation-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(290px, calc(100vw - 40px));
  padding: 16px;
  border: 1px solid #334156;
  border-radius: 8px;
  background: #111a27;
  box-shadow: 0 12px 30px #0006;
  z-index: 50;
}
.confirmation-menu p {
  margin: 0 0 12px;
  line-height: 1.5;
}
.confirmation-complete {
  display: block;
  width: min(600px, 100%);
  margin: 12vh auto;
  padding: 24px;
}
