/* TAS presentation only. Scientific renderers and exported documents do not load this file. */
body.tas-presentation {
  --tv-ui-font: "Segoe UI", Arial, sans-serif;
  --tv-ui-display-font: "Segoe UI", Arial, sans-serif;
  --tas-font: "Segoe UI", Arial, sans-serif;
  --tas-ink: #21364a;
  --tas-muted: #587086;
  --tas-line: #d6e1ea;
  --tas-surface: #ffffff;
  --tas-canvas: #f3f6fa;
  --tas-primary: #12647a;
  --tas-radius: 10px;
  font-family: var(--tas-font) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: var(--tas-ink);
  background: var(--tas-canvas) !important;
}
body.tas-presentation *, body.tas-presentation *::before, body.tas-presentation *::after { box-sizing: border-box; }
body.tas-presentation :is(h1,h2,h3,h4,h5,h6,p,label,button,input,select,textarea,a,th,td,summary,nav,option) {
  font-family: var(--tas-font) !important;
}
body.tas-presentation .tas-main {
  max-width: 1480px !important;
  width: 100% !important;
  padding: 32px 32px 64px !important;
}
body.tas-presentation .tas-nav-end > a.selected { color: #096078 !important; box-shadow: inset 0 -3px #18768b !important; background: #eff7f9 !important; }
/* Legacy analysis pages already sit inside the common application content area. */
body.tas-presentation .tas-main > :is(main,.analysis-page,.tv-library,.pa-workspace) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}
body.tas-presentation h1 { font-size: 28px !important; line-height: 1.25 !important; font-weight: 600 !important; letter-spacing: -.3px !important; }
body.tas-presentation h2 { font-size: 20px !important; line-height: 1.35 !important; font-weight: 600 !important; letter-spacing: -.15px !important; }
body.tas-presentation h3 { font-size: 17px !important; line-height: 1.4 !important; font-weight: 600 !important; }
body.tas-presentation :is(h4,h5,h6) { font-size: 15px !important; line-height: 1.4 !important; font-weight: 600 !important; }
body.tas-presentation .tas-main :is(p,li,dd,td,label) { font-size: 14px !important; line-height: 1.6 !important; }
body.tas-presentation .tas-main :is(.tas-intro,.analysis-page > p,.tv-library-heading > p) { color: var(--tas-muted); margin: 8px 0 24px; max-width: 90ch; }
body.tas-presentation .tas-main :is(.tas-eyebrow,.ag-kicker) { font-size: 11px !important; font-weight: 600 !important; letter-spacing: .08em; }
body.tas-presentation .tas-main :is(.tas-card,.ag-card,.analysis-page > .card,.sdtm-workbench-panel) {
  background: var(--tas-surface) !important;
  border: 1px solid var(--tas-line) !important;
  border-radius: var(--tas-radius) !important;
  padding: 24px !important;
  box-shadow: 0 2px 8px rgba(18,43,64,.025) !important;
  min-width: 0;
}
body.tas-presentation .tas-main :is(.tas-card,.ag-card,.sdtm-workbench-panel) > h2:first-child { margin: 0 0 16px !important; }
body.tas-presentation .tas-main label { font-weight: 600 !important; color: #40596d; }
body.tas-presentation .tas-main :is(input,select,textarea) { font-family: var(--tas-font) !important; font-weight: 400 !important; font-size: 14px !important; line-height: 1.4 !important; }
body.tas-presentation .tas-main :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) {
  border: 1px solid #bdcdd9 !important;
  border-radius: 7px !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  max-width: 100%;
  color: var(--tas-ink);
  background-color: #fff;
  box-shadow: none !important;
}
body.tas-presentation .tas-main textarea { min-height: 96px; resize: vertical; }
body.tas-presentation .tas-main :is(input[type=checkbox],input[type=radio]) {
  min-height: 0 !important; height: 16px !important; width: 16px !important;
  padding: 0 !important; margin: 0 7px 0 0; vertical-align: middle;
  flex: 0 0 auto; accent-color: var(--tas-primary);
}
body.tas-presentation .tas-main input[type=file] { padding: 7px 9px !important; }
body.tas-presentation .tas-main input[type=file]::file-selector-button {
  font: 600 13px/1.4 var(--tas-font); color: #31576d; background: #f3f7fa;
  border: 1px solid #c4d5e1; border-radius: 5px; padding: 6px 10px; margin-right: 10px;
}
body.tas-presentation .tas-main :is(button,.btn,.tas-primary,.tas-secondary,.dataset-button,.ag-primary) {
  font-family: var(--tas-font) !important;
  font-size: 14px !important; font-weight: 600 !important; line-height: 1.4 !important;
  min-height: 42px !important; padding: 10px 16px !important;
  border-radius: 7px !important; box-shadow: none !important;
  white-space: normal; text-align: center;
}
body.tas-presentation .tas-main :is(.tas-primary,.ag-primary,button.primary) { background: var(--tas-primary) !important; border-color: var(--tas-primary) !important; color: white !important; }
body.tas-presentation .tas-main :is(.tas-secondary,.btn-secondary) { background: white !important; border: 1px solid #bdcdd9 !important; color: #22516b !important; }
body.tas-presentation .tas-main button:disabled { cursor: not-allowed; opacity: .55; }
body.tas-presentation .tas-main :is(.tas-form,.ag-form) { gap: 18px; }
body.tas-presentation .tas-main :is(.tas-form,.ag-form) > button { justify-self: start; width: auto; max-width: 100%; }
body.tas-presentation .tas-main .simple-access-grid { gap: 20px 24px; }
body.tas-presentation .tas-main :is(.tas-form,.ag-form) label { min-width: 0; }
body.tas-presentation .tas-main .tas-form label { gap: 6px; }
body.tas-presentation .tas-main .tas-form > p { margin: 0; color: var(--tas-muted); }
body.tas-presentation .tas-main .tas-form > details { margin: 0; }
body.tas-presentation .tas-main > details {
  border: 1px solid var(--tas-line); border-radius: var(--tas-radius);
  background: white; margin: 16px 0; padding: 0 24px;
}
body.tas-presentation .tas-main > details > summary { padding: 18px 0 !important; }
body.tas-presentation .tas-main > details > .tas-card { border: 0 !important; box-shadow: none !important; padding: 0 0 24px !important; margin: 0 !important; }
body.tas-presentation .tas-main summary { font-size: 14px !important; font-weight: 600 !important; line-height: 1.5 !important; }
body.tas-presentation .tas-main .tas-note { font-size: 14px; line-height: 1.6; padding: 16px 18px; border-radius: 8px; }
body.tas-presentation .tas-main :is(.tas-table-scroll,.ag-table-wrap,.table-wrap,.table-responsive) { overflow-x: auto; max-width: 100%; }
body.tas-presentation .tas-main th { font-size: 12px !important; font-weight: 600 !important; line-height: 1.5 !important; text-transform: none !important; letter-spacing: .02em !important; padding: 12px 14px !important; }
body.tas-presentation .tas-main td { padding: 12px 14px !important; }
body.tas-presentation .tas-main :is(.tas-mini,small,.form-help) { font-size: 12px !important; line-height: 1.6 !important; }
body.tas-presentation .tas-main :is(.analysis-steps,.tas-actions) { gap: 10px; }
body.tas-presentation .tas-main :is(.analysis-steps,.tv-library-controls) { flex-wrap: wrap; }
body.tas-presentation .tas-main :is(.analysis-steps a,.analysis-steps span) { font-size: 14px !important; font-weight: 600 !important; }
body.tas-presentation .tas-main :is(pre,code,kbd,samp,.pa-code,textarea.code-editor,textarea[data-code-editor]) { font-family: Consolas,"Courier New",monospace !important; }
body.tas-presentation :focus-visible { outline: 3px solid #3896b2 !important; outline-offset: 3px !important; }
@media (max-width: 900px) {
  body.tas-presentation .tas-main { padding: 24px 20px 48px !important; }
  body.tas-presentation .tas-main :is(.tas-card,.ag-card,.sdtm-workbench-panel) { padding: 20px !important; }
}
@media (max-width: 650px) {
  body.tas-presentation .tas-main { padding: 24px 16px 40px !important; }
  body.tas-presentation h1 { font-size: 25px !important; }
  body.tas-presentation .tas-main > details { padding: 0 20px; }
  body.tas-presentation .tas-main :is(.simple-access-grid,.tas-two,.tas-three) { grid-template-columns: minmax(0,1fr); }
  body.tas-presentation .tas-main .tas-inline input { min-width: 0; }
  body.tas-presentation .tas-main .tv-library-layout { grid-template-columns: minmax(0,1fr) !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.tas-presentation *, body.tas-presentation *::before, body.tas-presentation *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
