/* Standalone TechnoPark shell; no dependency on the original portal CSS */
:root{color-scheme:light;--ink:#15263e;--muted:#50627a;--line:#d8e0eb;--ui-surface:#fff;--ui-subtle:#edf3f9;--ui-soft:#f1f5fb;font-family:Inter,Segoe UI,Arial,sans-serif}
html[data-theme="dark"]{color-scheme:dark;--ink:#e9f1fb;--muted:#a4b3ca;--line:#37465a;--ui-surface:#152235;--ui-subtle:#1c293d;--ui-soft:#1a283c}
*{box-sizing:border-box}html{min-height:100%}body{margin:0;background:#f6f8fc;color:var(--ink);min-height:100vh}html[data-theme="dark"] body{background:#0e1725}
button,select,input,textarea{font:inherit}a{color:inherit}.site-header{height:70px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px clamp(18px,4vw,60px);background:var(--ui-surface);border-bottom:1px solid var(--line)}
.school-brand{text-decoration:none;display:flex;align-items:center;gap:12px}.school-symbol{display:grid;place-items:center;width:44px;height:44px;background:#2563eb;border-radius:12px;color:#fff;font:800 15px/1 Consolas,monospace}.school-brand strong{display:block;font-size:17px}.school-brand small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.site-tools{display:flex;align-items:center;gap:12px}.privacy-chip{font-size:11px;color:var(--muted)}.theme-btn,.site-home{border:1px solid var(--line);border-radius:9px;padding:9px 12px;background:var(--ui-surface);color:var(--ink);text-decoration:none;font-size:12px;font-weight:650;cursor:pointer}
.portal-main{max-width:1540px;margin:auto;padding:28px clamp(14px,3vw,50px)}.site-footer{font-size:11px;text-align:center;color:var(--muted);padding:15px 20px 30px}
/* V4.1 Monaco and fallback editor full light/dark synchronization. */
#studio-workspace[data-editor-effective="light"] .ide38-fallback-textarea{background:#fff!important;color:#15263e!important}
#studio-workspace[data-editor-effective="light"] .ide38-fallback-numbers{background:#f2f5fb!important;color:#6b7d96!important}
#studio-workspace[data-editor-effective="light"] .ide38-terminal-input input{color:#183657!important}
#studio-workspace[data-editor-effective="dark"] .ide38-fallback-textarea{background:#101a2a!important;color:#e9f1fb!important}
#studio-workspace[data-editor-effective="dark"] .ide38-fallback-numbers{background:#142135!important;color:#899db9!important}
.ide38-page .ide38-titlebar h1{color:var(--ink)!important}
@media(max-width:750px){.site-header{height:auto;align-items:flex-start;flex-wrap:wrap}.site-tools{gap:8px;flex-wrap:wrap}.privacy-chip{display:none}.portal-main{padding:16px 10px}}
