/* Shared learning UI follows the laboratory's own brand tokens and native chrome. */
.iep-catalog,.iep-workbook,.iep-session-bar,.iep-nav-button,.iep-button,.iep-tour{
 --iep-bg:var(--bg,var(--paper,var(--color-ink,#f3f1ec)));--iep-surface:var(--surface,var(--panel,var(--color-panel,#fbfaf7)));--iep-ink:var(--ink,var(--color-fg,#16181b));--iep-muted:var(--ink-2,var(--muted,var(--color-muted,#61656c)));--iep-line:var(--rule,var(--line,var(--color-line,#d9d5cc)));--iep-accent:var(--accent,var(--color-accent,#c2410c));--iep-blue:var(--tension,#1f5fa8);--iep-soft:var(--soft,#f6e9df);--iep-good:var(--ok-ink,#24633e);--iep-error:var(--err-ink,#a32e1b);--iep-serif:var(--serif,var(--font-serif,'Instrument Serif',Georgia,serif));--iep-sans:var(--sans,var(--font-sans,'IBM Plex Sans','Segoe UI',sans-serif));--iep-mono:var(--mono,var(--font-mono,'IBM Plex Mono',monospace));color:var(--iep-ink);font:400 14px/1.55 var(--iep-sans);box-sizing:border-box
}
.iep-workbook *,.iep-catalog *,.iep-session-bar *{box-sizing:border-box}
.iep-workbook [hidden],.iep-catalog [hidden],.iep-workbook[hidden]{display:none!important}
.iep-workbook button,.iep-catalog button,.iep-session-bar button{font:inherit;cursor:pointer}
:is(.iep-catalog,.iep-workbook,.iep-session-bar) :is(button,a,input):focus-visible{outline:2px solid var(--iep-blue);outline-offset:4px}
.iep-nav-button,.iep-button{display:inline-flex!important;align-items:center;justify-content:center;gap:.5rem;min-height:42px;padding:.65rem 1rem!important;border:1px solid var(--iep-accent)!important;border-radius:8px!important;background:var(--iep-accent)!important;color:var(--iep-bg)!important;text-decoration:none!important;font:500 .8rem/1.25 var(--iep-sans)!important;white-space:normal;text-align:center;cursor:pointer}
.iep-nav-button{flex:none;margin-left:.5rem;white-space:nowrap;min-height:36px;padding:.5rem .8rem!important}
.tools>.iep-nav-button{order:-1}
.tabs>.iep-nav-button,.views>.iep-nav-button{position:sticky;right:0;z-index:2;margin-left:auto;box-shadow:-7px 0 10px var(--iep-bg)}
.iep-button:hover,.iep-nav-button:hover{filter:brightness(1.08)}
.iep-button-secondary{background:transparent!important;color:var(--iep-ink)!important;border-color:var(--iep-line)!important}
.iep-button-secondary:hover{border-color:var(--iep-accent)!important;color:var(--iep-accent)!important}
.iep-button:disabled{opacity:.5;cursor:default}
.iep-eyebrow{font:400 10px/1.6 var(--iep-mono);letter-spacing:.07em;text-transform:uppercase;color:var(--iep-accent);margin:0 0 .55rem}
.iep-lede{color:var(--iep-muted);font-size:.9rem;line-height:1.6;max-width:60ch}
.ie-catalog-page{overflow:auto!important;height:auto!important;min-height:100dvh}
.ie-catalog-page main{min-height:60vh}
.iep-catalog{max-width:1280px;margin:0 auto;padding:2.5rem clamp(1rem,4vw,3rem) 3rem}
.iep-catalog-head{padding:0 0 1.6rem;border-bottom:1px solid var(--iep-line);margin-bottom:1.5rem}
.iep-catalog-head h1{font:400 clamp(2.1rem,4vw,3.5rem)/1.08 var(--iep-serif);letter-spacing:-.025em;max-width:24ch;margin:.4rem 0 .8rem}
.iep-catalog-layout{display:grid;grid-template-columns:minmax(230px,.36fr) minmax(0,1fr);gap:2rem;margin-bottom:2rem}
.iep-chapters{border-right:1px solid var(--iep-line);padding-right:1.7rem;min-width:0}
.iep-chapters h2{font:500 1rem/1.4 var(--iep-sans);margin:0 0 1rem}
.iep-chapter-button{display:grid;grid-template-columns:32px minmax(0,1fr);gap:.75rem;align-items:center;width:100%;min-height:75px;padding:.8rem!important;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--iep-ink);text-align:left;position:relative}
.iep-chapter-button:hover{background:var(--iep-surface)}
.iep-chapter-button[aria-pressed=true]{border-color:var(--iep-line);background:var(--iep-surface);box-shadow:inset 3px 0 var(--iep-accent)}
.iep-chapter-number{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--iep-line);border-radius:50%;font:400 10px var(--iep-mono);color:var(--iep-muted)}
.iep-chapter-button[aria-pressed=true] .iep-chapter-number{background:var(--iep-accent);border-color:var(--iep-accent);color:var(--iep-bg)}
.iep-chapter-button strong{display:block;font-size:.85rem;font-weight:500;line-height:1.4}
.iep-chapter-button small{display:block;font:400 10px/1.5 var(--iep-mono);margin-top:.25rem;color:var(--iep-muted)}
.iep-chapter-detail{min-width:0;scroll-margin-top:90px}
.iep-chapter-detail>h2{font:400 clamp(1.8rem,3vw,2.6rem)/1.1 var(--iep-serif);margin:0 0 .7rem;letter-spacing:-.02em}
.iep-chapter-visual{display:flex;align-items:center;gap:1.5rem;margin:1.2rem 0 1.5rem;background:var(--iep-surface);border:1px solid var(--iep-line);border-radius:14px;padding:.8rem 1rem}
.iep-concept{width:45%;max-width:310px;flex:none;color:var(--iep-accent)}
.iep-concept svg{display:block;width:100%;height:auto;max-height:155px}
.iep-concept text{stroke:none;fill:var(--iep-muted);font:10px var(--iep-mono)}
.iep-chapter-visual figcaption{font-size:.78rem;color:var(--iep-muted);line-height:1.7}
.iep-activity-list{display:grid;gap:.8rem}
.iep-activity-card{padding:1.25rem;background:var(--iep-surface);border:1px solid var(--iep-line);border-radius:14px}
.iep-activity-card h3{font:500 1rem/1.4 var(--iep-sans);margin:0 0 .45rem}
.iep-activity-card>p:not(.iep-eyebrow){font-size:.82rem;color:var(--iep-muted);margin:.4rem 0 1rem}
.iep-activity-card .iep-button{min-width:150px}
.iep-session-bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1rem 1.5rem;background:var(--iep-bg);border-bottom:1px solid var(--iep-line);z-index:36}
.iep-session-bar h1{font:400 clamp(1.4rem,2.2vw,2rem)/1.15 var(--iep-serif);margin:0;letter-spacing:-.02em}
.iep-session-bar .iep-eyebrow{margin-bottom:.2rem;font-size:9px}
.iep-session-bar .iep-button{flex:none}
.iep-workbook{position:fixed;z-index:1100;top:88px;right:16px;bottom:16px;display:flex;flex-direction:column;width:370px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 104px);border:1px solid var(--iep-line);border-radius:18px;box-shadow:0 12px 50px #0002;background:var(--iep-surface);overflow:auto;overscroll-behavior:contain}
.iep-workbook-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;position:sticky;top:0;background:var(--iep-surface);z-index:2}
.iep-workbook-top strong{font:500 10px var(--iep-mono);text-transform:uppercase;letter-spacing:.06em}
.iep-close{min-height:36px;padding:.4rem .6rem;background:transparent;border:1px solid var(--iep-line);border-radius:999px;color:var(--iep-muted);font-size:11px!important}
.iep-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--iep-line);padding:0 .75rem;flex:none}
.iep-step-button{background:none;border:0;border-bottom:2px solid transparent;color:var(--iep-muted);min-height:55px;font-size:10px!important;padding:.5rem .2rem!important;line-height:1.6!important}
.iep-step-button[aria-current=step]{border-color:var(--iep-accent);color:var(--iep-accent)}
.iep-step-button:disabled{opacity:.45;cursor:default}
.iep-workbook-content{padding:1.25rem;flex:1}
.iep-step>h2{font:400 1.85rem/1.1 var(--iep-serif);letter-spacing:-.025em;margin:0 0 .8rem}
.iep-step>p{font-size:.82rem;line-height:1.7;color:var(--iep-muted)}
.iep-step>.iep-button,.iep-step>div>.iep-button{margin:.5rem .3rem .3rem 0}
.iep-choices{min-width:0;border:0;padding:0;margin:1.2rem 0}
.iep-choices legend{font:500 .8rem/1.55 var(--iep-sans);margin-bottom:.7rem;padding:0}
.iep-option{display:grid;grid-template-columns:18px minmax(0,1fr);gap:.6rem;padding:.8rem;margin-bottom:.55rem;border:1px solid var(--iep-line);border-radius:11px;background:var(--iep-bg);color:var(--iep-ink);font:400 .8rem/1.55 var(--iep-sans);cursor:pointer}
.iep-option input[type=radio]{appearance:auto;width:17px;height:17px;min-width:17px;padding:0;margin:3px 0 0;accent-color:var(--iep-blue);cursor:pointer}
.iep-option:has(input:checked){border-color:var(--iep-blue);background:color-mix(in srgb,var(--iep-blue) 8%,var(--iep-surface))}
.iep-option:has(input:focus-visible){outline:2px solid var(--iep-blue);outline-offset:3px}
.iep-option-state{grid-column:2;font:500 10px var(--iep-mono)}
.iep-option-state:empty{display:none}
.iep-option[data-state=correct]{border-color:var(--iep-good)}
.iep-option[data-state=correct] .iep-option-state{color:var(--iep-good)}
.iep-option[data-state=error]{border-style:dashed;border-color:var(--iep-error)}
.iep-option[data-state=error] .iep-option-state,.iep-choices[aria-invalid=true] .iep-feedback{color:var(--iep-error)}
.iep-feedback{font-size:.76rem;line-height:1.6}
.iep-status{padding:.8rem 1.25rem;margin:0;font-size:.76rem;line-height:1.65;border-top:1px solid var(--iep-line);color:var(--iep-muted)}
.iep-status[data-tone=success]{color:var(--iep-good)}
.iep-status[data-tone=error]{color:var(--iep-error)}
.iep-workbook-footer{padding:.4rem 1.25rem 1rem}
.iep-workbook-footer .iep-button{font-size:.7rem!important;width:100%}
.iep-comparison{font-size:.75rem;margin:.8rem 0;overflow-x:auto}
.iep-comparison table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.iep-comparison :is(td,th){padding:.5rem .4rem;border-bottom:1px solid var(--iep-line);text-align:right;font:inherit}
.iep-comparison :is(td,th):first-child{text-align:left}
.iep-actions{display:flex;flex-wrap:wrap;gap:.5rem}
.iep-actions .iep-button{flex:1}
@media(max-width:760px){.iep-catalog{padding:1.5rem 1rem}.iep-catalog-layout{grid-template-columns:minmax(0,1fr);gap:1.5rem}.iep-chapters{border-right:0;border-bottom:1px solid var(--iep-line);padding:0 0 1rem}.iep-chapter-button{min-height:62px}.iep-catalog-head h1{font-size:2.4rem}.iep-chapter-visual{gap:.8rem;padding:.7rem}.iep-session-bar{padding:.8rem 1rem;gap:.7rem}.iep-session-bar h1{font-size:1.3rem}.iep-session-bar .iep-button{font-size:.7rem!important;padding:.6rem .7rem!important}.iep-workbook{right:8px;bottom:8px;top:100px;width:calc(100vw - 16px);max-width:none;border-radius:16px}.iep-nav-button{font-size:11px!important;padding:.5rem .65rem!important;margin-left:.25rem}}
@media(prefers-reduced-motion:no-preference){.iep-workbook:not([hidden]){animation:iep-open 190ms cubic-bezier(.22,.61,.36,1) both}.iep-step:not([hidden]){animation:iep-enter 180ms ease-out both}.iep-button,.iep-nav-button,.iep-chapter-button,.iep-option{transition:background-color 150ms ease,border-color 150ms ease}.iep-button:active{transform:translateY(1px)}@keyframes iep-open{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}@keyframes iep-enter{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
@media(prefers-reduced-motion:reduce){.iep-workbook,.iep-step{animation:none}.iep-button,.iep-option,.iep-nav-button,.iep-chapter-button{transition:none}}

.ie-catalog-root{overflow:auto!important;height:auto!important;min-height:100dvh}
.ie-catalog-page #root{height:auto!important;min-height:100dvh;overflow:visible!important}
.iep-session-bar{flex:none}
body[data-ie-study-lab=entalpia]{grid-template-rows:58px auto minmax(0,1fr);grid-template-areas:"top top top" "study study study" "pal stage insp"}
body[data-ie-study-lab=entalpia] .iep-session-bar{grid-area:study;min-width:0}
@media(min-width:701px) and (max-width:1100px){body[data-ie-study-lab=entalpia]{grid-template-areas:"top top" "study study" "pal stage"}}
@media(max-width:700px){body[data-ie-study-lab=entalpia]{grid-template-rows:auto auto auto auto auto;grid-template-areas:"top" "study" "pal" "stage" "insp"}}
body[data-ie-study-lab=trelicas] .iep-session-bar{position:fixed;top:var(--bar,56px);left:0;right:0;z-index:34}
body[data-ie-study-lab=trelicas]{--iep-top:calc(var(--bar,56px) + var(--iep-bar-h,54px))}
body[data-ie-study-lab=trelicas] #stage{top:var(--iep-top);height:calc(100dvh - var(--iep-top))}
body[data-ie-study-lab=trelicas] .drawer{top:var(--iep-top);max-height:calc(100dvh - var(--iep-top))}


/* Experiment dock: keep the simulated phenomenon visible while the learner changes parameters. */
.iep-workbook[data-mode=dock]{top:auto!important;bottom:12px;right:12px;width:360px;max-height:min(44dvh,340px)!important}
.iep-workbook[data-mode=dock] .iep-step>h2{font-size:1.25rem;margin-bottom:.4rem}
.iep-workbook[data-mode=dock] .iep-workbook-content{padding:.8rem 1rem}
.iep-workbook[data-mode=dock] .iep-workbook-footer{display:none}
.iep-workbook[data-mode=dock] .iep-step-button{min-height:40px}
@media(max-width:760px){.iep-workbook[data-mode=dock]{left:8px;right:8px;bottom:8px;width:auto;max-height:46dvh!important}}
.iep-close{width:36px;padding:0!important;font-size:18px!important;line-height:1}
.iep-back{display:inline-block;margin-bottom:1rem;font:500 11px var(--iep-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--iep-muted);text-decoration:none}
.iep-back:hover{color:var(--iep-accent)}
/* Header entry is navigation: outlined, filled only on the catalog itself, so the session launcher stays the primary action. */
.iep-nav-button{background:transparent!important;color:var(--iep-accent)!important;border:1px solid var(--iep-accent)!important}
.iep-nav-button[aria-current=page]{background:var(--iep-accent)!important;color:#fff!important}
body[data-ie-study-lab=trelicas] .lab-start{display:none}

/* ---- Unified action language ----
   Header entry = quiet ghost button in the site's own tokens; the single filled action is the session launcher. */
.iep-nav-button{background:transparent!important;color:var(--iep-ink)!important;border:1px solid var(--iep-line)!important;border-radius:8px!important;min-height:34px;padding:.35rem .8rem!important;font:600 12.5px/1 var(--iep-sans)!important;gap:.45rem;transition:background-color 150ms ease,border-color 150ms ease}
.iep-nav-button::before,.iep-launcher::after{content:"";flex:none;width:14px;height:14px;background:currentColor;-webkit-mask:var(--iep-ico) center/contain no-repeat;mask:var(--iep-ico) center/contain no-repeat}
.iep-nav-button{--iep-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1M9 13l2 2 4-4'/%3E%3C/svg%3E")}
.iep-nav-button::before{color:var(--iep-accent)}
.iep-nav-button:hover{background:color-mix(in srgb,var(--iep-accent) 9%,transparent)!important;border-color:var(--iep-accent)!important;filter:none}
.iep-nav-button[aria-current=page]{background:color-mix(in srgb,var(--iep-accent) 13%,transparent)!important;color:var(--iep-accent)!important;border-color:var(--iep-accent)!important}
/* slim session bar: title and launcher on one line */
.iep-session-bar{padding:.55rem 1rem;gap:1rem;min-height:52px}
.iep-session-bar>div{display:flex;align-items:baseline;gap:.7rem;min-width:0}
.iep-session-bar .iep-eyebrow{margin:0;flex:none;white-space:nowrap}
.iep-session-bar h1{font-size:clamp(1.05rem,1.6vw,1.3rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.iep-launcher{flex:none;display:inline-flex;align-items:center;gap:.45rem;min-height:36px;padding:.4rem .9rem;border:1px solid var(--iep-accent);border-radius:8px;background:var(--iep-accent);color:var(--iep-bg);font:600 12.5px/1 var(--iep-sans);cursor:pointer;transition:filter 150ms ease}
.iep-launcher:hover{filter:brightness(1.08)}
.iep-launcher{--iep-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E")}
.iep-launcher[aria-expanded=true]{background:transparent;color:var(--iep-accent)}
.iep-launcher[aria-expanded=true]::after{transform:rotate(180deg)}
@media(prefers-reduced-motion:no-preference){.iep-launcher::after{transition:transform 180ms ease}}
@media(max-width:760px){.iep-session-bar>div{flex-direction:column;gap:.1rem;align-items:flex-start}.iep-session-bar h1{font-size:1rem;max-width:100%}.iep-launcher{padding:.4rem .7rem}}

/* The step's primary action stays reachable while the panel scrolls (docked panel included). */
.iep-step .iep-button:not(.iep-button-secondary){position:sticky;bottom:0;z-index:1;box-shadow:0 -10px 12px -6px var(--iep-surface)}
@media(max-width:440px){.topbar>.iep-nav-button{font-size:0!important;gap:0;padding:.35rem .6rem!important}.topbar>.iep-nav-button::before{width:17px;height:17px}}

/* ---- Visual evolution: progress, option cards, comparison delta, step state ---- */
.iep-progress{display:flex;align-items:center;gap:.8rem;margin:.9rem 0 0;font:500 11px var(--iep-mono);letter-spacing:.03em;color:var(--iep-muted)}
.iep-progress i,.iep-meter{position:relative;display:block;height:4px;border-radius:99px;background:var(--iep-line);overflow:hidden}
.iep-progress i{width:min(220px,40vw)}
.iep-progress i::after,.iep-meter::after{content:"";position:absolute;inset:0;transform-origin:left;transform:scaleX(var(--p,0));background:var(--iep-good);border-radius:inherit}
.iep-meter{margin-top:.45rem;height:3px}
.iep-chapter-number[data-done=true]{background:var(--iep-good);border-color:var(--iep-good);color:var(--iep-bg)}
.iep-activity-card{transition:border-color 150ms ease,box-shadow 150ms ease}
.iep-activity-card:hover{border-color:color-mix(in srgb,var(--iep-accent) 45%,var(--iep-line));box-shadow:0 6px 22px -14px #0005}
.iep-option{align-items:start;border-radius:12px;padding:.85rem .9rem;transition:border-color 140ms ease,background-color 140ms ease,box-shadow 140ms ease}
.iep-option:hover{border-color:color-mix(in srgb,var(--iep-accent) 55%,var(--iep-line))}
.iep-option input[type=radio]{appearance:none;-webkit-appearance:none;display:grid;place-items:center;width:18px;height:18px;min-width:18px;border:1.5px solid var(--iep-muted);border-radius:50%;background:transparent}
.iep-option input[type=radio]::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--iep-accent);transform:scale(0);transition:transform 140ms ease}
.iep-option input[type=radio]:checked{border-color:var(--iep-accent)}
.iep-option input[type=radio]:checked::after{transform:scale(1)}
.iep-option:has(input:checked){border-color:var(--iep-accent);background:color-mix(in srgb,var(--iep-accent) 8%,var(--iep-surface));box-shadow:0 0 0 1px var(--iep-accent) inset}
.iep-option:has(input:focus-visible){outline-color:var(--iep-accent)}
.iep-option[data-state=correct]{box-shadow:0 0 0 1px var(--iep-good) inset;background:color-mix(in srgb,var(--iep-good) 9%,var(--iep-surface))}
.iep-step-button[data-done=true]{color:var(--iep-good)}
.iep-step-button[data-done=true]::before{content:"✓ "}
.iep-step-button[aria-current=step]{font-weight:600}
.iep-comparison table{width:100%;border-collapse:collapse}
.iep-comparison th,.iep-comparison td{padding:.4rem .5rem;border-bottom:1px solid var(--iep-line);text-align:right;font:400 11px/1.4 var(--iep-mono)}
.iep-comparison th:first-child{text-align:left;font-family:var(--iep-sans);font-weight:500}
.iep-comparison tr:first-child th{color:var(--iep-muted);font-weight:500}
.iep-delta{color:var(--iep-accent);white-space:nowrap}
@media(prefers-reduced-motion:no-preference){
 .iep-concept path,.iep-concept circle{stroke-dasharray:520;stroke-dashoffset:520;animation:iep-draw 1100ms cubic-bezier(.22,.61,.36,1) forwards}
 .iep-concept circle{animation-delay:120ms}
 .iep-progress i::after,.iep-meter::after{transition:transform 500ms cubic-bezier(.22,.61,.36,1)}
 .iep-status.iep-pop{animation:iep-pop 380ms cubic-bezier(.22,1,.36,1)}
 @keyframes iep-draw{to{stroke-dashoffset:0}}
 @keyframes iep-pop{0%{transform:scale(.97);opacity:.3}100%{transform:none;opacity:1}}
}

/* Panel side: learner chooses which side of the bench stays visible. */
.iep-workbook[data-side=left]{right:auto;left:16px}
.iep-workbook-top{gap:.5rem}
.iep-workbook-top strong{margin-right:auto}
.iep-side{font-size:15px!important}
@media(max-width:760px){.iep-side{display:none}.iep-workbook[data-side=left]{left:8px}}
/* MecLab's own onboarding card would compete with an open challenge. */
body[data-ie-study-lab=meclab] section[aria-labelledby=start-title]{display:none}

.iep-workbook-top{cursor:grab;touch-action:none;user-select:none}
.iep-workbook-top.iep-dragging{cursor:grabbing}
.iep-clarity{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:1rem 0 .2rem;padding-top:.9rem;border-top:1px solid var(--iep-line);font-size:.78rem;color:var(--iep-muted)}
.iep-clarity .iep-button{min-height:34px;padding:.3rem .8rem!important}

/* relatório único: o acadêmico substitui CSV / PDF simples / TXT nos grupos de exportação */
.tgroup[aria-label=Exportar]>#btn-csv,.tgroup[aria-label=Exportar]>#btn-pdf,#study-summary{display:none!important}

/* ---- Guided mode ---- */
.iep-tour{position:fixed;inset:0;z-index:1200;pointer-events:none;font-family:var(--iep-sans)}
.iep-tour-ring{position:fixed;display:none;border:2px solid var(--iep-accent);border-radius:10px;box-shadow:0 0 0 100vmax rgba(12,12,14,.52);pointer-events:none;transition:left .25s ease,top .25s ease,width .25s ease,height .25s ease}
.iep-tour-ring::after{content:"";position:absolute;inset:-6px;border:2px solid var(--iep-accent);border-radius:14px;opacity:0}
.iep-tour-pop{position:fixed;pointer-events:auto;box-sizing:border-box;padding:1rem 1.1rem .9rem;background:var(--iep-surface);color:var(--iep-ink);border:1px solid var(--iep-accent);border-radius:14px;box-shadow:0 18px 50px -12px #000a;transition:left .25s ease,top .25s ease}
.iep-tour-count{display:block;font:500 10px var(--iep-mono);letter-spacing:.07em;text-transform:uppercase;color:var(--iep-accent);margin-bottom:.35rem}
.iep-tour-title{display:block;font:400 1.35rem/1.15 var(--iep-serif);letter-spacing:-.015em;outline:none}
.iep-tour-text{margin:.5rem 0 0;font-size:.84rem;line-height:1.55;color:var(--iep-ink)}
.iep-tour-hint{margin:.4rem 0 0;font:400 .72rem/1.5 var(--iep-mono);color:var(--iep-muted)}
.iep-tour-actions{display:flex;gap:.5rem;margin-top:.9rem}
.iep-tour-pop button{font:600 12.5px var(--iep-sans);min-height:36px;padding:.35rem .9rem;border-radius:8px;border:1px solid var(--iep-line);background:transparent;color:var(--iep-ink);cursor:pointer}
.iep-tour-pop button:hover{border-color:var(--iep-accent);color:var(--iep-accent)}
.iep-tour-pop .iep-tour-primary{background:var(--iep-accent);border-color:var(--iep-accent);color:var(--iep-bg);margin-left:auto}
.iep-tour-pop .iep-tour-primary:hover{color:var(--iep-bg);filter:brightness(1.08)}
.iep-tour-pop .iep-tour-exit{display:block;margin:.6rem 0 0;padding:0;min-height:0;border:0;font:500 11px var(--iep-mono);color:var(--iep-muted);text-decoration:underline}
.iep-tour-pop [hidden]{display:none!important}
.iep-tour-pop:focus-within{outline:none}
.iep-tour-arrow{position:absolute;width:12px;height:12px;background:var(--iep-surface);border:1px solid var(--iep-accent);transform:rotate(45deg)}
.iep-tour-pop[data-side=below] .iep-tour-arrow{top:-7px;left:calc(var(--ax,40px) - 6px);border-right:0;border-bottom:0}
.iep-tour-pop[data-side=above] .iep-tour-arrow{bottom:-7px;left:calc(var(--ax,40px) - 6px);border-left:0;border-top:0}
.iep-tour-pop[data-side=right] .iep-tour-arrow{left:-7px;top:calc(var(--ay,40px) - 6px);border-right:0;border-top:0}
.iep-tour-pop[data-side=left] .iep-tour-arrow{right:-7px;top:calc(var(--ay,40px) - 6px);border-left:0;border-bottom:0}
.iep-tour-pop[data-side=center] .iep-tour-arrow,.iep-tour-pop[data-side=none] .iep-tour-arrow{display:none}
.iep-guide{width:auto!important;padding:0 .7rem!important;font-size:11px!important}
@media(prefers-reduced-motion:no-preference){.iep-tour-ring::after{animation:iep-ring 1.6s ease-out infinite}@keyframes iep-ring{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.04)}}}
@media(prefers-reduced-motion:reduce){.iep-tour-ring,.iep-tour-pop{transition:none}}
@media(max-width:760px){.iep-guide{display:inline-flex}.iep-tour-pop{max-height:60vh;overflow:auto}}
