/* Engineering uses the console identity; workflow geometry remains in workspace.css. */
:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 14px;
}
html.otto-console .masthead {
  height: auto;
  min-height: 86px;
  padding: 18px 30px;
  background: rgba(255, 255, 255, 0.95);
}
.header-label {
  border-color: var(--line);
  padding-left: 20px;
  font-size: 11px;
}
.prototype {
  background: #f3f6f7;
  color: var(--dim);
  border-color: var(--line);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.shell {
  max-width: 1220px;
  padding-top: 40px;
}
.page-title {
  margin-bottom: 28px;
}
h1,
.view-head h1,
.report > h2 {
  font-family: inherit;
  font-weight: 450;
  font-size: 36px;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.eyebrow {
  color: var(--dim);
  font-weight: 500;
  letter-spacing: 0.13em;
  font-size: 10px;
}
.subtitle {
  font-size: 15px;
}
.context {
  background: #fafcfd;
  border-color: var(--line);
  border-radius: 10px;
}
.context-item b {
  font-weight: 500;
}
.context-item {
  min-width: 0;
}
.context-item b {
  overflow-wrap: anywhere;
}
.action-card,
.action-card.featured {
  background: linear-gradient(135deg, #fff 5%, #f0f4f6b3 85%);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 13px;
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 30px #26343d06;
  min-height: 265px;
}
.action-card:hover,
.action-card.featured:hover {
  background: linear-gradient(135deg, #fff, #edf3f6);
  border-color: #aabac3;
  box-shadow: 0 15px 34px #26343d0c;
  transform: translateY(-2px);
}
.action-card h2 {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.action-card p,
.card-bottom {
  color: var(--dim);
}
.icon-tile {
  background: #edf2f5;
  border-color: #e0e8ed;
  color: #576f7c;
  border-radius: 9px;
}
.card-index {
  color: #89979f;
}
.panel,
.recent-row {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 5px 20px #23303a04;
}
.recent-row:hover {
  border-color: #aabac3;
}
.pill,
.pill.orange {
  background: #f2f6f8;
  border-color: #d9e2e7;
  color: #526a77;
}
.pill.green {
  background: var(--good-wash);
  border-color: #bdd7c8;
  color: #24734f;
}
.pill.pending {
  background: #fbf4e7;
  border-color: #e5d3b2;
  color: #886019;
}
html.otto-console .btn.primary {
  background: var(--otto-frost);
  color: #273e49;
  border-color: #b8c7cf;
}
.input,
html.otto-console input,
html.otto-console select,
html.otto-console textarea {
  background: #fff;
  border-color: #cad5dc;
  color: var(--text);
}
.field > label:first-child,
.field > span:first-child,
.recap-fields legend {
  color: #56666e;
}
.unit {
  color: #647177;
}
.input::placeholder {
  color: #98a3a9;
}
.corner-step.active {
  background: #edf3f6;
  border-color: #bdcdd5;
  color: #273e49;
}
.corner-step .n {
  border-color: #c5d1d8;
}
.corner-step.active .n {
  background: #536e7c;
  color: white;
  border-color: #536e7c;
}
.car-map > svg path:first-child {
  fill: #edf2f5;
  stroke: #a7b8c1;
}
.car-map > svg path:nth-child(2) {
  fill: #dce5eb;
  stroke: #acbcc5;
}
.car-map > svg path:nth-child(3) {
  stroke: #a7b8c1;
}
html.otto-console .wheel.active {
  background: #536e7c;
  color: #fff;
  border-color: #536e7c;
  box-shadow: 0 0 0 5px #e9f0f4;
}
.front-label {
  color: var(--dim);
}
.corner-card {
  background: #fafcfd;
}
.setup-line span {
  color: var(--dim);
}
.shared-summary {
  background: #f5f8fa;
}
.sign-button {
  color: #526a77;
  border-color: #c9d5db;
}
.draft-row {
  border-color: #afc4cf;
}
.draft-status {
  color: #527463;
}
.notice {
  background: #f4f7f9;
  border-color: #dce5eb;
  color: #536a78;
}
.form-error {
  color: #a13e32;
}
.chat-compose {
  background: #fff;
  border-color: #bfced6;
}
.chat-foot,
.message.user .message-label {
  color: #647177;
}
.message.user {
  background: #f0f5f8;
}
.prompt-choices button {
  border-color: var(--line);
}
.prompt-choices button:hover {
  background: #f3f7f9;
}
.note-entry {
  border-color: #7c96a5;
}
.note-entry > b {
  color: #415c6d;
}
.note-entry p {
  color: #445761;
}
.segmented {
  background: #f4f7f9;
  border-color: var(--line);
}
.segmented > button.selected {
  background: #e4edf2;
  color: #273e49;
}
.audience-choice {
  border-color: var(--line);
}
.audience-choice.selected {
  background: #f1f6f9;
  border-color: #aabfcf;
}
.radio-dot {
  border-color: #acbcc6;
}
.selected .radio-dot {
  border-color: #57798c;
}
dialog {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
  box-shadow: 0 25px 80px #27343d22;
}
dialog::backdrop {
  background: #35495755;
}
#toast {
  background: #f0f5f7;
  border-color: #b8cbd5;
  color: #273e49;
  box-shadow: 0 8px 30px #23303a18;
}
.report {
  box-shadow: 0 10px 50px #27343d10;
  border: 1px solid var(--line);
}
.report-top {
  border-color: #637f8e;
}
.report-kicker,
.report-section h3 > span {
  color: #536f7e;
}
.report-appendix {
  border-color: #bdcdd5;
}
.report-editable:hover,
.report-editable:focus {
  background: #f5f8fa;
}
.report-logo {
  width: 170px;
  height: auto;
}
.site-footer i {
  color: #8499a4;
}
.storage-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: -9px 0 26px;
  background: #f9fbfc;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.storage-bar b {
  color: #354f5f;
}
.storage-bar .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.storage-error {
  color: #963e33;
}
.folder-list {
  max-height: 300px;
  overflow: auto;
  display: grid;
  gap: 7px;
  margin-top: 16px;
}
.folder-list button {
  text-align: left;
  padding: 12px;
  font-size: 13px;
}
.folder-choice {
  padding: 14px;
  background: #f4f7f9;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
}
.folder-choice strong {
  display: block;
}
.folder-choice .btn {
  margin-top: 12px;
}
.folder-message {
  min-height: 20px;
  color: #a13e32;
  margin-top: 10px;
}
.folder-search {
  margin-top: 10px;
}
.context-form-grid {
  margin-top: 15px;
}
.btn[disabled] {
  pointer-events: none;
}
@media (max-width: 680px) {
  html.otto-console .masthead {
    padding: 16px 18px;
    min-height: 74px;
    gap: 14px;
    flex-wrap: nowrap;
  }
  .masthead .otto-console-logo {
    width: 158px;
  }
  .prototype {
    display: none;
  }
  .shell {
    padding-top: 25px;
  }
  h1,
  .view-head h1 {
    font-size: 31px;
  }
  .context {
    padding-right: 45px;
  }
  .storage-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .action-card h2 {
    font-size: 23px;
  }
  .setup-line b {
    text-align: right;
  }
  .setup-line {
    flex-wrap: wrap;
  }
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
  .report-logo {
    width: 140px;
  }
}
@media print {
  .wnav-btn,
  .wnav-drawer,
  .wnav-backdrop,
  .storage-bar {
    display: none !important;
  }
  .report {
    border: 0;
  }
}
.flow-layout > * {
  min-width: 0;
}
.corner-rail {
  min-width: 0;
  max-width: 100%;
}
.keyboard-hint kbd {
  background: #eef3f6;
  border-color: #d8e1e7;
  color: #536975;
}
.corner-extra summary {
  color: #667a85;
}
@media (max-width: 760px) {
  .flow-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 680px) {
  .view-head > .btn {
    white-space: nowrap;
    align-self: flex-start;
    padding: 10px;
    font-size: 12px;
  }
  .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .input-with-select {
    flex-wrap: wrap;
  }
  .input-with-select select {
    width: 100%;
  }
  .input-with-select input {
    width: 100%;
  }
  .form-heading {
    gap: 8px;
  }
  .step-actions {
    gap: 8px;
  }
}

#folder-create {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 16px;
}
#folder-create summary {
  cursor: pointer;
  color: #415d6d;
  margin-bottom: 12px;
}
#new-folder-path {
  overflow-wrap: anywhere;
  margin-bottom: 8px;
}
#folder-create .inline {
  align-items: stretch;
}
#folder-create .btn {
  margin-top: 0;
  white-space: nowrap;
}
