:root{--ink:#19382f;--green:#235f53;--deep:#153f36;--mint:#e2eee5;--paper:#f6f5ef;--line:#d9ded4;--muted:#64736c;--gold:#b66d36;--white:#fff;--purple:#675296;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}*{box-sizing:border-box}body{margin:0}button,a,input{touch-action:manipulation}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--green)}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #b66d36;outline-offset:4px}button{transition:background .15s,transform .15s,box-shadow .15s}button:hover:not(:disabled){transform:translateY(-1px)}header{max-width:1450px;margin:auto;padding:25px 5%;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;border:0;background:none;text-align:left;font-weight:700;font-size:18px;padding:0}.brand small{display:block;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:7px}.brandmark{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:var(--deep);color:#e6e9b5;font-size:29px;box-shadow:0 3px 0 #0f2c25}.header-actions{display:flex;align-items:center;gap:22px}.version{font-size:11px;letter-spacing:1px;background:#ecebe1;padding:7px 10px;border-radius:20px}.textbtn{background:none;border:0;padding:9px 0;color:var(--green);font-size:13px;font-weight:700}.textbtn span{margin-left:9px}main{max-width:1350px;margin:auto;padding:44px 4% 64px;min-height:75vh;outline:none}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1.6px}h1{font-size:clamp(37px,4vw,62px);line-height:1.06;margin-bottom:22px}h2{font-size:34px;line-height:1.15}h3{line-height:1.3;font-size:18px}p{line-height:1.65;color:var(--muted)}.eyebrow{display:block;letter-spacing:2.3px;font-size:10px;font-weight:700;color:var(--green);margin-bottom:17px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:center;margin-bottom:40px}.hero p{max-width:510px;font-size:16px}.hero em{font-weight:400;color:var(--gold)}.hero-art{background:linear-gradient(135deg,#dce9df,#eef0e5);border:1px solid #cfdbcd;border-radius:80px 30px 80px 30px;box-shadow:0 15px 30px #153f360c,inset 0 2px 0 #ffffffb3;padding:23px 28px;position:relative;min-height:270px}.hero-art svg{width:100%;height:218px;display:block}.hero-art .artcaption{display:flex;align-items:center;justify-content:space-between;font-size:11px;line-height:1.5;gap:10px}.dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:var(--green);margin-right:5px}.dot.gray{background:#8a9889}.steps{display:flex;gap:26px;margin-bottom:35px;font-size:12px;color:#728077;flex-wrap:wrap}.steps span{display:flex;align-items:center;gap:9px}.steps b{border:1px solid #ccd4c9;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;font-size:10px}.steps .active{color:var(--deep);font-weight:700}.steps .active b{background:var(--deep);color:white;border-color:var(--deep)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 20px}.section-head h2{font-family:Arial,sans-serif;font-size:20px;font-weight:700;letter-spacing:-.4px;margin:0}.section-head p{font-size:13px;margin:5px 0 0}.quick{display:flex;gap:16px;flex-wrap:wrap}.unit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.unit{position:relative;display:flex;align-items:flex-start;gap:13px;background:linear-gradient(145deg,white,#f9faf5);border:1px solid var(--line);border-left:3px solid #cbd7c9;border-radius:26px 14px 26px 14px;box-shadow:0 4px 9px #243e2d05;padding:20px;cursor:pointer;min-height:139px;transition:all .18s}.unit:hover{border-color:#8aab94;box-shadow:0 8px 18px #153f360a;transform:translateY(-2px)}.unit.selected{background:linear-gradient(140deg,#edf5ed,#e4efe7);border-color:#7ba48d;border-left-color:var(--green)}.unit input{position:absolute;opacity:0;width:1px;height:1px}.unit:has(input:focus-visible){outline:3px solid var(--gold);outline-offset:3px}.unit-number{color:var(--muted);font-size:12px;padding-top:4px}.unit h3{font-size:14px;margin:0 20px 8px 0}.unit p{font-size:11.5px;line-height:1.55;margin:0}.check{position:absolute;right:16px;top:20px;display:grid;place-items:center;width:17px;height:17px;border-radius:6px;border:1px solid #bcc9ba;font-size:11px}.selected .check{color:white;background:var(--green);border-color:var(--green)}.selection-bar{position:sticky;bottom:15px;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 24px;margin-top:25px;background:#fffefaee;backdrop-filter:blur(14px);border:1px solid #d0d9ce;border-radius:24px;box-shadow:0 8px 30px #153f3614;z-index:3}.selection-bar p{font-size:12px;margin:6px 0 0}.primary,.secondary{border-radius:13px;padding:13px 20px;font-size:13px;font-weight:700;border:1px solid var(--green);display:inline-flex;align-items:center;justify-content:center;gap:14px;text-decoration:none}.primary{background:linear-gradient(145deg,#306f60,#194b40);color:white;box-shadow:0 3px 0 #103b32}.primary:hover{background:#174c3f}.secondary{background:white;border-color:#cdd7cb}.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.resume{padding:14px 20px;border:1px solid #b4cbb5;border-radius:15px;background:#e7efe0;display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:28px;font-size:13px}.page-heading{max-width:830px;margin-bottom:30px}.page-heading h1{font-size:46px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{font-size:11px;padding:6px 10px;background:#e6ece2;border:1px solid #d2ddcf;border-radius:30px;color:#3d5f4f}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}.theme{border:1px solid var(--line);border-radius:35px 18px 35px 18px;background:white;padding:26px;display:flex;flex-direction:column;text-align:left;min-height:245px;box-shadow:0 5px 15px #153f3607}.theme:hover{box-shadow:0 13px 25px #153f3611;border-color:#99b59b}.theme-icon{height:47px;width:47px;border-radius:16px;display:grid;place-items:center;font-size:30px;margin-bottom:22px;background:#edf0e6;color:var(--accent)}.theme h3{font-size:19px;letter-spacing:-.3px;margin-bottom:12px}.theme p{font-size:13px;flex:1}.theme .bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);border-top:1px solid #e6e9df;padding-top:14px}.theme .arrow{font-size:20px;color:var(--accent)}.brief-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:25px}.panel{background:#fff;border:1px solid var(--line);border-radius:34px 18px 34px 18px;padding:30px;box-shadow:0 8px 25px #153f3606}.panel h3{font-size:16px}.objective{padding:20px 22px;border-left:3px solid var(--green);border-radius:15px;background:#eaf1e7;margin:25px 0}.objective p{margin:7px 0 0;color:#36594a;font-size:14px}.support{padding:15px 0;border-bottom:1px solid #e7eadd}.support:last-child{border-bottom:0}.support strong{font-size:12px}.support p{font-size:12px;line-height:1.55;margin:7px 0 0}.support-list{max-height:420px;overflow:auto;padding-right:10px}.micro{font-size:11px;line-height:1.6;color:var(--muted)}.pill{font-size:10px;display:inline-block;border-radius:20px;padding:6px 10px;background:var(--mint);color:var(--green);font-weight:700}.play-head{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;margin-bottom:22px}.play-head h1{font-size:33px;margin-bottom:10px}.progress{height:5px;border-radius:4px;background:#e0e6dc;margin-top:14px;overflow:hidden}.progress div{height:100%;background:var(--green);transition:width .3s}.play-layout{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(0,1.3fr);gap:24px;align-items:start}.map-panel{background:#edf1e7;border:1px solid #d6dfd0;border-radius:30px;padding:23px}.map-panel summary{cursor:pointer;font-size:15px;font-weight:700}.map-panel .micro{margin:12px 0}.map{position:relative}.map-stage{position:relative;margin-top:21px;padding-top:18px;border-top:1px dashed #b6c9b4}.map-stage:before{content:'↓';position:absolute;left:50%;top:-12px;background:#edf1e7;padding:0 8px;color:#7c9b7b}.stage-label{font-size:9px;letter-spacing:1.4px;color:#566b58;margin-bottom:10px;font-weight:700}.nodes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.node{padding:10px 8px;display:flex;align-items:center;gap:7px;border:1px solid #c6d4bf;background:#f8faf4;border-radius:14px 8px 14px 8px;text-align:left;font-size:11px;line-height:1.3;min-height:48px}.node span{font-size:8px;display:block;color:#637562;margin-top:4px}.node i{font-style:normal;font-size:9px;color:#648062}.node.provided{background:#f4f4ed;border-style:dashed;color:#788171}.node.done{background:#d9eadb;border-color:#7aab86}.node.current{box-shadow:0 0 0 2px var(--green);background:white}.node.wide{width:100%;justify-content:center;text-align:center;font-weight:700}.node.locked{opacity:.55}.map-root{text-align:center;background:var(--deep);color:white;padding:12px;border-radius:16px;font-size:12px}.legend{display:flex;gap:13px;flex-wrap:wrap;font-size:9px;margin:16px 0}.legend .dot{height:6px;width:6px}.quiz{padding:30px 32px;min-height:510px}.quiz h2{font-family:Arial,sans-serif;font-weight:700;font-size:23px;letter-spacing:-.4px;line-height:1.45;margin:20px 0}.quiz .question-context{font-size:12px;border-bottom:1px solid #e4e9df;padding-bottom:15px;margin:13px 0 0}.options{display:grid;gap:10px}.option{display:flex;gap:13px;align-items:flex-start;text-align:left;padding:16px;border:1px solid #d4dcd0;border-radius:18px 10px 18px 10px;background:#fcfdf9;font-size:13px;line-height:1.6;cursor:pointer}.option input{margin-top:5px;accent-color:var(--green);flex:none}.option.selected{background:#edf5e9;border-color:#729c76}.option.correct{border-color:#5f9568;background:#e5f0df}.option.wrong{border-color:#bc8c65;background:#fbf1e7}.option .letter{font-size:11px;font-weight:700;color:#7b8c7b}.feedback{padding:20px;border-radius:20px;background:#eaf2e5;margin-top:20px;border:1px solid #c4d8bd}.feedback.error{background:#faf0e3;border-color:#e0c7a4}.feedback h3{font-size:15px;margin:0 0 10px}.feedback p{font-size:13px;margin:0;color:#465c44}.feedback .actions{margin-top:17px}.quiz .actions{margin-top:20px}.path-record{font-size:11px;margin-top:20px;color:var(--muted)}.path-record summary{cursor:pointer}.path-record ol{padding-left:20px;line-height:1.65}.path-record li{margin:8px 0}.context-details{margin-top:20px;font-size:12px;line-height:1.6}.context-details summary{cursor:pointer;font-weight:700}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.stat{padding:22px;border:1px solid var(--line);border-radius:24px;background:white}.stat strong{display:block;font-family:Georgia,serif;font-weight:400;font-size:36px;margin-bottom:8px}.stat span{font-size:11px;color:var(--muted)}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.result-item{padding:22px;border:1px solid var(--line);border-radius:25px;background:white}.result-item.provided{border-style:dashed;background:#f1f3ea}.result-item h3{font-size:16px;margin:10px 0}.result-item p{font-size:13px;margin-bottom:0}.result-item .connection{font-weight:700;color:#365e4b}.result-top{display:grid;grid-template-columns:1fr auto;align-items:center;gap:25px}.summary-map{margin-bottom:25px}.summary-map .nodes{grid-template-columns:repeat(4,1fr)}.summary-map .node{cursor:default}.print-only{display:none}footer{max-width:1350px;margin:auto;padding:25px 4%;border-top:1px solid var(--line);font-size:10px;display:flex;justify-content:space-between;gap:15px;color:var(--muted)}dialog{max-width:660px;width:calc(100% - 30px);border:1px solid var(--line);border-radius:28px;padding:35px;box-shadow:0 30px 100px #0003;color:var(--ink)}dialog::backdrop{background:#142d246b;backdrop-filter:blur(3px)}dialog h2{font-size:32px}dialog p,dialog li{font-size:13px;line-height:1.65;color:var(--muted)}dialog li{margin:9px 0}dialog details{font-size:13px}.close{float:right;border:0;background:#edf1e7;border-radius:50%;height:28px;width:28px;font-size:22px}.skip{position:absolute;top:-100px;left:20px;z-index:10;padding:12px;background:white}.skip:focus{top:10px}#notice{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:20;background:#193f33;color:white;border-radius:14px;font-size:12px;padding:12px 20px;max-width:90%;box-shadow:0 8px 20px #0002}#notice:empty{display:none}
@media(max-width:1000px){.hero{gap:25px}.unit-grid{grid-template-columns:repeat(2,1fr)}.theme-grid{gap:14px}.theme{padding:21px}.play-layout{grid-template-columns:minmax(255px,.8fr) minmax(0,1.3fr)}.quiz{padding:24px}.brief-layout{grid-template-columns:1fr 1fr}}
@media(max-width:740px){header{padding:18px 5%}.brand{font-size:14px}.brand small{font-size:7px;letter-spacing:1.4px}.brandmark{width:36px;height:36px}.version{display:none}.textbtn{font-size:12px}.header-actions{gap:8px}main{padding:30px 5% 45px}.hero{grid-template-columns:1fr;gap:20px}.hero-art{min-height:auto;padding:20px 23px;border-radius:45px 20px}.hero-art svg{height:190px}.hero h1{font-size:43px}.hero p{font-size:14px}.steps{gap:14px;font-size:10px;margin-bottom:25px}.steps span{gap:6px}.section-head{align-items:flex-start;flex-direction:column}.quick{gap:18px}.unit-grid{grid-template-columns:1fr 1fr;gap:10px}.unit{padding:16px 13px;gap:9px;min-height:157px}.unit-number{font-size:10px}.unit h3{font-size:12px;margin-right:12px}.unit p{font-size:10px}.check{right:11px;top:15px;width:14px;height:14px}.selection-bar{padding:15px;bottom:8px;gap:10px;border-radius:18px}.selection-bar strong{font-size:12px}.selection-bar p{font-size:10px}.selection-bar .primary{font-size:11px;padding:13px}.theme-grid{grid-template-columns:1fr}.theme{min-height:185px;display:grid;grid-template-columns:45px 1fr;gap:0 18px;padding:23px}.theme-icon{grid-row:1/4;margin:0}.theme h3{font-size:18px}.theme p{font-size:13px}.theme .bottom{grid-column:2}.page-heading h1{font-size:38px}.brief-layout,.play-layout,.result-grid{grid-template-columns:1fr}.panel{padding:24px}.play-head{flex-direction:column;gap:12px}.play-head h1{font-size:30px}.play-head .actions{align-self:flex-end}.map-panel{padding:20px}.nodes{grid-template-columns:repeat(3,minmax(0,1fr))}.node{font-size:10px;padding:9px 7px}.quiz{min-height:0;padding:23px}.quiz h2{font-size:20px}.option{font-size:13px;padding:14px}.stats{gap:8px}.stat{padding:15px}.stat strong{font-size:28px}.stat span{font-size:10px}.result-top{grid-template-columns:1fr}.summary-map .nodes{grid-template-columns:repeat(2,1fr)}footer{flex-direction:column}.support-list{max-height:350px}.resume{font-size:12px;align-items:flex-start}.hero .resume{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{header,footer,.actions,.steps,.textbtn,#notice,.skip,dialog{display:none!important}body{background:white}main{max-width:none;padding:0}.page-heading h1{font-size:30px}.result-grid{display:block}.result-item,.stat,.map-panel{break-inside:avoid;box-shadow:none;margin-bottom:12px}.print-only{display:block}.summary-map .nodes{grid-template-columns:repeat(4,1fr)}.result-top{display:block}.result-item{padding:15px}a{color:inherit;text-decoration:none}details{display:block}}

/* Branch choices and the physiological relation revealed after validation. */
.options{position:relative;margin-left:12px;padding-left:15px;border-left:1px solid #b4c9b2}
.option{position:relative}.option:before{content:'';position:absolute;left:-16px;top:25px;width:15px;height:1px;background:#b4c9b2}
.causal-chain{display:flex;flex-direction:column;align-items:center;margin:20px 0 3px;gap:5px;text-align:center;font-size:12px;line-height:1.45}.causal-chain div{padding:10px 15px;background:#fff9;border:1px solid #b9cfb5;border-radius:14px;max-width:100%;min-width:65%}.causal-chain span{color:#689468;font-size:16px}.result-item .causal-chain{font-size:11px}

.summary-map .node:disabled{opacity:1;cursor:default}

.hub-return{text-decoration:none}.hub-return:hover{text-decoration:underline}@media(max-width:740px){header{flex-wrap:wrap}.header-actions{width:100%;justify-content:space-between}.brand{max-width:100%}}


/* ============================================================
   PERCURSOS 3D — padrão de profundidade e interação, 25/10/2026
   Design progressivo: CSS apenas, sem interferir nas decisões,
   nos cálculos, no estado salvo ou na saída impressa.
   ============================================================ */
:root{
  --surface-top:#ffffff;--surface-base:#f2f6ef;
  --edge-light:#ffffffed;--edge-shade:#9eafa2;
  --depth:#aebfb1;--depth-strong:#506b5c;
  --lift-shadow:0 5px 0 #b3c4b7,0 14px 24px #173b2e22;
  --lift-hover:0 8px 0 #a2b9a8,0 23px 32px #173b2e2b;
  --inset-active:inset 0 3px 9px #1e47331d,inset 0 1px 4px #183d2b16;
}
body{
  background:
    radial-gradient(ellipse 70% 42% at 8% 9%,#dcebe2b0,transparent),
    radial-gradient(ellipse 45% 34% at 95% 33%,#e9e3d7a8,transparent),
    var(--paper);
}
#pilot-shell{isolation:isolate}
header{
  border-bottom:1px solid #ffffffa8;
  box-shadow:0 7px 18px #193c2d0a;
}
.brandmark{
  border:1px solid #a3c8b5;
  background:linear-gradient(145deg,#357e6c 0%,#1b4d41 70%,#10352c 100%);
  box-shadow:inset 0 2px 0 #a1d9bb7d,inset -4px -4px 8px #082a2369,0 5px 0 #0e3028,0 11px 20px #153f3626;
}
.hero-art,.panel,.map-panel,.theme,.unit,.stat,.result-item,.quiz,.selection-bar,.resume,.objective,.feedback,.causal-chain div{
  position:relative;
  background-image:linear-gradient(145deg,#ffffffef 0%,#f5f9f3 53%,#e6eee5 100%);
  border:1px solid var(--edge-shade);
  border-top-color:var(--edge-light);
  border-left-color:#ffffffed;
  box-shadow:inset 0 2px 0 #ffffffeb,inset -3px -5px 10px #7d9a8420,var(--lift-shadow);
}
.hero-art{border-radius:64px 30px 68px 24px;overflow:hidden;box-shadow:inset 0 3px 0 #ffffff, inset -9px -12px 25px #58826b20,0 8px 0 #b3c8ba,0 22px 36px #113b2e23}
.hero-art:after{content:'';position:absolute;inset:8px;pointer-events:none;border:1px solid #ffffff90;border-radius:inherit}
.panel,.quiz,.map-panel{border-radius:32px 17px 35px 19px}
.map-panel{background-image:linear-gradient(145deg,#f6faf2,#e2eee0)}
.selection-bar{box-shadow:inset 0 2px 0 #fff,0 6px 0 #adbeaf,0 15px 30px #123b2b35;background:#fffef9f3}
.stat,.result-item{border-radius:26px 14px 28px 16px}
.objective,.feedback,.resume{background-image:linear-gradient(150deg,#f2faf0,#deecdd)}
/* Níveis de relevo dos elementos operáveis */
.unit,.theme,.node,.option,.primary,.secondary,.textbtn,.brand,.close{
  -webkit-tap-highlight-color:transparent;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease,filter .2s ease;
}
.unit,.theme{transform:translateY(0);box-shadow:inset 0 2px 0 #fff,0 5px 0 #a7bbae,0 14px 22px #153f3626}
.unit:hover,.theme:hover{
  transform:translateY(-4px);
  border-color:#6f9e82;
  box-shadow:inset 0 2px 0 #fff,var(--lift-hover);
}
.unit:active,.theme:active{
  transform:translateY(3px);
  box-shadow:var(--inset-active),0 1px 0 #aec0b1;
}
.unit.selected{
  background-image:linear-gradient(145deg,#e8f8ec,#c5e5cd);
  border-color:#4f956c;
  box-shadow:var(--inset-active),0 2px 0 #89b898,0 7px 14px #1a5f3a20;
}
.unit.selected:hover{transform:translateY(-2px);box-shadow:var(--inset-active),0 5px 0 #8ab997,0 14px 20px #1a5f3a24}
.theme-icon{
  border:1px solid #f9fff8;
  box-shadow:inset 0 2px 0 #fff,0 4px 0 #becdbb,0 9px 15px #143c2e24;
  background:linear-gradient(145deg,#fff,#dfeadd);
}
.check{box-shadow:inset 1px 2px 3px #23573b20,0 1px 0 #fff}
.selected .check{box-shadow:inset 0 1px 3px #092c1c80,0 2px 0 #b3c9b5}
.node,.option{
  position:relative;
  background-image:linear-gradient(145deg,#fff,#eff6ec);
  border-color:#b7cab9;
  box-shadow:inset 0 1px 0 #fff,0 3px 0 #a6bca6,0 8px 13px #1b3d2d20;
}
.node:not(:disabled):hover,.option:hover{
  transform:translateY(-2px);
  border-color:#5f9474;
  box-shadow:inset 0 1px 0 #fff,0 5px 0 #90ad98,0 12px 16px #183a2c24;
}
.node:not(:disabled):active,.option:active{
  transform:translateY(2px);
  box-shadow:var(--inset-active),0 1px 0 #a3b5a5;
}
.node.done,.option.correct{background-image:linear-gradient(145deg,#e6f6e9,#c5e7cb);border-color:#5f9970}
.node.current,.option.selected{
  outline:2px solid #4f9270;
  outline-offset:2px;
  background-image:linear-gradient(145deg,#eff8f0,#d6ecdc);
  box-shadow:var(--inset-active),0 2px 0 #8cb69a,0 8px 14px #1f51302a;
}
.node.provided{background-image:linear-gradient(145deg,#f7f6f0,#ebece4);border-style:dashed}
.node:disabled{transform:none;cursor:default;box-shadow:inset 0 2px 5px #516b4c15,0 1px 0 #fff}
.summary-map .node:disabled{opacity:1}
.option.wrong{background-image:linear-gradient(145deg,#fff6ed,#f6e3d0);border-color:#b88a66}
.map-root{
  background:linear-gradient(150deg,#35826c,#153f36 76%);
  border:1px solid #8ec3a6;
  box-shadow:inset 0 2px 0 #a2dab36e,0 5px 0 #113e32,0 12px 19px #153f3626;
}
.map-stage:before{background:#e8f1e6}
.primary,.secondary{
  box-shadow:inset 0 1px 0 #ffffff95,0 4px 0 #0d3b30,0 10px 15px #153f3628;
  border-radius:15px 9px 15px 9px;
  min-height:43px;
}
.primary{background:linear-gradient(145deg,#3d977c,#246b58 60%,#164839);color:#fff}
.secondary{background:linear-gradient(145deg,#fff,#e8f2e7);border-color:#b3c7b5;box-shadow:inset 0 1px 0 #fff,0 4px 0 #a7b9a8,0 10px 15px #153f361b}
.primary:hover:not(:disabled),.secondary:hover:not(:disabled){transform:translateY(-3px);filter:brightness(1.05)}
.primary:active:not(:disabled),.secondary:active:not(:disabled){transform:translateY(3px);box-shadow:var(--inset-active),0 1px 0 #9db7a5}
.textbtn:not(:disabled):hover{transform:translateY(-2px);text-shadow:0 1px 8px #3a806744}
.textbtn:not(:disabled):active{transform:translateY(1px)}
dialog{background:linear-gradient(155deg,#ffffff,#ebf3e9);border:1px solid #abc0af;box-shadow:inset 0 2px 0 #fff,0 9px 0 #819b87,0 30px 90px #10291d69}
dialog::backdrop{background:#102d24a8}
.brand:focus-visible,.unit:has(input:focus-visible),.theme:focus-visible,.node:focus-visible,.option:has(input:focus-visible),.primary:focus-visible,.secondary:focus-visible{outline:3px solid #b46f31;outline-offset:5px}
@media(hover:none){
 .unit:hover,.theme:hover,.node:not(:disabled):hover,.option:hover,.primary:hover:not(:disabled),.secondary:hover:not(:disabled){transform:none}
}
@media(max-width:740px){
 .hero-art{border-radius:43px 18px}
 .unit,.theme{box-shadow:inset 0 2px 0 #fff,0 3px 0 #a7bbae,0 8px 13px #153f3620}
 .selection-bar{box-shadow:inset 0 1px 0 #fff,0 4px 0 #adbeaf,0 10px 20px #123b2b26}
}
@media(prefers-reduced-motion:reduce){
 .unit,.theme,.node,.option,.primary,.secondary,.textbtn,.brand,.close{transition:none!important}
}
@media print{
 body{background:#fff!important}
 .hero-art,.panel,.map-panel,.theme,.unit,.stat,.result-item,.quiz,.selection-bar,.resume,.objective,.feedback,.causal-chain div,.node,.option,.map-root{
  background:#fff!important;box-shadow:none!important;filter:none!important;text-shadow:none!important;transform:none!important;outline:none!important
 }
 .result-item,.stat,.map-panel,.node{border:1px solid #999!important}
 .hero-art:after{display:none}
}
