/* TrajectoriesLanding.css — /web/trayectorias-de-aprendizaje (views web/novelty/trayectorias-de-aprendizaje*).
   The page's own sections and what its demo draws inside the shared stage (NoveltyStage.css): the product strip,
   the list of groups and students with their level bands, the student's record and the reading guide. The level
   cuts of 6° básico in Comprensión lectora (51 and 62) set the chart's bands: 100 - 62 and 100 - 51 from the top.
   Contract: docs/admin-marketing/NOVELTY-LANDINGS.md. */

.tr-page{
  --tr-ink:#1A2333;--tr-text:#39475B;--tr-muted:#52617A;--tr-green:#0B7565;--tr-purple:#6F4188;--tr-line:#E0E6ED;
  --tr-amber:#FDF4E7;--tr-mint:#EDF7F1;--tr-blue:#EDF3FB;--tr-adequate-y:38%;--tr-elemental-y:49%;
  --tr-shadow:0 34px 67px -38px rgba(51,36,65,.5),0 12px 30px -20px rgba(54,40,73,.38),0 1px 2px rgba(24,33,51,.07)
}
.tr-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* Shared marks: the level track of a row, its marks and the change badge */
.tr-page .tr-track{position:relative;display:block;align-self:stretch;min-height:28px;
  background:linear-gradient(90deg,var(--tr-amber) 0 33.33%,var(--tr-mint) 33.33% 66.67%,var(--tr-blue) 66.67%)}
.tr-page .tr-track::before{content:"";position:absolute;top:50%;right:0;left:0;border-top:1px solid #D5DFDF}
.tr-page .tr-track-line{position:absolute;top:calc(50% - 2px);height:4px;border-radius:4px;background:#208166}
.tr-page .tr-track-line.is-down{background:#A35A15}
.tr-page .tr-mark,.tr-page .tr-key-dot{display:inline-block;width:12px;height:12px;border:2px solid #293744;border-radius:50%;background:#fff}
.tr-page .tr-mark{position:absolute;top:50%;transform:translate(-50%,-50%)}
.tr-page .tr-mark.is-end,.tr-page .tr-key-dot.is-end{border-radius:1px;background:#293744;transform:translate(-50%,-50%) rotate(45deg)}
.tr-page .tr-key-dot.is-end{transform:rotate(45deg)}
.tr-page .tr-mark.is-offset{margin-left:8px;width:9px;height:9px}
.tr-page .tr-delta{display:inline-flex;align-items:center;align-self:start;padding:3px 8px;border-radius:8px;background:#E4F3EC;color:#0A674F;
  font-size:.875rem;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}
.tr-page .tr-delta.is-down{background:#FBE9D6;color:#814209}
.tr-page .tr-delta.is-flat{background:#EEF1F4;color:#3E4D60}
.tr-page .tr-level{font-size:.8125rem;font-weight:800;color:#1D5A43}
.tr-page .tr-level.adequate{color:#234E86}
.tr-page .tr-level.insufficient{color:#6B3F07}
.tr-page .tr-context{display:block;color:var(--tr-muted);font-size:.875rem;font-weight:700}

/* The chart: a linear axis from 0% to 100% over the three bands, one point per month with evidence */
/* The chart's room follows its labels: in em of their size for the root font size and the zoom, and the lengths
   TrajectoriesLanding.js measures on the rendered labels (--tr-label-w, --tr-label-h) for Android's font setting
   (text-size-adjust), which enlarges the text without changing em or rem. */
.tr-page .tr-chart{position:relative;height:max(146px,12em,calc(var(--tr-label-h,0px) * 3.6));margin:10px 14px max(25px,2.55em,calc(var(--tr-label-h,0px) + 6px)) max(37px,3.45em,calc(var(--tr-label-w,0px) + 8px));font-size:.75rem;border:1px solid #E1E8E6;border-radius:8px;
  background:linear-gradient(to bottom,var(--tr-blue) 0 var(--tr-adequate-y),var(--tr-mint) var(--tr-adequate-y) var(--tr-elemental-y),var(--tr-amber) var(--tr-elemental-y))}
.tr-page .tr-tick{position:absolute;right:calc(100% + 6px);transform:translateY(-50%);font-size:1em;font-weight:800;line-height:1;color:#45556A}
/* The end marks stay within the chart's height, so a large text never meets the title above or the months below. */
.tr-page .tr-tick.is-top{transform:none}
.tr-page .tr-tick.is-bottom{transform:translateY(-100%)}
.tr-page .tr-rule{position:absolute;right:0;left:0;border-top:1px solid #C9D8DF;pointer-events:none}
.tr-page .tr-rule.is-adequate{top:var(--tr-adequate-y)}
.tr-page .tr-rule.is-elemental{top:var(--tr-elemental-y)}
.tr-page .tr-plot{position:absolute;top:0;bottom:0;left:8%;right:8%}
.tr-page .segment{position:absolute;top:0;right:0;bottom:0;left:0;background:#253B4B;
  clip-path:polygon(var(--left) calc(var(--top) - 1.25px),var(--right) calc(var(--end) - 1.25px),var(--right) calc(var(--end) + 1.25px),var(--left) calc(var(--top) + 1.25px))}
.tr-page .tr-point{position:absolute;top:var(--y);left:var(--x);width:11px;height:11px;border:2px solid #253B4B;border-radius:50%;background:#253B4B;transform:translate(-50%,-50%)}
.tr-page .tr-point.is-hollow{background:#fff}
.tr-page .tr-point.is-last{border-radius:1px;transform:translate(-50%,-50%) rotate(45deg)}
.tr-page .tr-month{position:absolute;top:calc(100% + 4px);left:var(--x);transform:translateX(-50%);font-size:1em;font-weight:800;color:#45556A}

/* Hero */
.tr-page .tr-hero{overflow:hidden;overflow:clip;padding:30px 0 44px;
  background:radial-gradient(ellipse at 82% 4%,#E6D4F0 0%,transparent 55%),radial-gradient(ellipse at 92% 106%,#C9EFE3 0%,transparent 50%),
    linear-gradient(115deg,#FBF9FC 20%,#F2EAF8 68%,#EBF5F3 100%)}
.tr-page .tr-hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:center;max-width:620px}
.tr-page .tr-hero h1{max-width:none;font-size:clamp(2.35rem,4.25vw,4.05rem);line-height:.99;letter-spacing:-.058em;overflow-wrap:anywhere}
.tr-page .tr-hero h1 span{display:block;color:var(--tr-purple)}
.tr-page .tr-hero .nl-hero-lead{max-width:36ch;margin-top:14px;color:var(--tr-text);font-size:clamp(1.0625rem,1.6vw,1.3rem);line-height:1.5}
/* The shared action's button and account line, with "Ver cómo funciona" beside the button. */
.tr-page .tr-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:17px}
.tr-page .tr-hero-actions .nl-action{display:contents}
.tr-page .tr-hero-actions .nl-btn{order:1;width:auto;min-height:48px;padding:8px 18px;font-size:1rem}
.tr-page .tr-hero-jump{order:2;display:inline-flex;align-items:center;min-height:44px;font-weight:800}
.tr-page .tr-hero-actions .nl-action-account{order:3;flex-basis:100%;margin-top:-6px;color:var(--tr-muted);font-size:.9375rem}
.tr-page .tr-hero-scene{position:relative;min-width:0}
.tr-page .tr-hero-groups{margin-right:23px;padding:13px 11px 18px;border:1px solid #D9CBDF;border-radius:18px;background:#fff;box-shadow:0 13px 30px -20px rgba(57,38,77,.55)}
.tr-page .tr-hero-groups-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 10px;color:var(--tr-ink)}
.tr-page .tr-hero-groups-head strong{font-size:.9rem;font-weight:900}
.tr-page .tr-hero-group{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) 13px;align-items:center;gap:7px;min-height:44px;margin-top:8px;padding:6px 10px;
  border:1px solid #E4D4EA;border-left:4px solid #8754A1;border-radius:7px;background:#F5EEF9;color:#60397A}
.tr-page .tr-hero-group strong{font-size:.85rem;font-weight:900}
.tr-page .tr-hero-group .tr-track{min-height:24px;border-radius:4px;overflow:hidden}
.tr-page .tr-chevron{color:var(--tr-purple);font-size:1.55rem;font-weight:900;line-height:1;text-align:center}
.tr-page .tr-hero-figure{position:relative;margin:-8px 0 0 10px;border:1px solid #DFCFE6;border-radius:15px;background:#fff;box-shadow:var(--tr-shadow);overflow:hidden}
.tr-page .tr-hero-app{display:flex;align-items:center;gap:7px;padding:10px 13px;border-bottom:1px solid var(--tr-line);background:#FAFCFB;color:var(--tr-muted);font-size:.875rem;font-weight:800}
.tr-page .tr-hero-app strong{color:var(--tr-green)}
.tr-page .tr-hero-report{padding:14px 13px}
.tr-page .tr-hero-report-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:13px}
.tr-page .tr-hero-report-head strong{display:block;color:var(--tr-ink);font-size:clamp(1.2rem,2vw,1.6rem);font-weight:900;line-height:1.2}
.tr-page .tr-endpoints{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:11px 0 14px}
.tr-page .tr-endpoints>div+div{padding-left:16px;border-left:1px solid var(--tr-line)}
.tr-page .tr-endpoints dt{color:var(--tr-muted);font-size:.875rem;font-weight:800}
.tr-page .tr-endpoints dd{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;margin:0;color:var(--tr-ink);font-size:clamp(1.55rem,3vw,2.2rem);font-weight:900;line-height:1.12;font-variant-numeric:tabular-nums}
.tr-page .tr-hero .tr-endpoints dd{align-items:center}
.tr-page .tr-hero .tr-level{line-height:1.3}
.tr-page .tr-hero .tr-chart{height:max(101px,8.7em,calc(var(--tr-label-h,0px) * 3.6));margin-right:6px;margin-left:max(34px,3.2em,calc(var(--tr-label-w,0px) + 8px))}
.tr-page .tr-hero .segment,.tr-page .tr-hero .tr-point{background-color:#146D59}
.tr-page .tr-hero .tr-point{border-color:#146D59}
.tr-page .tr-hero .tr-point.is-hollow{background:#fff}
.tr-page .tr-plot-stroke{position:absolute;top:-6px;right:-9px;bottom:-6px;left:-9px}
.tr-page .tr-plot-stroke-in{position:absolute;top:6px;right:9px;bottom:6px;left:9px}
.tr-page .tr-hero-signal{position:absolute;top:39%;left:100%;width:22px;height:22px;border:2px solid #8754A1;border-radius:50%;opacity:0;transform:translate(-50%,-50%);pointer-events:none}
.tr-page .tr-hero-figure figcaption{margin-top:14px;color:var(--tr-muted);font-size:.8125rem;font-weight:700}
@media (prefers-reduced-motion:no-preference){
  .tr-page .tr-hero-group{animation:tr-group-select 680ms ease-out both}
  .tr-page .tr-hero .tr-plot-stroke{animation:tr-draw 1950ms steps(7,end) 240ms both}
  .tr-page .tr-hero-signal{animation:tr-signal 900ms ease-out 2.25s 1}
}
@keyframes tr-group-select{from{box-shadow:inset 0 0 0 1px #8754A1,0 0 0 4px rgba(135,84,161,.21)}to{box-shadow:none}}
@keyframes tr-draw{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes tr-signal{from{opacity:.85;transform:translate(-50%,-50%) scale(.65)}to{opacity:0;transform:translate(-50%,-50%) scale(1.75)}}
@media (min-width:561px){
  .tr-page .tr-hero-groups{margin-right:53px;padding:13px 15px 18px}
  .tr-page .tr-hero-group{grid-template-columns:104px minmax(0,1fr) 23px}
  .tr-page .tr-hero-figure{margin-left:52px;border-radius:22px}
  .tr-page .tr-hero-app{padding:13px 19px}
  .tr-page .tr-hero-report{padding:20px 24px}
  .tr-page .tr-hero .tr-chart{height:max(121px,10em,calc(var(--tr-label-h,0px) * 3.6));margin:10px 14px max(25px,2.55em,calc(var(--tr-label-h,0px) + 6px)) max(37px,3.45em,calc(var(--tr-label-w,0px) + 8px))}
  .tr-page .tr-hero-figure figcaption{font-size:.875rem}
  .tr-page .tr-hero-actions{margin-top:26px}
  .tr-page .tr-hero .nl-hero-lead{margin-top:23px}
}
@media (min-width:861px){
  .tr-page .tr-hero{padding:68px 0 75px}
  .tr-page .tr-hero-grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(24px,4vw,58px);max-width:1160px}
}

/* The demo's section */
.tr-page .tr-demo-section{padding:37px 0 49px;background:#fff}
.tr-page .tr-demo-intro{margin-bottom:15px}
.tr-page .tr-demo-intro h2{font-size:clamp(1.75rem,3.05vw,2.6rem);line-height:1.12;letter-spacing:-.04em}
.tr-page .tr-demo-intro p{max-width:41ch;margin-top:8px;color:var(--tr-text)}
@media (min-width:561px){
  .tr-page .tr-demo-section{padding:52px 0 68px}
  .tr-page .tr-demo-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:16px 32px;margin-bottom:22px}
  .tr-page .tr-demo-intro p{margin-top:0}
}

/* Inside the stage. The green is the demo's action; the commercial action stays purple outside it. */
.nl-stage-frame.tr-stage-frame{--app-primary:#0B7565;--app-primary-ink:#085A4E;--app-focus:#0B7565;--app-body:#F3F6F7;--app-line:#E0E6ED}
.tr-stage-frame .nl-stage{color:var(--tr-ink)}
.tr-stage-name b{display:flex;align-items:center;gap:9px;font-size:15px}
.tr-stage-name b::before{content:"";flex:none;width:11px;height:11px;border:3px solid var(--tr-green);border-radius:2px;transform:rotate(45deg)}
.tr-stage-frame .nl-stage-nav{padding:0 20px;border-bottom:0;background:var(--app-body)}
.tr-chrome{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-width:0}
/* The strip names what the walk reads: one area and one year. No product tabs: the demo is Trayectoria itself. */
.tr-scope{margin:0;min-width:0;overflow:hidden;color:var(--tr-muted);font-size:14px;font-weight:800;white-space:nowrap;text-overflow:ellipsis}
.tr-neighbours{display:flex;flex:none;gap:6px}
.tr-neighbours.is-off{visibility:hidden}
.tr-arrow{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #C9D6DD;border-radius:22px;background:#fff;color:var(--tr-ink);font:inherit;font-size:20px;font-weight:900;line-height:1;cursor:pointer}
.tr-arrow:hover:not(:disabled){border-color:#A9C6BE;background:#F0F6F4}
.tr-arrow:disabled{opacity:.65;color:var(--tr-muted);cursor:default}
.tr-stage-frame .tr-step{justify-content:flex-start;width:100%;color:var(--tr-muted);font-size:14px;font-weight:900;font-variant-numeric:tabular-nums}
.tr-stage-frame .nl-stage-btn-main[aria-disabled="true"],.tr-stage-frame .nl-stage-btn-sec[aria-disabled="true"]{border:1px solid #E2E8ED;background:#F2F5F7;color:var(--tr-muted);cursor:default}
.tr-scroll{padding:12px 20px 17px;scrollbar-gutter:stable}
.tr-scroll:focus-visible{outline-offset:-3px}
.tr-fallback{padding:20px;color:var(--tr-text)}
.tr-fallback h3{font-size:1.25rem}
.tr-fallback h4{margin:22px 0 0;font-size:1.0625rem;font-weight:900;color:var(--tr-ink)}
.tr-fallback p{margin-top:8px}
html[data-nl-js] .tr-stage-frame:not(.is-static) .tr-fallback{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}
.tr-stage-frame:not(.is-enhanced) .tr-scroll{display:none}
/* Fullscreen is for the walk: until the page script drew it, the stage offers no way to present the summary. */
.tr-stage-frame:not(.is-enhanced) .nl-stage-present{visibility:hidden}
/* Each table of the server version scrolls on its own when enlarged text no longer fits it: a named region the
   keyboard reaches, so a column is never cut off. */
.tr-table-scroll{max-width:100%;margin-top:12px;overflow-x:auto;overscroll-behavior-x:contain}
.tr-table-scroll:focus-visible{outline:3px solid var(--tr-green);outline-offset:2px}
.tr-fallback-table{width:100%;margin-top:0;border-collapse:collapse;font-size:.9375rem;font-variant-numeric:tabular-nums}
.tr-fallback-table th,.tr-fallback-table td{padding:7px 6px;border-bottom:1px solid var(--tr-line);text-align:left;vertical-align:top}
.tr-fallback-table thead th{color:var(--tr-muted);font-size:.8125rem;font-weight:900}
.tr-fallback-table tbody th{color:var(--tr-ink);font-weight:900}
.tr-fallback-table.is-students td span{display:block;color:var(--tr-muted);font-size:.8125rem}
.tr-fallback .tr-history{margin-top:16px}
.tr-page .tr-fallback .tr-history h5{margin:0;font-size:1rem;font-weight:900;color:var(--tr-ink)!important}
.tr-fallback .tr-history li p{margin:0}
.tr-stage-frame.is-enhanced .tr-fallback{display:none}

/* The product's panel: groups, students and the student's record */
.tr-panel{min-height:0;padding:15px 19px;border:1px solid #E1E8EB;border-radius:14px;background:#fff;color:var(--tr-ink);font-size:16px;line-height:1.5}
.tr-panel h3,.tr-panel h4{margin:0;color:var(--tr-ink);font-weight:900;line-height:1.12}
.tr-panel p{margin:0}
.tr-path{display:flex;flex-wrap:wrap;align-items:center;gap:2px 7px;margin:-4px 0 5px;color:var(--tr-muted);font-size:14px;font-weight:800}
.tr-link{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;border:0;background:none;color:var(--tr-green);font:inherit;font-weight:900;text-align:left;cursor:pointer}
.tr-link:hover{text-decoration:underline;text-underline-offset:.2em}
.tr-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:8px 16px}
.tr-top h3{font-size:clamp(1.35rem,2.25vw,1.9rem);letter-spacing:-.028em}
.tr-student-filters{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:12px 0 6px}
.tr-student-filters input,.tr-student-filters select{min-width:0;min-height:44px;padding:7px 10px;border:1px solid #8496A8;border-radius:8px;background:#fff;color:var(--tr-ink);font:inherit;font-size:14px;font-weight:800}
.tr-student-filters input{flex:0 1 12ch;width:min(100%,27ch)}
.tr-student-filters input::placeholder{color:var(--tr-muted);opacity:1}
.tr-list-heading,.tr-row{display:grid;grid-template-columns:minmax(180px,.72fr) minmax(0,1.28fr) 23px;align-items:center;column-gap:12px}
.tr-list-heading{margin-top:14px;color:var(--tr-muted);font-size:13px;font-weight:900}
.tr-bands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;overflow:hidden;border-radius:8px 8px 0 0;font-size:13px;text-align:center}
.tr-bands span{padding:7px 1px;overflow:hidden;white-space:nowrap;background:#FBEBD3;color:#6B3F07}
.tr-bands b{font-weight:inherit}
/* Large text (TrajectoriesLanding.js fitLabels): level names that no longer fit their bands move to a key under
   them, and a chart whose month names no longer fit keeps the first, the middle and the last. Assistive tech finds
   the names once in either layout: the key is out of the tree while hidden, the bands' names while it shows. */
.tr-band-key{display:none;grid-column:1 / -1;flex-wrap:wrap;gap:4px 14px;margin:6px 0 0;padding:0;list-style:none;color:var(--tr-text);font-size:13px;font-weight:800}
.tr-band-key li{display:inline-flex;align-items:center;gap:6px}
.tr-band-key i{flex:none;width:12px;height:12px;border:1px solid rgba(26,35,51,.25);border-radius:3px;background:#FBEBD3}
.tr-band-key .is-elemental{background:#DDF0E7}
.tr-band-key .is-adequate{background:#DCE8F7}
.tr-list-heading.is-crowded .tr-band-key{display:flex}
.tr-list-heading.is-crowded .tr-bands b{visibility:hidden}
.tr-page .tr-chart.is-crowded .tr-month.is-minor{display:none}
.tr-bands span:nth-child(2){background:#DDF0E7;color:#1D5A43}
.tr-bands span:nth-child(3){background:#DCE8F7;color:#234E86}
.tr-row{width:100%;min-height:68px;margin:0;padding:0 0 0 4px;border:0;border-bottom:1px solid var(--tr-line);background:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer}
.tr-row:hover,.tr-row:focus-visible{background:#F4EEF8}
.tr-row.is-featured{padding-left:9px;background:#F4EEF8;box-shadow:inset 3px 0 #81549A}
.tr-row.is-featured:hover,.tr-row.is-featured:focus-visible{background:#EBE0F3}
.tr-row-name{display:block;color:var(--tr-ink);font-size:16px;font-weight:900}
.tr-row-stats{display:flex;flex-wrap:wrap;align-items:center;gap:4px 7px;color:var(--tr-text);font-size:13px}
.tr-row-stats .tr-delta{font-size:13px}
.tr-under{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:2px 18px;margin-top:4px}
.tr-key{display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:var(--tr-muted);font-size:13px;font-weight:800}
.tr-key span{display:inline-flex;align-items:center;gap:5px}
.tr-empty{padding:19px 8px;color:var(--tr-text)}
.tr-profile{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr);gap:10px;margin-top:13px}
.tr-card,.tr-monthly,.tr-history{min-width:0;padding:12px 14px;border:1px solid #E1E8ED;border-radius:12px}
.tr-card h4,.tr-monthly h4,.tr-history h4{font-size:16px}
.tr-card .tr-endpoints{margin:8px 0}
.tr-card p,.tr-monthly p{color:var(--tr-muted);font-size:14px}
.tr-types{margin:8px 0 0;padding:0;list-style:none;color:var(--tr-text);font-size:14px;font-weight:800}
.tr-types li+li{margin-top:3px}
.tr-types li::before{content:"";display:inline-block;width:8px;height:8px;margin-right:6px;border-radius:2px;background:#6F4188}
.tr-monthly,.tr-history{margin-top:10px}
.tr-monthly-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px 8px}
.tr-history ol{margin:8px 0 0;padding:0;list-style:none}
.tr-history li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:8px 0;border-top:1px solid var(--tr-line)}
.tr-history li p{color:var(--tr-muted);font-size:13px}
.tr-history li strong{font-size:15px}
.tr-history li .tr-score{grid-column:2;grid-row:1 / span 2;align-self:center;font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:no-preference){
  .tr-panel.is-entering{animation:tr-enter 175ms ease-out both}
}
@keyframes tr-enter{from{opacity:.55}to{opacity:1}}

/* The reading guide in the stage's drawer */
.tr-guide{color:var(--tr-text);font-size:15px;line-height:1.5}
.tr-guide p{margin:0}
.tr-guide p+p{margin-top:9px}
.tr-guide table{width:100%;margin-top:12px;border-collapse:collapse;font-size:14px;text-align:left}
.tr-guide th,.tr-guide td{padding:7px 5px;border-bottom:1px solid var(--tr-line)}
.tr-guide td:nth-child(2){font-weight:900;white-space:nowrap}

@media (max-width:1059.98px){
  .tr-stage-frame .tr-step{justify-content:center}
}
@media (max-width:599.98px){
  .tr-page .nl-container{padding:0 16px}
  .tr-stage-frame .nl-stage-nav{padding:0 8px}
  .tr-scope{font-size:13px}
  .tr-scroll{padding:8px 8px 11px}
  .tr-panel{padding:11px 8px}
  .tr-list-heading,.tr-row{grid-template-columns:minmax(0,1fr) 23px;gap:0 2px}
  .tr-list-heading>span{grid-column:1 / -1;padding-bottom:4px}
  .tr-list-heading .tr-bands{grid-column:1 / -1}
  .tr-row{min-height:73px;padding:7px 4px 0}
  .tr-row .tr-track{grid-column:1 / -1;grid-row:2;min-height:24px;margin:3px -4px 0;border-radius:4px 4px 0 0}
  .tr-row .tr-chevron{grid-column:2;grid-row:1}
  .tr-row.is-featured .tr-track{margin-left:-9px}
  .tr-top{align-items:flex-start}
  .tr-student-filters input{flex-grow:1;width:10ch}
  .tr-panel.is-profile{display:flex;flex-direction:column}
  .tr-panel.is-profile .tr-path{margin-bottom:1px}
  .tr-panel.is-profile .tr-top{margin-bottom:9px}
  .tr-profile{display:contents}
  .tr-card:first-child{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 6px}
  .tr-card:first-child .tr-endpoints,.tr-card:first-child>p{grid-column:1 / -1}
  .tr-card:first-child>.tr-delta{grid-column:2;grid-row:1}
  .tr-card .tr-endpoints dd{display:grid;gap:4px;font-size:1.7rem}
  .tr-monthly{order:1;display:grid;grid-template-columns:minmax(0,1fr)}
  .tr-monthly-head{display:contents}
  .tr-monthly h4{grid-row:1}
  .tr-monthly .tr-chart{grid-row:2;height:max(80px,8em,calc(var(--tr-label-h,0px) * 3.6));margin:6px 6px max(25px,2.55em,calc(var(--tr-label-h,0px) + 6px)) max(34px,3.2em,calc(var(--tr-label-w,0px) + 8px))}
  .tr-monthly .tr-link{grid-row:3;justify-self:start}
  .tr-monthly>p{grid-row:4}
  .tr-card.is-activity{order:2;margin-top:10px}
  .tr-history{order:3}
}

/* Enlarged text. The two cuts stack when they no longer fit side by side, and a chart too narrow for seven month
   names keeps the first, the middle and the last; the thresholds are in rem, so they follow the text size. */
.tr-page .tr-hero-report{container:tr-report / inline-size}
.tr-card{container:tr-card / inline-size}
.tr-page .tr-chart{container:tr-chart / inline-size}
@container tr-report (max-width: 17rem){
  .tr-page .tr-endpoints{grid-template-columns:minmax(0,1fr);row-gap:8px}
  .tr-page .tr-endpoints>div+div{padding:8px 0 0;border-left:0;border-top:1px solid var(--tr-line)}
}
@container tr-card (max-width: 13rem){
  .tr-card .tr-endpoints{grid-template-columns:minmax(0,1fr);row-gap:8px}
  .tr-card .tr-endpoints>div+div{padding:8px 0 0;border-left:0;border-top:1px solid var(--tr-line)}
}
@container tr-chart (max-width: 12.5rem){
  .tr-page .tr-month.is-minor{display:none}
}

/* What to look at before deciding support, and where Trayectoria is in each account */
.tr-page .tr-section-title{font-size:clamp(1.85rem,3.5vw,2.75rem);line-height:1.12;letter-spacing:-.034em;overflow-wrap:anywhere}
.tr-page .tr-meeting{border-top:1px solid #EFE6F3;border-bottom:1px solid #EFE6F3;background:#F7F3FA}
.tr-page .tr-roles{background:#fff}
.tr-page .tr-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:28px}
.tr-page .tr-grid h3{font-size:clamp(1.12rem,1.6vw,1.4rem);line-height:1.15;letter-spacing:-.012em}
.tr-page .tr-grid p{margin-top:.55rem;color:var(--tr-text)}
.tr-page .tr-evidence{display:grid;gap:10px;align-content:start;padding:14px 0 0;border-top:2px solid #D9C4E4}
.tr-page .tr-evidence-art{display:grid;align-items:center;min-width:0;min-height:70px;padding:12px 15px;border:1px solid #E8DCEC;border-radius:12px;background:#fff}
.tr-page .tr-evidence-art .tr-track{min-height:31px;border-radius:5px}
.tr-page .tr-evidence-delta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 6px;color:var(--tr-ink)}
.tr-page .tr-evidence-delta small{display:block;color:var(--tr-green);font-size:.8125rem;font-weight:800}
.tr-page .tr-evidence-delta strong{font-size:1.5rem;font-weight:900;font-variant-numeric:tabular-nums}
.tr-page .tr-sample{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0;color:var(--tr-ink);font-weight:900;line-height:1.25}
.tr-page .tr-sample small{display:block;margin-bottom:4px;color:var(--tr-purple);font-size:.8125rem;font-weight:900}
.tr-page .tr-sample span{overflow-wrap:anywhere}
.tr-page .tr-sample>strong{flex:none;white-space:nowrap}
.tr-page .tr-role-list{display:grid;gap:40px;margin-top:32px}
.tr-page .tr-role{display:grid;gap:16px;align-items:center}
.tr-page .tr-role h3{font-size:clamp(1.12rem,1.6vw,1.4rem);line-height:1.15;letter-spacing:-.012em}
.tr-page .tr-role p{margin-top:.55rem;color:var(--tr-text)}
.tr-page .tr-role-copy strong{color:var(--tr-green);font-weight:900}
/* A capture of the real screen, framed like a window; its own crop on phones. */
.tr-page .tr-role-capture{margin:0;overflow:hidden;border:1px solid #DDD6E6;border-radius:14px;background:#F3F3F3;box-shadow:0 24px 48px -30px rgba(51,36,65,.45)}
.tr-page .tr-role-capture img{display:block;width:100%;height:auto}
/* Todos los grupos on phones: the capture keeps a size that reads and scrolls sideways, as the product's list does. */
@media (max-width:599.98px){
  .tr-page .tr-role-capture.is-scroll{overflow-x:auto;overscroll-behavior-x:contain}
  .tr-page .tr-role-capture.is-scroll img{width:820px;max-width:none}
}
.tr-page .tr-role-capture.is-scroll:focus-visible{outline:3px solid var(--tr-green);outline-offset:3px}
/* The student's card is a rounded card of its own: the frame follows its corners. */
.tr-page .tr-role-capture.is-narrow{justify-self:start;max-width:518px;border-radius:26px;background:#fff}
@media (min-width:992px){
  .tr-page .tr-role{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:40px}
  .tr-page .tr-role-capture{max-width:740px}
}
@media (min-width:561px){
  .tr-page .tr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tr-page .tr-evidence{grid-template-rows:92px auto;gap:14px;padding:14px 12px 0}
}
@media (min-width:768px){
  .tr-page .tr-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* The shared trust section on this page's soft background */
.tr-page #confianza{background:linear-gradient(145deg,#F8F4FB,#EEF8F4)}


/* Forced colors. The browser paints every background as Canvas, which erases the chart's line, the fill that tells a
   month with activities from a hollow one, the track's line and the closed end mark. Those marks keep their own
   system colors (forced-color-adjust: none only on them, the color is the data): the line and the filled marks in
   CanvasText, the hollow ones in Canvas with a CanvasText ring, so they read in light and dark. The level bands,
   which were only background, become dividers, and the highlighted first row a rule. */
@media (forced-colors: active){
  .tr-page .tr-chart .segment,.tr-page .tr-track-line,.tr-page .tr-point,.tr-page .tr-mark,.tr-page .tr-key-dot{forced-color-adjust:none}
  .tr-page .tr-chart .segment,.tr-page .tr-track .tr-track-line,.tr-page .tr-track .tr-track-line.is-down{background:CanvasText}
  .tr-page .tr-chart .tr-point{border-color:CanvasText;background:CanvasText}
  .tr-page .tr-chart .tr-point.is-hollow{background:Canvas}
  .tr-page .tr-track .tr-mark,.tr-page .tr-key-dot{border-color:CanvasText;background:Canvas}
  .tr-page .tr-track .tr-mark.is-end,.tr-page .tr-key-dot.is-end{background:CanvasText}
  .tr-page .tr-track{border-left:1px solid CanvasText;border-right:1px solid CanvasText}
  .tr-page .tr-track>*{z-index:1}
  .tr-page .tr-track::after{content:"";position:absolute;top:0;bottom:0;left:33.33%;width:33.34%;border-left:1px solid CanvasText;border-right:1px solid CanvasText;pointer-events:none}
  .tr-bands span+span{border-left:1px solid CanvasText}
  .tr-band-key i{border-color:CanvasText}
  .tr-row.is-featured{border-left:3px solid CanvasText}
  .tr-page .tr-chart{border-color:CanvasText}
}
