/* Shared foundations for standalone learning tools; no layout or learning-state rewrite. */
html body,html body :is(button,input,select,textarea,h1,h2,h3,h4,p,a,label,summary,li,td,th){font-family:Arial,Helvetica,sans-serif!important}
@media screen{html body{font-size:16px;line-height:1.65}}
html body :focus-visible{outline:3px solid #a72e16!important;outline-offset:4px!important}
html body :is(button,.btn,.button):disabled{opacity:.55;cursor:not-allowed}
html body :is(.btn,.button){font-size:14px!important;font-weight:700!important;line-height:1.5!important;border-radius:4px!important;min-height:48px!important;padding:12px 22px!important;box-sizing:border-box}
html body :is(.gombok,.gombSor,.gombsor,.actions){gap:12px}
html body :is(.modalD,.mdoboz,[role="dialog"],dialog){border-radius:6px}
html body :is(input[type="search"],input[type="text"],input[type="email"],input[type="password"],textarea,select){border-radius:4px;min-height:48px;max-width:100%;box-sizing:border-box}
@media screen{html body .hero{border-radius:4px!important;background:#1a1917!important;box-shadow:none!important}html body .hero::before,html body .hero::after{background:none!important}html body .hero h1{text-shadow:none!important}html body .hero .tipusJelv{border-radius:4px!important;font-size:12px!important;letter-spacing:.1em!important}html body :is(.kartya,.card,.panel){border-radius:4px}}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

@media screen{html body .tools :is(a,button){font:700 14px/1.5 Arial,Helvetica,sans-serif;min-height:48px;padding:12px 22px;border-radius:4px;box-sizing:border-box}html body .support details>summary{min-height:48px}}

:root{--hatter:#f6f4ee!important;--felulet:#fff!important;--keret:#e2ded2!important;--tinta:#1a1917!important;--tinta-halvany:#5b584f!important;--halvany:#5b584f!important;--zold-vilagos:#ece9df!important;--radius:4px!important}
body[data-im-surface="maker"]{--zold:#1a1917;--zold-sotet:#1a1917;--zold-szoveg:#1a1917;--pink1:#ffc400;--pink2:#ffc400;--lime:#ffc400;--arany:#ffc400;--txtC:#1a1917;background:#f6f4ee;color:#1a1917}
body[data-im-surface="maker"] .top{background:#1a1917;color:#f6f4ee;box-shadow:none}
body[data-im-surface="maker"] :is(.step,.modKartya,.doboz,.navsor,.logo,.appPotty,.mkIkon,.ikonGomb){border-radius:4px;box-shadow:none}
body[data-im-surface="maker"] :is(.step,.modKartya){border:1px solid #e2ded2;background:#fff;color:#1a1917}
body[data-im-surface="maker"] .step{font-size:14px;min-height:48px}
body[data-im-surface="maker"] :is(.step.aktiv,.modKartya.aktiv){background:#ece9df;border-color:#1a1917;box-shadow:none}
body[data-im-surface="maker"] :is(.stepper,.navsor){gap:12px}
body[data-im-surface="maker"] :is(.kicker,.modKartya .mkCim){color:#1a1917}
body[data-im-surface="maker"] :is(.logo,.appPotty){background:#ffc400;color:#1a1917}
body[data-im-surface="maker"] .mkIkon{background:#ece9df;color:#1a1917}
body[data-im-surface="maker"] .btn.primary{background:#ffc400;color:#1a1917;border:1px solid #ffc400}
body[data-im-surface="maker"] :is(.btn,.step,.modKartya,.ikonGomb):is(:hover,:active){transform:none}
body[data-im-surface="maker"] :is(input,select,textarea){border-radius:4px}

/* reaudit-app-actions-20261006: shared ordinary controls; spatial pins and answer cards are separate components. */
html body button:is(.ertem,.katChip2,.szchip,.nezetGomb,.fmnav,.mfNavG,.fNavChip,.bVezGomb,.bMini,.mkChip,.szgGomb){font-size:14px!important;font-weight:700!important;line-height:1.5!important;min-height:48px!important;height:auto;border-radius:4px!important;box-sizing:border-box;white-space:normal}
html body button.ertem{background:#ffc400!important;color:#1a1917!important;padding:12px 22px!important}
