/* Connected homepage and expanded management workspace. */
.hero .hero-grid { grid-template-columns: minmax(310px,.72fr) minmax(0,1.28fr); gap: 40px; }
.hero h1 { font-size: clamp(3.3rem,5.15vw,5.8rem); }
.hero .hero-system-map { margin: 0; padding: 18px; min-width: 0; background: linear-gradient(145deg,#112840,#0c1e35); border-radius: 24px; }
.hero-system-map .mini-label { color: var(--cyan); }
.hero-system-map .board-header { gap: 10px; padding: 6px 4px 16px; }
.hero-system-map .board-header .mini-label { margin: 0; font-size: 9px; }
.hero-system-map .board-status { font-size: 9px; }
.hero-system-map .architecture-map { min-height: 365px; }
.hero-system-map .map-node { min-width: 0; width: 29%; padding: 12px 10px; gap: 8px; }
.hero-system-map .map-node-source { left: 2%; }
.hero-system-map .map-node-output { right: 2%; width: 27%; }
.hero-system-map .map-node strong { font-size: 12px; line-height: 1.3; }
.hero-system-map .map-node small { font-size: 9px; line-height: 1.5; color: #b0c4d7; }
.hero-system-map .node-glyph { width: 25px; height: 29px; }
.hero-system-map .map-node-core { left: 35%; top: calc(50% - 77px); width: 29%; min-height: 154px; grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 14px 10px; }
.hero-system-map .map-node-core strong { font-size: 16px; }
.hero-system-map .map-node-core .mini-label { font-size: 8px; margin: 0 0 6px; }
.hero-system-map .core-orbit { width: 33px; height: 33px; margin: 0; }
.hero-system-map .architecture-controls { gap: 6px; margin-top: 16px; }
.hero-system-map .arch-tab { flex: 1 1 auto; padding: 10px 9px; font-size: 10px; min-height: 40px; }
.hero-system-map .architecture-caption { display: block; margin-top: 20px; padding: 0 4px; }
.hero-system-map .architecture-caption > div:first-child { width: auto; }
.hero-system-map .architecture-caption .mini-label { font-size: 8px; margin-bottom: 7px; }
.hero-system-map .architecture-caption strong { font-size: 18px; }
.hero-system-map .architecture-caption p { max-width: none; width: auto; margin: 9px 0 14px; font-size: 12px; line-height: 1.65; color: #b9c9d6; }
.hero-system-map .architecture-tags { width: auto; justify-content: flex-start; gap: 6px; }
.hero-system-map .architecture-tags span { padding: 5px 8px; font-size: 9px; }
.map-dashboard-link { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 15px 4px 3px; margin-top: 15px; border-top: 1px solid #31475b; color: var(--cyan); font-size: 12px; font-weight: 700; }
.map-dashboard-link:hover { color: white; }
.management-demo { margin-top: 64px; scroll-margin-top: 100px; }
.management-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 32px; }
.management-intro h3 { margin: 0; color: white; font-size: clamp(28px,3.2vw,46px); line-height: 1.08; letter-spacing: -.045em; }
.management-intro h3 em { color: var(--cyan); font-style: normal; }
.management-intro p { margin: 0; color: #b9c9d6; font-size: 15px; line-height: 1.75; max-width: 530px; }
.management-intro .eyebrow { margin-bottom: 14px; color: var(--cyan); font-size: 10px; }
.operations-console { transform: none; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 65px #0004; background: #0d2139; color: #edf3f8; }
.operations-console .console-topline { padding: 18px 24px; flex-wrap: wrap; gap: 12px; }
.operations-console .console-title { font-size: 11px; flex-wrap: wrap; }
.operations-console .console-title strong { font-size: 10px; }
.op-reset { border: 1px solid #3d5369; border-radius: 7px; background: transparent; color: #c0d0df; padding: 9px 12px; font-size: 11px; cursor: pointer; }
.op-layout { display: grid; grid-template-columns: 194px minmax(0,1fr); }
.op-sidebar { padding: 26px 14px; border-right: 1px solid #294057; background: #0b1d32; min-width: 0; }
.op-sidebar .sidebar-label { display: block; color: #90adbf; font-size: 9px; margin: 0 10px 15px; }
.op-nav { display: grid; gap: 5px; }
.op-tab { display: flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #a8bdcd; padding: 12px 10px; text-align: left; font: 600 12px/1.4 'Manrope',sans-serif; min-height: 44px; cursor: pointer; }
.op-tab > span { color: var(--cyan); width: 16px; flex: 0 0 16px; text-align: center; font-size: 18px; }
.op-tab.active { color: white; background: #153c50; border-color: #286078; }
.op-tab:hover { color: white; background: #173248; }
.op-source-panel { border-top: 1px solid #294057; margin-top: 28px; padding-top: 24px; }
#opSources { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 10px; }
#opSources span { display: inline-block; font-size: 10px; border: 1px solid #2b445a; border-radius: 5px; padding: 6px 7px; color: #b2c9da; }
.op-source-panel > small { display: block; color: #92aabd; font-size: 10px; line-height: 1.6; margin: 16px 10px 0; }
.op-main { min-width: 0; padding: 26px; background: radial-gradient(at 100% 0%,#1a435044,transparent 42%); }
.op-main .console-heading { align-items: flex-start; margin-bottom: 22px; }
.op-main .mini-label { color: #7cd9de; font-size: 9px; margin-bottom: 8px; }
.op-main h4 { margin: 0; font-size: 26px; letter-spacing: -.045em; line-height: 1.2; }
.op-status { padding: 6px 9px; border: 1px solid #3a5267; border-radius: 5px; color: #bacbda; font-size: 10px; white-space: nowrap; }
.op-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.op-metrics .metric-card { padding: 17px 14px; min-width: 0; min-height: 116px; border-radius: 10px; background-color: #142a40; }
.op-metrics .metric-card span { color: #bdd0df; font-size: 11px; }
.op-metrics .metric-card strong { font-size: clamp(20px,2vw,29px); letter-spacing: -.07em; margin: 10px 0 6px; white-space: nowrap; }
.op-metrics .metric-card small { color: #9fb9c9; font-size: 10px; line-height: 1.5; }
.op-chart-row { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 14px; margin-top: 16px; }
.op-main .chart-card,.op-main .activity-card { border-color: #2a4257; border-radius: 12px; padding: 20px; background: #10263b; }
.op-main .chart-heading strong { font-size: 16px; margin-top: 0; }
.op-main .chart-period { font-size: 9px; color: #9eb6c8; }
#opChart svg { display: block; width: 100%; height: auto; margin-top: 16px; overflow: visible; }
#opChart text { font-family: 'DM Mono',monospace; font-size: 11px; fill: #9fb7ca; }
.op-chart-note { color: #a6bdcf; font-size: 11px; line-height: 1.6; margin: 12px 0 0; }
#opSummary > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding: 13px 0; border-bottom: 1px solid #294155; }
#opSummary > div:last-child { border-bottom: 0; padding-bottom: 0; }
#opSummary span { color: #b6cad9; font-size: 12px; }
#opSummary strong { color: #edf3f8; font-size: 14px; }
#opSummary small { grid-column: 1/-1; color: #90aabd; font-size: 10px; }
.op-work-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; margin-top: 16px; align-items: start; }
.op-work-queue,.op-assistant { padding: 20px; border: 1px solid #2a4257; border-radius: 12px; min-width: 0; background: #10263b; }
.op-card-heading { display: flex; gap: 12px; align-items: start; justify-content: space-between; }
.op-card-heading h5,.op-assistant h5 { font-size: 15px; line-height: 1.35; margin: 0; letter-spacing: -.025em; }
#opActionCount { color: #9ab3c5; font-size: 10px; line-height: 1.5; max-width: 90px; text-align: right; }
.op-record { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 18px 0; border-bottom: 1px solid #294155; }
.op-record:last-child { border-bottom: 0; padding-bottom: 0; }
.op-record strong { font-size: 12px; color: #e4eef6; }
.op-record p { color: #aac0d1; font-size: 11px; line-height: 1.55; margin: 6px 0; }
.op-record small { color: #87a4ba; font-size: 10px; }
.op-record > span { max-width: 105px; align-self: start; border: 1px solid #655246; border-radius: 4px; background: #382e2b; color: #f5bda4; padding: 4px 6px; font-size: 9px; line-height: 1.5; text-align: center; }
.op-record > .record-done { color: #a2e5cb; border-color: #356b62; background: #183b3b; }
.op-action-notice { color: #8be0c6; font-size: 11px; line-height: 1.5; }
.op-action-notice:not(:empty) { padding-top: 18px; }
.op-assistant { background: linear-gradient(145deg,#17394a,#10273e); border-color: #356277; }
.op-assistant-heading { display: flex; gap: 11px; align-items: center; }
.op-ai-mark { display: grid; place-items: center; flex: 0 0 35px; height: 35px; border-radius: 9px; background: #245363; color: #62e0d2; font-size: 24px; }
.op-assistant-heading small { display: block; color: #9fb9cb; font-size: 10px; margin-top: 5px; line-height: 1.5; }
.op-prompts { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 14px; }
.op-prompts button { border: 1px solid #3c6175; background: #113044; color: #c4eeef; padding: 8px 10px; border-radius: 6px; font-size: 10px; min-height: 36px; cursor: pointer; }
.op-prompts button:hover { border-color: var(--cyan); }
.op-answer { min-height: 90px; font-size: 12px; color: #d8e6ef; line-height: 1.75; border-left: 2px solid var(--cyan); padding: 10px 0 10px 13px; }
.op-answer[aria-busy=true]::after { content: '▋'; color: var(--cyan); }
.op-approval { margin-top: 12px; padding: 13px; border: 1px solid #4d7180; border-radius: 7px; background: #0d2438; }
.op-approval p { color: #ccdae6; font-size: 11px; line-height: 1.6; margin: 0 0 14px; }
.op-approval .button { width: 100%; padding: 11px; min-height: 43px; font-size: 11px; box-shadow: none; gap: 12px; }
.op-cancel { display: block; margin: 12px auto 0; background: transparent; border: 0; color: #b4c8d8; font-size: 11px; text-decoration: underline; cursor: pointer; }
.op-chat { margin: 18px 0 10px; }
.op-chat label { display: block; color: #b7ccdb; font-size: 10px; margin-bottom: 8px; }
.op-chat > div { display: flex; min-width: 0; background: #0b2033; border: 1px solid #416173; border-radius: 8px; padding: 4px; }
.op-chat input { width: 100%; min-width: 0; border: 0; background: transparent; color: white; font-family: inherit; font-size: 12px; padding: 9px; }
.op-chat input::placeholder { color: #91aabe; }
.op-chat button { flex: 0 0 36px; height: 36px; border-radius: 6px; border: 0; background: #64d6d3; color: #0b2433; font-size: 20px; font-weight: 700; cursor: pointer; }
.op-simulation-note { display: block; color: #90acbf; font-size: 10px; line-height: 1.55; }
.op-data-details { margin-top: 24px; color: #b6cbdc; font-size: 11px; }
.op-data-details summary { padding: 12px 0; cursor: pointer; }
.op-data-details p { line-height: 1.7; }
.op-data-details table { width: 100%; border-collapse: collapse; font-family: 'DM Mono',monospace; font-size: 10px; }
.op-data-details caption { text-align: left; margin: 14px 0 10px; }
.op-data-details td,.op-data-details th { padding: 9px 3px; border-bottom: 1px solid #314b61; text-align: left; }
.management-scope { color: #9db6ca; font-size: 12px; line-height: 1.7; margin: 23px 0 0; }
.operations-console button:focus-visible,.op-chat input:focus-visible,.map-dashboard-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media(min-width:1500px) { .hero-system-map .architecture-map { min-height: 430px; } .hero-system-map .map-node strong { font-size: 14px; } .hero-system-map .map-node small { font-size: 10px; } }
@media(max-width:1150px) {
 .hero .hero-grid { grid-template-columns: 1fr; gap: 36px; }
 .hero .hero-copy { max-width: 850px; }
 .hero h1 { max-width: 800px; font-size: clamp(3.5rem,7.5vw,5rem); }
 .hero-lede { max-width: 700px; }
 .hero-system-map .architecture-map { min-height: 380px; }
 .hero-system-map .map-node strong { font-size: 14px; }
 .hero-system-map .map-node small { font-size: 11px; }
 .op-layout { grid-template-columns: 174px minmax(0,1fr); }
 .op-main { padding: 20px; }
 .op-main .chart-card,.op-main .activity-card,.op-work-queue,.op-assistant { padding: 16px; }
 .op-work-row { grid-template-columns: 1fr; }
 .op-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .hero { padding-top: 52px; }
 .hero .hero-copy { padding-top: 0; }
 .hero h1 { font-size: clamp(42px,9.6vw,64px); }
 .management-intro { grid-template-columns: 1fr; gap: 22px; }
 .management-demo { margin-top: 44px; }
 .op-layout { grid-template-columns: 1fr; }
 .op-sidebar { padding: 16px; border-right: 0; border-bottom: 1px solid #294057; }
 .op-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .op-tab { padding: 10px; font-size: 12px; }
 .op-source-panel { margin-top: 16px; padding-top: 14px; }
 .op-source-panel > small { margin-top: 10px; }
 #opSources { margin: 0; }
 .op-sidebar .sidebar-label { margin-left: 0; }
 .op-chart-row { grid-template-columns: 1fr; }
 #opSummary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
 #opSummary > div { grid-template-columns: 1fr; }
 #opSummary strong { font-size: 18px; }
 .op-main h4 { font-size: 23px; }
 .op-main .console-heading { flex-wrap: wrap; gap: 12px; }
 .op-main { padding: 16px; }
 .operations-console .console-topline { padding: 16px; }
 .op-chat input { font-size: 16px; }
 .op-answer { font-size: 13px; }
 .op-record strong { font-size: 13px; }
 .op-record p { font-size: 12px; }
 .op-metrics .metric-card strong { font-size: 24px; }
 .op-data-details table { font-size: 8px; }
}
@media(max-width:760px) {
 .hero .hero-system-map { padding: 12px; border-radius: 18px; }
 .hero-system-map .board-header { align-items: start; flex-direction: column; gap: 8px; }
 .hero-system-map .architecture-map { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; min-height: 0; padding: 12px 9px; }
 .hero-system-map .architecture-lines { display: none; }
 .hero-system-map .architecture-map .map-node { position: relative; inset: auto!important; width: auto; min-width: 0; margin: 0; padding: 11px 7px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; grid-column: span 2; }
 .hero-system-map .architecture-map .map-node strong { font-size: 11px; line-height: 1.45; }
 .hero-system-map .architecture-map .map-node small { font-size: 9px; line-height: 1.6; }
 .hero-system-map .architecture-map .map-node-core { grid-column: 1/-1; min-height: 116px; width: 67%; margin: 16px auto; gap: 12px; flex-direction: row; }
 .hero-system-map .map-node-core::before,.hero-system-map .map-node-core::after { position: absolute; left: 50%; width: 1px; height: 24px; content: ''; background: linear-gradient(var(--cyan),#4ed3de55); }
 .hero-system-map .map-node-core::before { bottom: 100%; }
 .hero-system-map .map-node-core::after { top: 100%; }
 .hero-system-map .architecture-map .map-node-core strong { font-size: 16px; }
 .hero-system-map .architecture-map .map-node-output { grid-column: span 3; }
 .hero-system-map .architecture-controls { display: grid; grid-template-columns: 1fr 1fr; }
 .hero-system-map .arch-tab { min-width: 0; white-space: normal; font-size: 10px; }
 .hero-system-map .architecture-caption strong { font-size: 17px; }
 .hero-system-map .architecture-caption p { font-size: 12px; }
 .op-metrics .metric-card { padding: 14px 10px; }
 .op-metrics .metric-card strong { font-size: 22px; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; }
 #opChart text { font-size: 18px; }
 .op-record { grid-template-columns: minmax(0,1fr); gap: 8px; }
 .op-record > span { justify-self: start; }
}
@media(prefers-reduced-motion:reduce) { .hero-system-map .map-line,.hero-system-map .core-orbit { animation: none; } }
