/* EYAS-WEB-20261111-R1: visual type and sizing corrections.
   Load after existing styles. No color definitions, DOM changes or JS changes.
   Responsive layouts preserve existing [hidden] panels and dialog semantics. */

/* Chinese headings use the existing system font with readable tracking. */
body{font-variant-numeric:tabular-nums}
.hero h1,.page-hero h1,.section-title h2,.split-heading h2,
.platform h2,.platform-copy h2,.outcome-layout h2,.workflow-copy h3,.scene-copy h3,
.page-cta h2,.contact-band h2,.article-header h1,.error-page h1,
.capability-item h3,.product-entry h3,.business-feature h3,.solution-entry h2,
.faq-list summary,.contact-details h2,.contact-form h2{letter-spacing:-.01em}
.hero h1{white-space:normal}
.hero-copy,.hero-product,.page-hero-copy,.page-hero-figure,
.capability-item>div,.flow-steps li>div,.scene-copy,.contact-form{min-width:0}
.field>input,.field>select,.field>textarea{max-width:100%}

/* Only numeric/code nodes are monospace. Chinese labels/status dd remain inherited. */
#event-id,#evidence-id,#reg-flight-id,#reg-plan-id,#playback-time,
.app-shell .event-item time,.app-shell .evidence-timeline time,
.app-shell .event-table b,.app-shell .plan-table b,
.app-shell .playback-end,.app-shell .map-coordinates,
.app-shell .airspace-diagram>span{
  font-family:var(--data-font);
  font-variant-numeric:tabular-nums;
  letter-spacing:0;
}

/* Override the prior height:auto/aspect-ratio rule at its actual specificity.
   The frame grows while full image content is retained (not cropped to 280px). */
.workflow-visual.photographic-visual{height:280px;aspect-ratio:auto}
.workflow-visual.photographic-visual>img{width:100%;height:100%;object-fit:contain}

/* Product demos: 12px is the floor for dense embedded UI, not for site body copy.
   Scroll text panels internally when readable content exceeds the viewport. */
.app-shell .app-topbar{height:auto;min-height:56px;gap:12px}
.app-shell .app-wordmark strong{font-size:12px;letter-spacing:0}
.app-shell .app-tabs{gap:16px;min-width:0;min-height:56px}
.app-shell .app-tabs button{font-size:12px;line-height:1.5;min-height:44px}
.app-shell .app-topbar .icon-button{width:32px;height:36px;padding:6px}
.app-shell .event-sidebar{width:190px;font-size:12px}
.app-shell .sidebar-heading{font-size:12px;line-height:1.6}
.app-shell .event-item{font-size:12px;line-height:1.6;display:grid;grid-template-columns:5px minmax(0,1fr);gap:2px 7px;padding:9px 5px}
.app-shell .event-item strong{font-size:12px;line-height:1.5}
.app-shell .event-item small{font-size:12px;line-height:1.5;white-space:normal}
.app-shell .event-item time{font-size:12px;grid-column:2;margin-left:0;line-height:1.5}
.app-shell .event-detail>strong{font-size:14px;line-height:1.5}
.app-shell .event-detail dl>div{font-size:12px;line-height:1.7;gap:8px;flex-wrap:wrap}
.app-shell .event-detail dt,.app-shell .event-detail dd{font-size:12px}
.app-shell .source-list>span,.app-shell .simulation-label{font-size:12px;line-height:1.6}
.app-shell .map-caption,.app-shell .map-layers,.app-shell .map-layers summary{font-size:12px;line-height:1.5}
.app-shell .map-layers label{min-height:28px;margin-top:4px}
.app-shell .map-layers input{width:14px;height:14px}
.app-shell .map-coordinates{font-size:12px}
.app-shell .app-playback{height:44px;font-size:12px;gap:8px}
.app-shell .app-playback>.icon-button{width:32px;height:36px}
.app-shell .app-playback .playback-caption{font-size:12px}
.app-shell .records-panel,.app-shell .evidence-panel{overflow-y:auto;overscroll-behavior:contain}
.app-shell .panel-heading h3{font-size:18px;line-height:1.5;letter-spacing:0}
.app-shell .panel-heading span,.app-shell .panel-heading>.app-badge{font-size:12px;line-height:1.5}
.app-shell .event-table,.app-shell .plan-table{overflow-x:auto;overscroll-behavior-x:contain}
.app-shell .event-table>div,.app-shell .event-table>button,
.app-shell .plan-table>div,.app-shell .plan-table>button{
  grid-template-columns:minmax(105px,1.3fr) minmax(64px,1fr) minmax(64px,.7fr);
  min-width:260px;font-size:12px;line-height:1.6;gap:8px;padding:12px 6px;
}
.app-shell .event-table>.table-head,.app-shell .plan-table .plan-head{font-size:12px}
.app-shell .event-table b,.app-shell .plan-table b{font-size:12px;line-height:1.5}
.app-shell .plan-table>button>span:first-child{font-size:12px;line-height:1.5}
.app-shell .tag{font-size:12px;line-height:1.5;white-space:normal}
.app-shell .panel-help,.app-shell .record-flow,.app-shell .plan-flow{font-size:12px;line-height:1.7}
.app-shell .record-flow,.app-shell .plan-flow{gap:8px;flex-wrap:wrap}
.app-shell .record-flow>span,.app-shell .plan-flow>span{white-space:nowrap}
.app-shell .evidence-summary{font-size:12px;line-height:1.6;gap:12px;flex-wrap:wrap}
.app-shell .evidence-timeline{margin:18px 0}
.app-shell .evidence-timeline li{margin-block:14px;gap:12px}
.app-shell .evidence-timeline time{font-size:12px;line-height:1.6;flex-shrink:0}
.app-shell .evidence-timeline strong{font-size:14px;line-height:1.5}
.app-shell .evidence-timeline small{display:block;font-size:12px;line-height:1.7}
.app-shell .evidence-files>span{font-size:12px;line-height:1.5;padding:7px 8px}
.app-shell .reg-map-title,.app-shell .reg-map-title>span:last-child{font-size:12px;line-height:1.5}
.app-shell .flight-selector label{font-size:12px;line-height:1.5}
.app-shell .flight-selector select{font-size:12px;min-height:36px;max-width:185px}
.app-shell .flight-info{width:174px;padding:12px}
.app-shell .flight-info>span{font-size:12px;line-height:1.5}
.app-shell .flight-info>strong{font-size:14px;line-height:1.5}
.app-shell .flight-info dl>div,.app-shell .flight-info>button{font-size:12px;line-height:1.7}
.app-shell .flight-info>button{min-height:36px}
.app-shell .reg-map-legend,.app-shell .reg-map-legend>span:last-child{font-size:12px;line-height:1.5}
.app-shell .reg-statusbar,.app-shell .reg-statusbar>span:last-child{font-size:12px;line-height:1.5}
.app-shell .reg-statusbar{height:auto;min-height:40px;padding-block:8px}
.app-shell .airspace-diagram>span{font-size:12px;line-height:1.5}
.app-shell .airspace-copy h4{font-size:16px;line-height:1.5;letter-spacing:0}
.app-shell .airspace-copy p{font-size:12px;line-height:1.8}
.app-shell .airspace-copy li,.app-shell .reg-return{font-size:12px;line-height:1.6}
.app-shell .reg-return{min-height:36px}

/* Keep the existing enlarged-dialog hierarchy above the embedded UI floor. */
@media(min-width:601px){
  dialog .app-shell .app-wordmark strong{font-size:16px}
  dialog .app-shell .app-tabs button{font-size:13px}
  dialog .app-shell .event-sidebar{width:214px}
  dialog .app-shell .panel-heading h3{font-size:25px}
  dialog .app-shell .event-table>div,dialog .app-shell .event-table>button,
  dialog .app-shell .plan-table>div,dialog .app-shell .plan-table>button{font-size:14px;padding:18px 9px}
  dialog .app-shell .plan-table b{font-size:14px}
  dialog .app-shell .evidence-summary{font-size:13px}
  dialog .app-shell .flight-info{width:205px;padding:18px}
  dialog .app-shell .flight-info>strong{font-size:18px}
  dialog .app-shell .reg-map-title{font-size:13px}
  dialog .app-shell .flight-selector select{font-size:13px;max-width:240px}
  dialog .app-shell .plan-flow,dialog .app-shell .reg-return{font-size:13px}
  dialog .app-shell .airspace-diagram>span{font-size:14px}
  dialog .app-shell .airspace-copy h4{font-size:22px}
  dialog .app-shell .airspace-copy p{font-size:14px}
}

/* 1024px tablet widths retain the original two-column hero, but prevent
   squeezed product controls by wrapping its toolbar within its own shell. */
@media(min-width:951px) and (max-width:1200px){
  .hero-product .app-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 12px;padding-top:8px}
  .hero-product .app-wordmark{grid-column:1;grid-row:1}
  .hero-product .app-topbar>.icon-button{grid-column:2;grid-row:1}
  .hero-product .app-tabs{grid-column:1/-1;grid-row:2;justify-content:space-between;min-height:44px}
  .hero-product .app-body{height:420px}
  .hero-product .event-sidebar{width:172px}
}

@media(max-width:950px){
  .workflow-visual.photographic-visual{height:240px}
  .app-shell .reg-map-legend{flex-wrap:wrap;gap:4px 12px}
  .app-shell .reg-map-legend>span:last-child{margin-left:0}
}

/* 390px and 360px: important control labels stay 12px or larger. Existing
   mobile sidebar/flight-detail hiding rules are unchanged; full records and
   plans remain available in their tabs. No new content is hidden here. */
@media(max-width:600px){
  .hero-product{margin-inline:0}
  .header-inner{gap:8px}
  .header-cta{min-height:44px;gap:8px}
  .hero h1{white-space:normal;letter-spacing:-.01em}
  .brand small{font-size:10px;letter-spacing:.15em}
  .workflow-visual.photographic-visual{height:220px}
  .app-shell .app-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:8px 12px 0;gap:0 12px}
  .app-shell .app-wordmark{grid-column:1;grid-row:1;min-height:32px}
  .app-shell .app-wordmark strong{font-size:12px}
  .app-shell .app-topbar>.icon-button{grid-column:2;grid-row:1;width:36px;height:36px}
  .app-shell .app-tabs{grid-column:1/-1;grid-row:2;justify-content:space-between;min-height:44px;gap:12px}
  .app-shell .app-tabs button{font-size:12px;min-height:44px}
  .app-shell .app-body{height:390px}
  .app-shell .reg-body{height:360px}
  .app-shell .map-caption{max-width:calc(100% - 138px);flex-wrap:wrap;gap:4px;padding:5px 7px}
  .app-shell .map-type{margin-left:0;padding-left:0;border-left-width:0}
  .app-shell .map-layers{min-width:110px;max-width:120px;padding:6px 8px}
  .app-shell .zoom-controls button{height:36px;width:36px}
  .app-shell .app-playback{padding-inline:6px;gap:6px}
  .app-shell .timeline-label{min-width:0}
  .app-shell .records-panel,.app-shell .evidence-panel,
  .app-shell .reg-plans,.app-shell .reg-airspace{padding:18px 12px}
  .app-shell .panel-heading{gap:8px;align-items:flex-start}
  .app-shell .panel-heading h3{font-size:18px}
  .app-shell .evidence-timeline li{flex-wrap:wrap;gap:6px}
  .app-shell .evidence-timeline li>div{flex-basis:100%}
  .app-shell .flight-selector{bottom:64px}
  .app-shell .flight-selector select{font-size:12px;min-height:40px}
  .app-shell .reg-map-legend{bottom:12px;gap:4px 10px;flex-wrap:wrap}
  .app-shell .reg-map-legend>span:last-child{flex-basis:100%;margin-left:0}
  .app-shell .airspace-grid{grid-template-columns:1fr;gap:22px;margin-top:22px}
  .app-shell .airspace-diagram{max-width:220px;width:100%;margin-inline:auto}
  .app-shell .airspace-diagram>span{min-height:42px}
  .app-shell .airspace-copy h4{font-size:16px}
  .app-shell .airspace-copy p,.app-shell .airspace-copy li{font-size:12px}
  .app-shell .plan-flow,.app-shell .record-flow{margin-top:20px}
  dialog{max-height:95dvh;overflow:auto;overscroll-behavior:contain}
  dialog .dialog-heading{font-size:14px;line-height:1.5}
  dialog .dialog-heading .icon-button{width:44px;height:44px}
  dialog .app-shell .app-body{height:min(440px,58dvh);min-height:260px}
  dialog .app-shell .reg-body{height:min(410px,54dvh);min-height:260px}
  dialog .app-shell .app-tabs{gap:12px}
  dialog .app-shell .app-tabs button{font-size:12px}
  dialog .app-shell .app-topbar{padding-top:8px}
  dialog .app-shell .event-table>div,dialog .app-shell .event-table>button,
  dialog .app-shell .plan-table>div,dialog .app-shell .plan-table>button{font-size:12px;padding:12px 6px}
  dialog .app-shell .reg-statusbar,dialog .app-shell .reg-statusbar>span:last-child{font-size:12px}
}

/* Low landscape viewports: keep the dialog scrollable instead of clipping
   controls or shrinking type. No global overflow suppression is added. */
@media(max-height:650px){
  dialog{max-height:94dvh;overflow:auto;overscroll-behavior:contain}
  dialog .app-shell .app-body,dialog .app-shell .reg-body{height:320px;min-height:260px}
  dialog .records-panel,dialog .evidence-panel,
  dialog .reg-panel.reg-plans,dialog .reg-panel.reg-airspace{overflow-y:auto}
}
