/* Atlas ONE adopts the Taylor reading rhythm; the product studies and hero remain authored. */
.ux-standard.tmo-atlas{
  --atlas-ui-gutter:var(--tmo-content-gutter,24px);
  --atlas-ui-space:var(--tmo-section-space,64px);
  --atlas-ui-title:clamp(32px,3.1vw,44px);
  --atlas-ui-card-title:clamp(24px,2.3vw,28px);
  --atlas-ui-leading:1.65;
  --atlas-ui-meta-leading:1.6;
  --atlas-ui-action-leading:1.4;
  --atlas-ui-accent:#244d70;
  --atlas-ui-hover:#16364d;
  --ux-accent:var(--atlas-ui-accent);
  --ux-focus-ring:var(--atlas-ui-accent);
}
html[lang="ar"] .tmo-atlas{
  --atlas-ui-leading:1.85;
  --atlas-ui-meta-leading:1.85;
  --atlas-ui-action-leading:1.6;
}

/* A single content gutter aligns the editorial chapters with the local navigation. */
.ux-standard.tmo-atlas .atlas-main{
  box-sizing:border-box;
  width:min(100%,1600px);
  max-width:1600px;
  margin-inline:auto;
}
.ux-standard.tmo-atlas .atlas-main>:not(.at-hero).at-shell,
.ux-standard.tmo-atlas .atlas-main>:not(.at-hero)>.at-shell{
  box-sizing:border-box;
  padding-inline:var(--atlas-ui-gutter);
}
.ux-standard.tmo-atlas nav.ux-local-nav{
  box-sizing:border-box;
  width:100%;
  max-width:1600px;
  padding-inline:0;
}
.ux-standard.tmo-atlas nav.ux-local-nav>.ux-nav-inner{
  box-sizing:border-box;
  width:100%;
  min-height:64px;
  padding-inline:var(--atlas-ui-gutter);
}
.ux-standard.tmo-atlas .ux-local-nav .ux-nav-links a[aria-current],
.ux-standard.tmo-atlas .ux-local-nav .ux-nav-links a:hover{
  color:var(--atlas-ui-accent);
  border-bottom-color:var(--atlas-ui-accent);
}
.ux-standard.tmo-atlas :is(.at-section,.at-contact,.tm-material-related){padding-block:var(--atlas-ui-space)}
.ux-standard.tmo-atlas .tm-material-related{padding-inline:var(--atlas-ui-gutter)}
.ux-standard.tmo-atlas .at-analysis-example{padding-top:48px}
.ux-standard.tmo-atlas .at-editorial-heading{margin-bottom:32px}

/* Editorial roles exclude the approved opening, screenshots and analytical artwork. */
.ux-standard.tmo-atlas .atlas-main>:not(.at-hero) h2{
  font-family:inherit;
  font-size:var(--atlas-ui-title);
  line-height:1.12;
  letter-spacing:-.04em;
}
.ux-standard.tmo-atlas .atlas-main>:not(.at-hero) h3{
  font-family:inherit;
  font-size:var(--atlas-ui-card-title);
  line-height:1.25;
  letter-spacing:-.025em;
}
.ux-standard.tmo-atlas :is(.at-prose-grid p,.at-prose>p:not(.at-kicker):not(.at-intro),.at-reading-flow p,.at-three-readings p,.at-case-sequence p,.at-method-list p,.at-faq details>p,.at-contact>div>p:not(.at-kicker),.at-document-index dd){
  font-family:inherit;
  font-size:16px;
  line-height:var(--atlas-ui-leading);
  letter-spacing:0;
}
.ux-standard.tmo-atlas .at-intro{font-size:clamp(19px,1.7vw,24px);line-height:1.5;letter-spacing:-.02em}
.ux-standard.tmo-atlas #chat .at-editorial-heading{margin-bottom:24px}
.ux-standard.tmo-atlas #chat h2{font-size:clamp(28px,2.6vw,36px)}
.ux-standard.tmo-atlas .at-document-index dt{
  font-family:inherit;
  font-size:20px;
  line-height:1.35;
  letter-spacing:-.02em;
}
.ux-standard.tmo-atlas .atlas-main>:not(.at-hero) :is(.at-kicker,.at-number,.at-note,.at-dark-footnote,figcaption,.at-photography-note),
.ux-standard.tmo-atlas .at-reading-flow>li>span,
.ux-standard.tmo-atlas .at-report-figure figcaption>span+span{
  font-family:inherit;
  font-size:12px;
  line-height:var(--atlas-ui-meta-leading);
}
.ux-standard.tmo-atlas .at-reading-flow h3,
.ux-standard.tmo-atlas .at-case-sequence h3,
.ux-standard.tmo-atlas .at-method-list h3{font-size:24px}
.ux-standard.tmo-atlas .at-faq summary{
  font-family:inherit;
  font-size:18px;
  line-height:var(--atlas-ui-leading);
  min-height:64px;
}

/* The chat retains three genuine tabs and separate, readable question and answer roles. */
.ux-standard.tmo-atlas .at-chat-demo{--ux-focus-ring:var(--atlas-deep-blue,#005e7a)}
.ux-standard.tmo-atlas .at-chat-demo-header>p{font-family:inherit;font-size:14px}
.ux-standard.tmo-atlas :is(.at-chat-demo-header>span,.at-chat-speaker,.at-chat-perspectives>p,.at-chat-takeaway,.at-chat-demo-note){
  font-family:inherit;
  font-size:12px;
  line-height:var(--atlas-ui-meta-leading);
}
.ux-standard.tmo-atlas .at-chat-examples>button{
  font-family:inherit;
  font-size:14px;
  line-height:var(--atlas-ui-action-leading);
  min-height:48px;
  text-align:start;
}
.ux-standard.tmo-atlas .at-chat-conversation>h3{font-size:20px}
.ux-standard.tmo-atlas .at-chat-message>p:last-child{
  font-family:inherit;
  font-size:16px;
  line-height:var(--atlas-ui-leading);
  letter-spacing:0;
}
.ux-standard.tmo-atlas .at-chat-message--user>p:last-child{
  font-size:18px;
  line-height:var(--atlas-ui-leading);
  letter-spacing:0;
}
.ux-standard.tmo-atlas .at-chat-perspectives li{
  font-family:inherit;
  font-size:14px;
  line-height:var(--atlas-ui-leading);
}
.ux-standard.tmo-atlas .at-agent-grid h3{font-size:24px;line-height:1.3}
.ux-standard.tmo-atlas .at-agent-grid p{
  font-family:inherit;
  font-size:16px;
  line-height:var(--atlas-ui-leading);
}
.ux-standard.tmo-atlas .at-agent-grid p.at-agent-question{
  font-size:18px;
  line-height:var(--atlas-ui-leading);
}

/* Contact actions use the shared contract; whole image links remain image viewers. */
.ux-standard.tmo-atlas .tmo-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:var(--tmo-action-height,48px);
  max-width:100%;
  min-width:0;
  padding:var(--tmo-action-padding,12px 20px);
  border:1px solid var(--tmo-action-border,var(--atlas-ui-accent));
  border-radius:var(--tmo-action-radius,4px);
  background:var(--tmo-action-background,var(--atlas-ui-accent));
  color:var(--tmo-action-color,#fff);
  font-family:inherit;
  font-size:14px;
  font-weight:500;
  line-height:var(--atlas-ui-action-leading);
  letter-spacing:0;
  text-align:center;
  text-decoration:none;
  overflow-wrap:anywhere;
  filter:none;
}
.ux-standard.tmo-atlas .tmo-action:hover{
  background:var(--tmo-action-hover-background,var(--atlas-ui-hover));
  border-color:var(--tmo-action-hover-border,var(--atlas-ui-hover));
  color:var(--tmo-action-hover-color,#fff);
  text-decoration:none;
  filter:none;
}
.ux-standard.tmo-atlas :is(.at-dark,.at-contact){
  --ux-focus-ring:#e6f0f5;
  --tmo-action-background:#fff;
  --tmo-action-border:#fff;
  --tmo-action-color:var(--atlas-ui-accent);
  --tmo-action-hover-background:#e6edf1;
  --tmo-action-hover-border:#e6edf1;
  --tmo-action-hover-color:var(--atlas-ui-accent);
}
.ux-standard.tmo-atlas :is(.at-dark,.at-contact) strong{color:inherit}
.ux-standard.tmo-atlas :is(.tmo-action,.at-screen-expand,.at-chat-examples>button,.at-chat-panel,.at-faq summary):focus-visible{
  outline:2px solid var(--ux-focus-ring,var(--atlas-ui-accent));
  outline-offset:4px;
}
.ux-standard.tmo-atlas .at-visual-action{
  font-family:inherit;
  min-height:44px;
  font-size:14px;
  font-weight:500;
  line-height:var(--atlas-ui-action-leading);
}

/* The viewer is appended to body, outside .atlas-main. Native dialog focus stays intact. */
.ux-standard.tmo-atlas .at-image-dialog{font-family:inherit}
.ux-standard.tmo-atlas .at-image-toolbar h2{font-family:inherit;font-size:16px;line-height:1.5}
.ux-standard.tmo-atlas .at-image-tools button{
  font-family:inherit;
  font-size:14px;
  line-height:var(--atlas-ui-action-leading);
  min-height:44px;
}
.ux-standard.tmo-atlas .at-image-description{
  font-family:inherit;
  font-size:12px;
  line-height:var(--atlas-ui-meta-leading);
}
.ux-standard.tmo-atlas .at-image-dialog :is(button,[tabindex]):focus-visible{
  outline:2px solid var(--atlas-ui-accent);
  outline-offset:4px;
}
/* Native Arabic headings keep their own leading after the opt-in role selectors. */
html[lang="ar"] .ux-standard.tmo-atlas .atlas-main>:not(.at-hero) :is(h2,h3),
html[lang="ar"] .ux-standard.tmo-atlas .at-document-index dt{
  letter-spacing:0;
  line-height:1.5;
}
html[lang="ar"] .ux-standard.tmo-atlas :is(.at-image-dialog,.at-image-toolbar h2){
  font-family:"Noto Sans Arabic",Arial,sans-serif;
  letter-spacing:0;
  line-height:1.5;
}
html[lang="ar"] .ux-standard.tmo-atlas .at-intro{line-height:1.85;letter-spacing:0}

@media(max-width:760px){
  .ux-standard.tmo-atlas{
    --atlas-ui-space:var(--tmo-section-space,48px);
    --atlas-ui-title:32px;
    --atlas-ui-card-title:26px;
  }
  .ux-standard.tmo-atlas .at-analysis-example{padding-top:32px}
}
@media(max-width:520px){
  .ux-standard.tmo-atlas .at-chat-examples>button{min-height:60px}
  .ux-standard.tmo-atlas .at-reading-flow{grid-template-columns:minmax(0,1fr);gap:0}
  .ux-standard.tmo-atlas .at-reading-flow>li{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:16px;padding-block:20px;min-width:0}
  .ux-standard.tmo-atlas .at-reading-flow>li>span{grid-column:1;grid-row:1/span 2;padding-top:4px;font-size:13px}
  .ux-standard.tmo-atlas .atlas-main .at-reading-flow h3{grid-column:2;grid-row:1;font-size:22px;margin:0 0 8px}
  .ux-standard.tmo-atlas .at-reading-flow p{grid-column:2;grid-row:2;margin:0;max-width:none}
}
@media(prefers-reduced-motion:reduce){
  .ux-standard.tmo-atlas .tmo-action{transition:none}
}
@media print{
  .ux-standard.tmo-atlas .at-section{padding-block:32px}
  .ux-standard.tmo-atlas .atlas-main>:not(.at-hero).at-shell,
  .ux-standard.tmo-atlas .atlas-main>:not(.at-hero)>.at-shell{padding-inline:24px}
}
