/* Ownership stays visible; touch navigation keeps one primary content area. */
.studio-app{display:grid;grid-template-rows:88px minmax(0,1fr) auto}
.studio-app>.studio-header{height:100%;min-height:0}
.studio-app>.studio-body{height:auto;min-height:0}
.ownership-footer{display:flex;align-items:center;justify-content:center;gap:18px;min-height:46px;padding:5px 20px;background:#fff;border-top:1px solid var(--line);color:#345767;font-size:11px;line-height:1.5}
.ownership-footer>p{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.ownership-footer strong{font-weight:600}
.ownership-footer a{color:#08719c;font-weight:600;padding:8px;white-space:nowrap}
.header-contact{font-size:11px;white-space:nowrap;padding:10px 0;border-bottom:1px solid #b9ced8}
.header-contact[aria-current=page]{color:#007e9a;border-color:currentColor}
.mobile-nav,.rail-close,.rail-backdrop,.screen-picker{display:none}
.screen-picker{position:relative}
.contact-view{grid-area:1 / 1 / -1 / -1;display:flex;flex-direction:column;min-width:0;min-height:0;padding-bottom:16px}
.contact-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;border:1px solid var(--line);border-radius:12px;background:#fff}
.contact-heading{display:flex;align-items:center;gap:35px;padding:32px;background:#edf5f8;border-bottom:1px solid var(--line)}
.contact-heading>img{width:170px;height:105px;object-fit:contain;flex-shrink:0}
.contact-heading-copy{min-width:0;flex:1}.contact-heading-copy h1{font-size:clamp(28px,3vw,40px);line-height:1.15;letter-spacing:-.8px;margin:9px 0 8px}.contact-heading-copy>p:last-child{font-size:14px;color:#426577;line-height:1.7;max-width:700px}
.contact-details{display:grid;gap:22px;padding:28px 32px 32px}
.contact-intro{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.contact-intro h2{font-size:25px;line-height:1.3;font-weight:500;max-width:560px}
.contact-intro p{font-size:14px;line-height:1.7;color:#476878;margin-top:8px;max-width:760px}
.contact-intro>.button{flex:none}
.contact-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.contact-person-card{min-width:0;border:1px solid #c9dfe7;background:#f7fbfc;border-radius:10px;padding:20px;box-shadow:0 10px 26px rgba(9,43,61,.04)}
.contact-person-card>header{min-height:86px;padding-bottom:16px;border-bottom:1px solid #cfe0e6}
.contact-person-card>header small{font:9px var(--mono);letter-spacing:.7px;color:#547c89}
.contact-person-card>header h2{font-size:clamp(20px,2vw,27px);line-height:1.25;letter-spacing:-.35px;margin:6px 0}
.contact-person-card>header p{font-size:13px;color:#426577;line-height:1.55}
.contact-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.contact-links>a{display:flex;flex-direction:column;gap:7px;border:1px solid #c9dfe7;background:#f7fbfc;border-radius:8px;padding:18px;min-width:0}
.contact-links small{font:9px var(--mono);color:#547c89;letter-spacing:.5px}
.contact-links strong{font-size:19px;font-weight:600;overflow-wrap:anywhere}
.contact-links span{font-size:12px;color:#0577a0}
.contact-links>a:hover{border-color:#0b879e;background:#eff9fa}
.contact-ownership{display:grid;gap:7px;padding:24px 32px;border-top:1px solid var(--line);background:#f0f6f7;font-size:14px;line-height:1.6}
.contact-ownership p{font-size:12px;color:#54717e}
.screen-dialog[open]{display:flex;flex-direction:column;gap:10px;max-height:calc(100dvh - 24px)}
.screen-dialog .expanded-scroll{min-height:0;flex:1;max-height:none;overflow:auto;background:#edf3f6}
.screen-dialog .expanded-scroll img{width:100%;min-width:0;max-width:100%;height:auto;object-fit:contain}
.screen-dialog:not(.is-zoomed) .expanded-scroll img{width:auto;height:auto;max-width:100%;max-height:calc(100dvh - 224px);object-fit:contain}
.screen-dialog.is-zoomed .expanded-scroll img{width:var(--image-width,1600px);min-width:var(--image-width,1600px);max-width:none}
.expanded-controls{display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0}
.expanded-controls button{min-height:44px;min-width:44px;font-size:13px}
.expanded-controls>span{font-size:12px;color:#466a7c;min-width:45px;text-align:center}
.screen-dialog .dialog-top{margin-bottom:0;gap:12px;flex-shrink:0}
.screen-dialog .close-dialog{width:44px;height:44px;flex-shrink:0}
.screen-dialog .expanded-note{font-size:10px;line-height:1.5;margin:0;flex-shrink:0}
.screen-dialog .expanded-scroll{touch-action:pan-x pan-y pinch-zoom}
@media(max-width:1180px){.studio-header{gap:12px}.studio-header>.button{max-width:165px;white-space:normal}.contact-details{gap:22px;padding:24px}}
@media(max-width:900px){
 .studio-app{grid-template-rows:68px minmax(0,1fr) auto auto}
 .studio-header .header-projects,.studio-header .header-diana,.studio-header .header-contact,.studio-header>.button,.studio-header .command-trigger{display:none}
 .studio-header{padding:0 15px;gap:12px}
 .studio-header .studio-brand{height:64px;width:116px;margin-right:auto}
 .studio-header .corporate-logo{width:108px;height:62px}
 .studio-header .ecosystem-open{min-height:44px;padding:9px;font-size:13px;margin:0}
 #mobile-projects{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;min-width:76px;height:44px;border:1px solid var(--line);border-radius:7px;background:#f3f8fa}
 .mobile-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px max(8px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));border-top:1px solid #cadde6;background:#fff;z-index:30}
 .mobile-nav a,.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:49px;min-width:44px;border-radius:7px;font-size:12px;font-weight:600;color:#426577}
 .mobile-nav b{font-size:19px;line-height:21px;font-weight:400}
 .mobile-nav [aria-current=page],.mobile-nav [aria-expanded=true]{background:#e6f4f9;color:#006c98}
 .ownership-footer{padding:6px 10px;min-height:40px;font-size:10px;line-height:1.4;gap:0}
 .ownership-footer>p{display:block;text-align:center}.ownership-footer strong,.ownership-footer span{display:block}.ownership-footer>a{display:none}
 .project-rail{top:68px;bottom:calc(63px + env(safe-area-inset-bottom));width:min(340px,calc(100vw - 28px));padding:12px 12px 8px;z-index:40;box-shadow:12px 0 40px #04273840}
 .rail-close{display:flex;align-items:center;justify-content:space-between;min-height:44px;width:100%;padding:8px 10px;border:1px solid #598799;border-radius:6px;margin-bottom:12px;font-size:14px;color:#fff}
 .rail-close span{font-size:24px}
 .rail-backdrop:not([hidden]){display:block;position:fixed;inset:68px 0 calc(63px + env(safe-area-inset-bottom));z-index:35;background:#092a4a80;backdrop-filter:blur(3px);cursor:pointer}
 .rail-search{min-height:46px;flex-shrink:0;margin:10px 3px}
 .rail-search input{font-size:16px;min-height:44px}
 .rail-heading .eyebrow{font-size:10px}.project-choice{min-height:66px;padding:10px 8px}
 .project-choice strong{white-space:normal;line-height:1.3;font-size:14px}.project-choice small{font-size:10px}
 .rail-portfolio{min-height:46px;margin-bottom:8px}.rail-portfolio strong{font-size:13px}
 .rail-diana-section{margin-bottom:12px;padding:9px 10px}.rail-diana-section small{font-size:11px}
 .rail-bottom{padding-top:8px}.rail-bottom .rail-diana{display:none}.rail-links{padding:0}
 .rail-links a,.rail-links button{min-height:44px;display:inline-flex;align-items:center;font-size:12px;padding:6px}
 .screen-footer .icon-button{width:44px;height:44px}.view-tabs button{min-height:44px;font-size:12px}
 .contact-heading{gap:20px;padding:24px}.contact-heading>img{width:130px}.contact-person-card>header{min-height:96px}.contact-person-card .contact-links{grid-template-columns:1fr}
}
@media(max-width:620px){
 .workspace{padding:0 8px;grid-template-rows:80px 50px minmax(0,1fr) 0}
 .workspace-bottom{display:none!important}.workspace-heading{gap:8px}#project-logo{width:34px;height:42px}
 .workspace-heading h1{font-size:20px;line-height:1.15;margin:4px 0;white-space:normal}.workspace-heading .eyebrow{display:none}.platform-badge{font-size:8px;line-height:1.4}
 .workspace-heading .project-heading-copy>p:last-child{display:none}
 .heading-actions .diana-top{display:none}.heading-actions .icon-button{width:44px;height:44px}
 .view-tabs{gap:0;padding:3px}.view-tabs button{flex:1;min-width:0;padding:8px 5px;font-size:12px;line-height:1.2}.view-tabs button span{display:none}
 .screen-view{grid-template-rows:auto minmax(0,1fr) 58px}.screen-context{min-height:52px;padding:8px 10px;gap:4px}
 .screen-context strong{font-size:12px;line-height:1.3}.screen-context>div>span:last-child{font-size:9px;margin-left:0}.screen-context>span{font-size:8px}
 .gallery-media{display:block;min-height:0;height:auto;max-height:none;flex:none}
 .screen-stage{height:clamp(180px,32dvh,300px);padding:12px 10px 44px}
 #screen-zoom{touch-action:pan-y pinch-zoom}.zoom-hint{bottom:5px;min-height:34px;padding:8px 12px;font-size:11px}
 .filmstrip{display:none}.screen-footer{padding:5px 8px;gap:8px}.screen-footer>p,.screen-footer>span{display:none}
 .screen-picker{display:block;flex:1;min-width:0}.screen-picker select{width:100%;font-size:16px;min-height:44px;border:1px solid #bed5df;border-radius:6px;padding:7px;background:#f7fbfd;color:#17394b}
 .screen-footer .icon-button{width:44px;height:44px;font-size:24px}.screen-footer #previous-screen{order:-1}
 .project-guide{padding:16px;gap:12px}.project-guide h2{font-size:20px}.project-guide>p{font-size:14px;line-height:1.75}.project-guide .guide-person span{font-size:11px}.project-guide>.eyebrow{font-size:9px}
 .project-guide ol{display:block}.project-guide li{font-size:13px;padding-block:7px}.project-guide li:before{font-size:10px;top:10px}
 .project-guide>.button,.inventory-open{min-height:48px;font-size:12px}.inventory-open strong{font-size:12px}.inventory-open small{font-size:10px}
 .capabilities-view{padding:20px 16px}.capability-intro>p:last-child,.capability-card p{font-size:14px;line-height:1.75}
 .contact-heading{display:block;padding:22px 20px}.contact-heading>img{width:120px;height:75px;margin-bottom:16px}.contact-heading .eyebrow{font-size:9px}.contact-heading-copy h1{font-size:29px}
 .contact-details{padding:22px 18px;gap:20px}.contact-intro{display:grid;gap:16px}.contact-intro h2{font-size:23px}.contact-intro>.button{width:100%}.contact-directory{grid-template-columns:1fr}.contact-person-card{padding:17px}.contact-person-card>header{min-height:0}.contact-person-card>header h2{font-size:22px}.contact-links{grid-template-columns:1fr}.contact-links>a{padding:16px}.contact-links strong{font-size:19px}.contact-links small{font-size:10px}.contact-links span{font-size:13px}.contact-ownership{padding:20px;font-size:13px}
 .diana-section-top{min-height:44px}.diana-section-top button{min-height:44px;font-size:12px}.diana-section-top>span{font-size:8px}
 .contact-view,.portfolio-view,.diana-view{padding-bottom:8px}
 .portfolio-case-nav button{min-height:44px;font-size:12px}.portfolio-examples>a{min-height:44px;display:flex;align-items:center;font-size:13px}
 .diana-tabs button{min-height:55px}.diana-tabs button span{font-size:12px}.diana-benefits p,.diana-panel-heading>p,.diana-roadmap p{font-size:14px}
 .op-button,#op-tabs button{min-height:44px;font-size:13px}.op-button.small{min-width:44px}.op-top select,.op-report-tools input,.op-report-tools select,#op-tender{font-size:16px;min-height:44px}
 .op-top{gap:8px}.op-top label{font-size:11px}.op-table-seat{min-height:80px}.op-tabs{overflow-x:auto}
 dialog{width:calc(100vw - 16px);max-width:none;max-height:calc(100dvh - 16px);padding:18px;border-radius:12px}
 dialog .close-dialog{width:44px;height:44px;min-width:44px;font-size:26px}dialog input:not([type=checkbox]),dialog select,dialog textarea{font-size:16px;min-height:44px}
 .dialog-top{position:sticky;top:0;z-index:2;background:inherit}.contact-view .diana-section-top{position:static}
 .screen-dialog{width:calc(100vw - 12px);padding:12px}.screen-dialog .dialog-top>div>strong{font-size:14px;line-height:1.4}.screen-dialog .dialog-top>div>span{font-size:10px}.expanded-controls{gap:8px}.expanded-controls .text-button{padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#f0f7f9}
 .chat-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.chat-suggestions button{font-size:12px;min-height:44px}.message{font-size:14px}.messages{max-height:32dvh}.ai-consent{font-size:12px;line-height:1.5}.ai-consent input{width:20px;height:20px;flex-shrink:0}
 .command-result{min-height:48px;font-size:14px}.brand-grid h3{font-size:12px}.inventory-source button{min-height:44px;font-size:12px}
}
@media(max-height:650px) and (max-width:900px){.studio-app{grid-template-rows:58px minmax(0,1fr) auto auto}.studio-header .studio-brand,.studio-header .corporate-logo{height:54px}.project-rail{top:58px}.rail-backdrop:not([hidden]){top:58px}.project-rail .studio-destinations{display:none}.ownership-footer{font-size:9px;min-height:34px}.mobile-nav a,.mobile-nav button{min-height:44px}.workspace{grid-template-rows:67px 46px minmax(0,1fr) 0}.screen-stage{height:180px}.screen-context{min-height:45px}}
@media(max-height:450px) and (max-width:900px){.project-rail{top:0;bottom:0}.rail-backdrop:not([hidden]){inset:0}.project-rail .rail-heading{display:none}.project-rail .rail-close{margin-bottom:0}}
@media(max-height:450px) and (min-width:621px) and (max-width:900px){
 body:not(.standalone-active) .workspace{display:block;overflow:auto;padding:0 12px 8px;overscroll-behavior:contain}
 .workspace-heading{height:65px}.workspace-heading .eyebrow,.workspace-heading .project-heading-copy>p:last-child,.workspace-bottom{display:none}
 .heading-actions .diana-top{display:none}.heading-actions .icon-button{width:44px;height:44px}.workspace-toolbar{height:50px}
 .studio-view{min-height:360px}.screen-view{height:360px;grid-template-rows:40px minmax(0,1fr) 58px}.screen-context{min-height:0}
 .gallery-media{grid-template-rows:minmax(0,1fr)}.screen-stage{height:auto}.filmstrip{display:none}
 .screen-footer>p,.screen-footer>span{display:none}.screen-picker{display:block;flex:1;min-width:0}
 .screen-picker select{width:100%;font-size:16px;min-height:44px;padding:7px;border:1px solid #bed5df;border-radius:6px;background:#f7fbfd;color:#17394b}
 .screen-footer #previous-screen{order:-1}.screen-footer .icon-button{width:44px;height:44px;font-size:24px}
 .operations-view,.capabilities-view{height:auto;overflow:visible}
}
