/* Phone layout: readable flow and single-column module demonstrations. */
.architecture-mobile-flow,.mobile-full-map-toggle{display:none}
@media(max-width:700px){
 #app:has(#v-mapa:not([hidden]))>.top,.top{padding-inline:12px;gap:6px;min-height:52px}
 .top .brand{font-size:0;gap:0}.top .brand svg{width:25px}.top .hbtn{padding:8px 10px;font-size:11px}.top #btn-map kbd,.top .crumb{display:none}
 .architecture-home{padding:20px 16px 24px;min-height:100%;height:auto;gap:0}
 .architecture-home:before{display:none}.architecture-intro{order:0;padding:0 0 18px}
 .architecture-intro>p{font-size:10px;letter-spacing:1.5px;margin-bottom:10px}
 .architecture-intro h1{font-size:27px;line-height:1.2;letter-spacing:-.8px;max-width:18ch}
 .architecture-mobile-flow{display:block;order:1;width:100%;max-width:520px;margin:0 auto 18px}
 .mobile-flow-stage{position:relative;margin-bottom:28px}
 .mobile-flow-stage>p{font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#6b587e;margin:0 0 8px;font-weight:500}
 .mobile-flow-stage:not(:last-child):after{content:'';position:absolute;left:50%;bottom:-23px;height:18px;width:1px;background:#bca0ef}
 .mobile-flow-stage:not(:last-child):before{content:'';position:absolute;left:calc(50% - 3px);bottom:-24px;border:3.5px solid transparent;border-top-color:#9754e4;border-bottom:0}
 .mobile-flow-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .mobile-flow-card{display:flex;align-items:flex-start;gap:9px;min-width:0;min-height:64px;padding:12px 10px;box-sizing:border-box;border:1px solid #d9caee;border-radius:11px;background:#fff;color:#0a1825;text-decoration:none;box-shadow:0 3px 10px #0a182506}
 .mobile-flow-card>.mi{color:#9754e4;width:20px;height:20px;flex:none;margin-top:1px}
 .mobile-flow-card>span{min-width:0}.mobile-flow-card b{display:block;font-size:13px;font-weight:500;line-height:1.35;overflow-wrap:anywhere}
 .mobile-flow-card small{display:block;font-size:11px;font-weight:300;line-height:1.45;color:#5a5670;margin-top:4px}
 .mobile-flow-card:hover,.mobile-flow-card:focus-visible{border-color:#9754e4;background:#f5effd}
 .mobile-brain-link{display:flex;align-items:center;flex-direction:column;text-align:center;text-decoration:none;color:#0a1825;padding:0 6px 16px}
 .mobile-brain-art{width:140px;height:auto;animation:mobile-brain-working 2.8s ease-in-out infinite}
 .mobile-brain-link b{font-size:17px;font-weight:500;margin-top:5px}.mobile-brain-link small{font-size:12px;line-height:1.5;color:#5a5670;margin-top:5px;max-width:240px}
 .mobile-flow-result{margin-bottom:0}.mobile-flow-result .mobile-flow-card{background:#e8fbc6;border-color:#c5e899;align-items:center}
 .mobile-full-map-toggle{display:block;order:2;width:100%;font:400 12px var(--f-body);padding:11px 14px;color:#6330a0;border:1px solid #bca0ef;background:#fff;border-radius:8px;margin:0 0 16px;cursor:pointer}
 .architecture-home>.architecture-map{display:none;order:3;max-width:100%;margin-bottom:16px}
 .architecture-home.mobile-full-map-open>.architecture-map{display:block}
 #v-mapa .program-foundation{order:4;margin-top:4px;padding:14px 12px}
 #v-mapa .program-foundation-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:8px;overflow:visible}
 #v-mapa .program-foundation-modules a{min-width:0;min-height:46px;padding:10px 8px}
 #v-mapa .program-foundation-modules b{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
 #v-mapa .architecture-foundations{order:5;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:16px;padding:0}
 #v-mapa .architecture-foundations>a{min-width:0;padding:13px 12px;min-height:68px}
 #v-mapa .architecture-footer{order:6;gap:12px}.architecture-footer p{font-size:11px}.architecture-footer>a{font-size:12px}
 /* Keep the introduction, guide, and start of the demo together. */
 .page .pg{padding:20px 16px 24px;width:100%;box-sizing:border-box;min-width:0}
 .page .pg-grid,.page .management-intro{display:flex;flex-direction:column;gap:0;min-width:0;width:100%;align-items:stretch}
 .page .pg-grid>.copy,.page .management-intro>.copy{display:contents}
 .page .num{order:0;font-size:11px;margin:0 0 12px}
 .page .copy .page-emblem{display:none}
 .page .copy h2,.page .management-intro .copy h2{order:1;font-size:26px;line-height:1.22;letter-spacing:-.7px;margin:0 0 12px;max-width:none}
 .page .copy .lead,.page .management-intro .copy .lead{order:2;font-size:14px;line-height:1.7;max-width:none;margin:0 0 14px}
 .page .walkthrough-guide{order:3;align-self:flex-start;font-size:12px;line-height:1.5;margin:0 0 20px;padding:10px 12px}
 .page .pg-grid>.demo,.page .management-intro>.demo{order:4;min-width:0;width:100%;max-width:100%;margin:0 0 24px}
 .page .copy>.points{order:5;margin:0 0 20px;gap:18px}
 .page .points b{font-size:14px}.page .points span{font-size:13px;line-height:1.7}
 .page .copy>.inapp{order:6;min-width:0;overflow-wrap:anywhere;font-size:11px}
 .page .demo{min-width:0;box-sizing:border-box}.page .demo *{min-width:0}
 .page .demo-bar{padding:10px 12px;gap:8px}.page .demo-bar .ttl{flex:1;font-size:11px;line-height:1.5;white-space:normal}
 .page .demo-bar .dots{display:none}.page .demo-bar .replay{flex:none;font-size:11px;padding:6px 8px}
 .page .demo-body,.page .scene-body{padding:13px}
 .page .demo :is(p,b,small,span,code){overflow-wrap:anywhere}
 .page .demo svg:not(.mi){max-width:100%}
 .requirements-map,.mapping,.risk-workbench,.incident-workbench,.document-desk,.privacy-lanes,.vendor-exchange,.questionnaire-workspace,.notification-console{grid-template-columns:minmax(0,1fr);gap:14px}
 .requirements-map>svg,.mapping>.wire{max-height:32px;justify-self:center}
 .question-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-right:0;border-bottom:1px solid #bca0ef;padding:10px}
 .question-list>div{grid-template-columns:1fr;gap:4px;margin:0;padding:6px;font-size:10px}
 .review-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .scene-chip,.mg-demo .scene-chip{max-width:100%;white-space:normal;line-height:1.4;font-size:10px}
 .mg-record,.access-person,.access-remediation,.inventory-attestation{flex-wrap:wrap}
 .mg-record>span:not(.scene-chip),.access-person>div{min-width:100px;flex:1}
 .control-impact{grid-template-columns:minmax(0,1fr);gap:12px}
 .risk-plot{width:100%;max-width:260px;margin:0 auto}
 .risk-key{flex-direction:row;flex-wrap:wrap;justify-content:space-between;font-size:11px}
 .vendor-envelope{flex-direction:row;flex-wrap:wrap;gap:10px}.vendor-envelope small{max-width:none}
 .privacy-locations{flex-wrap:wrap}.privacy-locations a{flex-basis:100%}
 .inventory-row{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:7px;padding:11px 7px}
 .acceptance-receipt dl{grid-template-columns:repeat(2,minmax(0,1fr))}
 .module-related{margin-top:20px}.module-related>div{grid-template-columns:minmax(0,1fr)}.module-related a b{font-size:13px}.module-related a span{font-size:12px}
 .pg-nav{flex-wrap:wrap;gap:14px}.pg-nav .esc{display:none}
}
@keyframes mobile-brain-working{0%,100%{transform:scale(.96);filter:drop-shadow(0 0 2px #9754e430)}50%{transform:scale(1);filter:drop-shadow(0 0 7px #9754e460)}}
@media(prefers-reduced-motion:reduce){.mobile-brain-art{animation:none}}
/* Evidence rows: type and status first, the full proof underneath. */
@media(max-width:700px){
 #v-comprove .proofcard>header{padding:13px 12px;align-items:flex-start;gap:10px}
 #v-comprove .proofcard>header>b{font-size:13px;line-height:1.5;flex:1;min-width:0}
 #v-comprove .proofcard>header>.swap{flex:none;min-width:72px;max-width:90px}
 #v-comprove .proofcard .prow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px 12px;align-items:start}
 #v-comprove .prow>.t{grid-column:1;grid-row:1;font-size:11px;line-height:1.6;letter-spacing:.5px;text-transform:uppercase;font-weight:500;color:#6330a0}
 #v-comprove .prow>div{grid-column:1/-1;grid-row:2;font-size:13px;line-height:1.6;min-width:0;overflow-wrap:anywhere}
 #v-comprove .prow>.swap,#v-comprove .prow>.pill{grid-column:2;grid-row:1;justify-self:end;max-width:100%}
 #v-comprove .prow small{display:block;font-size:11px;line-height:1.6;margin-top:5px;color:var(--muted)}
 #v-comprove .proofcard .pill{font-size:10px;line-height:1.4;padding:4px 7px;white-space:nowrap}
 #v-comprove .prow .track{margin-top:10px}
}
