.architecture-header { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.5rem clamp(1.25rem,5vw,6rem); background: var(--ink); color: var(--white); }
.architecture-header > a:last-child { font-size: .8125rem; }
.architecture-main { max-width: 1680px; padding: 3.5rem clamp(1.25rem,5vw,6rem) 4rem; margin: auto; }
.architecture-intro { max-width: 62rem; margin-bottom: 2.5rem; }
.architecture-intro h1 { font-size: clamp(2.4rem,4.5vw,4.6rem); line-height: 1.12; margin: 1.1rem 0; }
.architecture-intro > p:last-child { font-size: 1.05rem; max-width: 50rem; color: var(--muted); margin: 0; }
.architecture-project-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.architecture-project-bar label { display: block; font-family: var(--mono); text-transform: uppercase; font-size: .6875rem; margin-bottom: .4rem; color: var(--muted); }
.architecture-project-bar select { font: inherit; font-size: .9375rem; color: var(--ink); border: 1px solid #bac8da; border-radius: 4px; background: var(--white); max-width: 100%; padding: .65rem 2rem .65rem .75rem; min-height: 44px; }
.architecture-status { font-size: .8125rem; color: var(--muted); margin: 0; }
.architecture-download { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; gap: 1rem; font-size: .8125rem; border-bottom: 1px solid #9cacc0; }
.architecture-map-heading { display: flex; justify-content: space-between; gap: 1.25rem; align-items: center; margin: 1.5rem 0 1rem; flex-wrap: wrap; }
.architecture-map-tabs { display: flex; gap: .5rem; }
.architecture-map-tabs button { border: 1px solid #c4cfdd; border-radius: 4px; padding: .7rem 1rem; background: transparent; color: var(--muted); font-size: .8125rem; min-height: 44px; }
.architecture-map-tabs [aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.architecture-meta { font-family: var(--mono); font-size: .6875rem; color: #3f587a; }
.architecture-explorer { display: grid; grid-template-columns: minmax(0,1fr) 19rem; gap: 1.25rem; align-items: start; }
.diagram-panel { min-width: 0; border: 1px solid #c8d3e1; background: var(--white); border-radius: 6px; overflow: hidden; }
.diagram-toolbar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; padding: .65rem .9rem; border-bottom: 1px solid var(--line); background: #edf2f7; }
.diagram-toolbar > div { display: flex; align-items: center; gap: .4rem; }
.diagram-toolbar button { border: 1px solid #c2cddd; border-radius: 3px; background: #fff; color: var(--ink); min-width: 40px; min-height: 40px; padding: .35rem .6rem; }
.diagram-toolbar output { font-family: var(--mono); font-size: .6875rem; text-align: center; min-width: 3.2rem; }
.diagram-toolbar a { font-size: .75rem; padding: .4rem 0; }
.diagram-stage { overflow: auto; height: 35rem; background: #fbfcfe; cursor: grab; overscroll-behavior: contain; }
.diagram-stage.is-dragging { cursor: grabbing; user-select: none; }
#diagram-canvas { width: max-content; min-width: 100%; padding: 1.25rem; }
#diagram-canvas svg { display: block; max-width: none; height: auto; }
.diagram-help { padding: .75rem 1rem; margin: 0; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--line); }
.component-inspector { border: 1px solid #c8d3e1; padding: 1.25rem; border-radius: 6px; background: #edf2f7; }
.component-inspector .eyebrow { font-size: .625rem; }
.component-inspector h2 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; letter-spacing: -.03em; margin: .75rem 0 .4rem; }
.component-inspector .component-actor { color: #3f587a; font-size: .75rem; font-weight: 600; margin: 0 0 1rem; }
#component-description { font-size: .875rem; color: var(--muted); margin: 0; }
#component-connections { margin-top: 1.25rem; border-top: 1px solid #c8d3e1; padding-top: 1rem; }
#component-connections h3 { font-family: var(--mono); font-size: .625rem; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0 0 .5rem; }
#component-connections ul { list-style: none; padding: 0; margin: 0; }
#component-connections button { background: none; border: 0; padding: .4rem 0; color: #324e74; text-align: left; font-size: .8125rem; line-height: 1.5; }
#component-connections small { display: block; color: var(--muted); font-size: .6875rem; }
.architecture-challenges { margin-top: 3.5rem; }
.architecture-challenges h2 { font-size: clamp(1.8rem,3vw,2.75rem); letter-spacing: -.045em; font-weight: 500; line-height: 1.2; margin: .75rem 0 1.75rem; }
.challenge-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.challenge-list article { border-top: 2px solid #688c29; padding: 1.25rem 0 0; }
.challenge-list h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; margin: 0 0 .6rem; }
.challenge-list p { font-size: .875rem; color: var(--muted); margin: 0; }
.architecture-footer-note { display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; margin-top: 2.75rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .6875rem; color: var(--muted); }
.architecture-footer-note p { margin: 0; }
.architecture-footer-note a { text-decoration: underline; text-underline-offset: .25rem; }
.architecture-static-list li { margin-bottom: 1rem; }
.architecture-static-list a { text-decoration: underline; }
@media (max-width: 1100px) { .architecture-explorer { grid-template-columns: minmax(0,1fr); } .component-inspector { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; } .component-inspector > .eyebrow,.component-inspector h2,.component-inspector .component-actor { grid-column: 1; } #component-description { grid-column: 1; } #component-connections { grid-column: 2; grid-row: 1 / 5; margin-top: 0; border-top: 0; border-left: 1px solid #c8d3e1; padding: 0 0 0 1.5rem; } }
@media (max-width: 600px) { .architecture-main { padding-top: 2.5rem; } .architecture-header .brand { font-size: 1.2rem; } .architecture-header > a:last-child { font-size: .6875rem; } .architecture-project-bar { gap: .75rem; } .architecture-project-bar > div { width: 100%; } .architecture-project-bar select { width: 100%; } .architecture-download { margin-left: 0; } .diagram-stage { height: 28rem; } .component-inspector { display: block; } #component-connections { border-left: 0; padding-left: 0; border-top: 1px solid #c8d3e1; margin-top: 1rem; padding-top: 1rem; } .challenge-list { grid-template-columns: 1fr; gap: 1.75rem; } .architecture-map-tabs { width: 100%; } .architecture-map-tabs button { flex: 1; font-size: .75rem; } }
