html body,html body :is(button,input,select,textarea,h1,h2,h3,p,a,label,summary,li,td,th){font-family:Arial,Helvetica,sans-serif!important}html body :focus-visible{outline:3px solid #a72e16!important;outline-offset:4px!important}
/* Standard 2D controls around the immersive scene. Scene colours and geometry remain functional. */
html body :is(.gomb,.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;background:#ffc400;color:#1a1917}
html body .gomb.masod{background:transparent;color:var(--tinta,#1a1917);border:1px solid var(--vonal,#7f7a70)}
html body .gomb.kiemelt{background:#ffc400;color:#1a1917}
html body :is(.kartya,.nyugi,.cimke,.nevsor input,.modal input){border-radius:4px!important}
html body .marka{border-radius:4px 4px 0 0!important}
html body .sor,html body .eszkozok{gap:12px}
html body .nyugi{background:var(--felulet,#fff);border-color:var(--vonal,#d6d2c7)}
:root[data-theme="light"]{--hatter:#f6f4ee;--tinta:#1a1917;--halvany:#5d584f;--felulet:#fff;--vonal:#d6d2c7;--akcent:#ffc400}
@media(prefers-color-scheme:light){:root:not([data-theme="dark"]){--hatter:#f6f4ee;--tinta:#1a1917;--halvany:#5d584f;--felulet:#fff;--vonal:#d6d2c7;--akcent:#ffc400}}

/* Planner controls share the ordinary button scale; numbered scene anchors retain their spatial role. */
html body :is(#panel button,#views button,#cfgBtn,#introBtns button){font-size:14px!important;font-weight:700!important;line-height:1.5!important;min-height:48px!important;border-radius:4px!important;white-space:normal;flex-shrink:0}
html body :is(#panel input[type="text"],#panel input[type="color"]){min-height:48px;font-size:16px;border-radius:4px;box-sizing:border-box}
html body #panel .chips{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
html body #panel .grp,html body #panel h2{font-size:12px;color:#ffc400}
html body #panel .srow{font-size:14px;grid-template-columns:76px minmax(0,1fr) 48px}
html body #views{gap:8px}

@media screen{html body{font-size:16px;line-height:1.65}}
html body .btn.primary{background:#ffc400;color:#1a1917}
