.app-shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 28px; max-width: 1720px; margin: 0 auto; padding: 16px; }
.sidebar { position: sticky; top: 16px; display: flex; flex-direction: column; height: calc(100dvh - 32px); min-height: 0; max-height: 1060px; overflow-y: auto; scrollbar-width: thin; padding: var(--space-6) var(--space-4) var(--space-4); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-card); }
.sidebar-heading, .nav-label, .sidebar-bottom { flex: 0 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 var(--space-2) var(--space-4); text-decoration: none; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.045em; }
.sidebar-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: 0 var(--space-1) var(--space-5); }
.sidebar-tools .button { min-width: 0; padding-inline: var(--space-2); }
.brand-caption { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; letter-spacing: .035em; color: var(--muted); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 41px; border-radius: 12px; background: var(--accent); color: #5d410e; }
.brand-mark .icon { width: 23px; height: 23px; }
.nav-label { padding: 0 12px; margin-bottom: 12px; color: var(--muted); font-size: 11px; }
.sidebar-nav { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 96px; overflow-y: auto; scrollbar-width: thin; gap: 6px; }
.sidebar-nav .nav-item { flex: 0 0 auto; }
.sidebar-nav .nav-item:focus-visible { outline-offset: -3px; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 11px 12px; border-radius: 12px; font-size: 13px; text-decoration: none; transition: background .18s; }
.nav-item .icon { width: 18px; height: 18px; color: var(--muted); }
.nav-item:hover { background: var(--surface-soft); }
.nav-item.active { color: var(--accent-text); background: var(--accent-soft); font-weight: 600; }
.nav-item.active .icon { color: var(--accent-text); }
.sidebar-bottom { margin-top: auto; padding-top: var(--space-4); }
.sidebar-note { margin: 0 var(--space-1) var(--space-4); padding: var(--space-4) var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-control); }
.sidebar-note > .icon { color: var(--accent-text); margin-bottom: 10px; }
.sidebar-note strong { display: block; font-size: 12px; font-weight: 600; }
.sidebar-note p { margin-top: 6px; font-size: 12px; color: var(--muted); }
.workspace-identity { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.identity-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); font-size: 11px; color: var(--accent-text); }
.workspace-identity strong { font-size: 12px; font-weight: 600; }
.workspace-identity small { display: block; font-size: 10px; color: var(--muted); }
.workspace-identity .status-dot { margin-left: auto; }
.dashboard { min-width: 0; padding: 0 var(--space-3) 0 0; }
.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 18px; align-items: stretch; }
.overview-card { grid-column: span 3; display: flex; flex-direction: column; min-height: 240px; }
.overview-card h2, .environment-card h2 { font-size: 15px; }
.overview-card .muted { font-size: 12px; line-height: 1.8; max-width: 190px; white-space: pre-line; }
.stat-value { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 8px 0 4px; font-size: 56px; font-weight: 550; letter-spacing: -.065em; line-height: 1.3; }
.overview-card .text-link { margin-top: auto; padding-top: 18px; }
.featured-card { position: relative; grid-column: span 5; min-height: 240px; overflow: hidden; background: var(--accent-soft); }
.featured-copy { position: relative; z-index: 1; max-width: 75%; }
.featured-copy .eyebrow { color: var(--accent-text); font-size: 11px; letter-spacing: .03em; }
.featured-copy h2 { margin: 14px 0 9px; max-width: 220px; font-size: 24px; line-height: 1.4; }
.featured-copy p { margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; white-space: pre-line; }
.featured-copy .button { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.backup-art { position: absolute; width: 175px; height: 210px; right: -12px; bottom: 0; color: var(--accent-text); pointer-events: none; }
.orbit { position: absolute; border: 1px solid var(--accent); border-radius: 50%; opacity: .26; }
.orbit-outer { width: 220px; height: 220px; left: -10px; top: -12px; }
.orbit-inner { width: 160px; height: 160px; left: 20px; top: 18px; }
.backup-database { position: absolute; top: 54px; left: 55px; width: 83px; height: 94px; padding: 10px; border: 1px solid var(--accent); border-radius: 20px; background: var(--surface); box-shadow: 0 10px 25px #93662412; transform: rotate(-9deg); }
.backup-database svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.art-check { position: absolute; display: grid; place-items: center; top: 132px; left: 116px; width: 30px; height: 30px; border: 4px solid var(--accent-soft); border-radius: 50%; background: var(--success-soft); color: var(--success); }
.art-check .icon { width: 15px; height: 15px; }
.art-block { position: absolute; width: 17px; height: 17px; border: 1px solid var(--accent); background: var(--surface); border-radius: 5px; transform: rotate(12deg); }
.block-one { left: 18px; top: 43px; }.block-two { left: 30px; top: 158px; width: 12px; height: 12px; }
.environment-card { grid-column: span 4; display: flex; flex-direction: column; }
.environment-value { font-size: 27px; font-weight: 550; line-height: 1.45; letter-spacing: -.045em; margin: 20px 0 9px; }
.environment-card > .muted { font-size: 13px; white-space: pre-line; }
.environment-status { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--success); font-size: 11px; }
.labs-card { grid-column: span 7; }
.count-label, .subtle-label { color: var(--muted); font-size: 11px; }
.search-field { display: flex; align-items: center; gap: 10px; margin: 20px 0 8px; padding: 0 13px; min-height: 42px; border: 1px solid var(--border); border-radius: 12px; color: var(--muted); }
.search-field:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.search-field .icon { width: 16px; height: 16px; }
.search-field input { width: 100%; min-width: 0; min-height: 40px; outline: none; border: 0; background: transparent; color: var(--text); font-size: 13px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.lab-row { display: flex; align-items: center; gap: 12px; min-height: 83px; margin: 0 -8px; padding: 12px 8px; border-bottom: 1px solid var(--border); text-decoration: none; border-radius: 12px; }
.lab-row:last-child { border-bottom-color: transparent; }
.lab-row:hover, .lab-row:focus-visible { background: var(--accent-soft); }
.lab-row:hover .icon-tile { background: var(--surface); color: var(--accent-text); border-color: transparent; }
.lab-row-copy { flex: 1; min-width: 0; }
.lab-row-copy > span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.lab-tag { font-size: 10px; color: var(--muted); background: var(--surface-soft); padding: 4px 8px; border-radius: 6px; }
.row-arrow { width: 17px; height: 17px; color: var(--muted); }
.card-footnote { display: flex; align-items: flex-start; gap: 7px; margin-top: 18px; color: var(--muted); font-size: 11px; }
.card-footnote .icon { width: 15px; height: 15px; margin-top: 1px; }
.empty-state { padding: 64px 16px; color: var(--muted); text-align: center; }
.preview-card { grid-column: span 5; display: flex; flex-direction: column; }
.flow-illustration { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 166px; margin: 22px 0 18px; padding: 20px; border-radius: 18px; background: var(--surface-soft); }
.flow-line { position: absolute; width: calc(100% - 80px); height: 1px; left: 40px; top: 50%; background: var(--accent); }
.flow-node { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 15px; background: var(--surface); color: var(--muted); }
.flow-node-main { width: 66px; height: 66px; border-radius: 21px; border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); box-shadow: 0 0 0 8px var(--surface), 0 0 0 9px var(--border); }
.flow-node-main .icon { width: 30px; height: 30px; }
.flow-number { position: absolute; bottom: 15px; color: var(--muted); font-size: 10px; font-family: var(--font-mono); }
.number-one { left: 37px; }.number-two { left: calc(50% - 6px); }.number-three { right: 36px; }
.preview-card h3 { margin-bottom: 8px; font-size: 19px; }
.preview-card > .muted { min-height: 44px; font-size: 13px; }
.flow-steps { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 21px 0 23px; padding: 0; list-style: none; counter-reset: flow; }
.flow-steps li { flex: 1; font-size: 11px; color: var(--muted); counter-increment: flow; }
.flow-steps li::before { content: counter(flow, decimal-leading-zero); display: block; margin-bottom: 5px; font: 11px var(--font-mono); color: var(--accent-text); }
.preview-card > .text-link { margin-top: auto; }
.learning-card { grid-column: span 8; }
.learning-card > .muted { margin-top: 10px; font-size: 12px; }
.learning-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.learning-steps a { display: flex; flex-direction: column; min-height: 115px; padding: 13px; border-radius: 14px; background: var(--surface-soft); text-decoration: none; }
.learning-steps a:hover { background: var(--accent-soft); }
.step-index { font: 11px var(--font-mono); color: var(--accent-text); }
.learning-steps strong { margin: 14px 0 4px; font-size: 12px; font-weight: 550; }
.learning-steps a > span:last-child { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; }
.learning-steps .icon { width: 15px; height: 15px; }
.docs-card { grid-column: span 4; display: flex; flex-direction: column; }
.docs-card .icon-tile { width: 36px; height: 36px; border: 0; border-radius: 11px; color: var(--accent-text); background: var(--accent-soft); }
.docs-card h2 { margin: 14px 0 8px; }
.docs-card p { font-size: 12px; margin-bottom: 17px; }
.docs-card .text-link { margin-top: auto; font-size: 12px; }
.page-footer { display: flex; align-items: flex-start; gap: 28px; padding: 26px 4px 12px; color: var(--muted); font-size: 10px; }
.page-footer > div { flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; }
.page-footer a { font-size: 12px; font-weight: 650; text-decoration: none; color: var(--text); }
.page-footer p { max-width: 840px; line-height: 1.8; }
@media (min-width: 1500px) { .card { padding: 28px; }.backup-art { right: 2px; }.lab-row { min-height: 91px; }.preview-card h3 { margin-top: 10px; } }
@media (max-width: 1190px) {
  .app-shell { grid-template-columns: 200px minmax(0, 1fr); gap: 20px; }
  .sidebar { padding-inline: 12px; }.brand { font-size: 21px; }.nav-item { gap: 9px; font-size: 12px; }
  .dashboard { padding-right: 0; }.card { padding: 20px; }.bento-grid { gap: 14px; }
  .overview-card { grid-column: span 5; }.featured-card { grid-column: span 7; }.environment-card { grid-column: span 12; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 16px; }
  .environment-card .card-heading > .icon, .environment-card > .muted { display: none; }.environment-value { font-size: 20px; margin: 0; }.environment-status { margin: 0 0 0 auto; padding: 0; }
  .lab-tag { display: none; }.lab-row { gap: 10px; }.lab-row h3 { font-size: 14px; }.flow-illustration { padding-inline: 12px; gap: 8px; }.flow-node { width: 38px; height: 40px; border-radius: 12px; }.flow-node-main { width: 52px; height: 55px; border-radius: 17px; }.number-one { left: 25px; }.number-three { right: 25px; }
  .learning-card, .docs-card { grid-column: span 12; }.docs-card .card-heading { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; padding: 14px; gap: 24px; }
  .sidebar { position: static; height: auto; min-height: 0; max-height: none; overflow: visible; padding: var(--space-4); }
  .sidebar-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); }
  .brand { margin: 0; font-size: 21px; }.brand-mark { width: 30px; height: 34px; border-radius: 9px; }
  .sidebar-tools { margin: 0; }
  .nav-label, .sidebar-bottom { display: none; }.sidebar-nav { display: grid; flex: none; min-height: 0; overflow: visible; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1); margin-top: var(--space-4); }.nav-item { min-height: 40px; padding: 8px; font-size: 12px; }.nav-item .icon { width: 16px; height: 16px; }
  .lab-row { min-height: 88px; }
}
@media (max-width: 620px) {
  .app-shell { padding: 10px; gap: 22px; }.sidebar { border-radius: 20px; padding: 14px 12px; }.brand-caption { display: block; margin-left: 0; }.sidebar-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }.nav-item { font-size: 13px; }
  .sidebar-tools { width: 100%; }
  .bento-grid { grid-template-columns: 1fr; gap: 14px; }.bento-grid > .card { grid-column: 1; padding: 22px; border-radius: 20px; }
  .overview-card { min-height: 210px; }.overview-card .muted { max-width: none; }.featured-card { min-height: 248px; }.featured-copy { max-width: 72%; }.featured-copy h2 { font-size: 23px; }.backup-art { right: -15px; opacity: .8; }
  .environment-card { gap: 8px 16px; }.environment-card .card-heading { width: 100%; }.environment-value { font-size: 23px; }.environment-status { width: 100%; margin: 0; font-size: 11px; padding-top: 7px; }
  .card-heading { flex-wrap: wrap; }.preview-card .card-heading { flex-wrap: nowrap; }.learning-card .card-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .lab-row { min-height: 90px; }.lab-row-copy h3 { font-size: 14px; }.lab-row-copy > span { font-size: 11px; }.lab-row .icon-tile { width: 36px; height: 39px; border-radius: 11px; }.row-arrow { width: 14px; }
  .flow-illustration { height: 150px; padding-inline: 22px; }.flow-node { width: 46px; height: 46px; }.flow-node-main { width: 62px; height: 62px; }.number-one { left: 40px; }.number-three { right: 40px; }
  .learning-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }.learning-steps strong { font-size: 13px; }.learning-steps a { padding: 16px; }.page-footer { flex-direction: column; gap: 14px; padding-inline: 8px; font-size: 11px; }
}
@media (max-width: 380px) {
  /* Decorative art must never sit under copy on narrow translated layouts. */
  .backup-art { display: none; }
  .featured-copy { max-width: 100%; }
}
