.studio-grid{display:grid;grid-template-columns:minmax(250px,320px) minmax(0,1fr);gap:18px;align-items:start}.studio-controls{display:grid;gap:12px}.studio-controls label{display:grid;gap:5px;font-weight:600}.studio-controls input,.studio-controls select{width:100%;min-width:0}.studio-controls input[type=color]{height:42px;padding:4px}.studio-colors{display:grid;grid-template-columns:1fr 1fr;gap:10px}.studio-stage{background:#e8edf5;padding:12px;border-radius:16px;min-width:0}.studio-device{margin:12px auto;background:white;border-radius:12px;overflow:hidden;box-shadow:0 8px 24px #16284b22;max-width:100%;width:100%}.studio-device.mobile{width:390px}.studio-device.tablet{width:768px}.studio-device iframe{display:block;border:0;width:100%;height:540px;pointer-events:none}.studio-status{white-space:pre-wrap;overflow-wrap:anywhere}.studio-tools{display:flex;gap:8px;flex-wrap:wrap}.studio-tools button{min-height:42px}.studio-chip{font-size:12px;padding:6px 10px;background:#e9eef9;color:#24416b;border-radius:8px;display:inline-block}.studio-preview-label{font-size:12px;color:#53627a}.tenant-brand .login-visual{background:linear-gradient(145deg,var(--tenant-primary),var(--tenant-accent));color:white}.tenant-brand .hero-copy h1,.tenant-brand .hero-copy p{color:white}.tenant-brand .login-visual .pill{color:white;background:#ffffff28}.tenant-brand .primary,.tenant-brand .cta-soft{background:var(--tenant-primary);color:white}.tenant-brand aside{background:linear-gradient(160deg,var(--tenant-primary),var(--tenant-accent))}.tenant-brand .x-hero{background:linear-gradient(125deg,var(--tenant-primary),var(--tenant-accent));color:white}.tenant-brand .x-hero h1,.tenant-brand .x-hero p{color:white}.tenant-brand .brand-badge img{object-fit:contain;background:white;border-radius:10px}.tenant-brand[data-tenant-layout=classic] .login-visual{background:var(--tenant-primary)}.tenant-brand[data-tenant-layout=minimal] .login-visual{background:var(--tenant-primary)}.tenant-brand[data-tenant-layout=minimal] .lp-stats,.tenant-brand[data-tenant-layout=minimal] .lp-modules,.tenant-brand[data-tenant-layout=minimal] .lp-bottom{display:none}.tenant-brand[data-tenant-layout=minimal] .hero-copy{margin-top:8vh}.tenant-brand #tenantName{font-size:13px;display:block}.tenant-brand .hero-top{flex-wrap:wrap}.tenant-brand .login-visual .brand-badge{max-width:100%}.tenant-brand #tenantPreviewNotice{position:fixed;top:0;right:0;padding:5px 10px;background:#0f172a;color:white;font-size:11px;z-index:9999}@media(max-width:900px){.studio-grid{grid-template-columns:1fr}.studio-stage{padding:8px}.studio-device iframe{height:520px}}
.studio-device{position:relative}.studio-device iframe{position:absolute;left:0;top:0;transform-origin:top left;max-width:none;max-height:none}.studio-stage{position:sticky;top:88px}.studio-controls label{margin:0}.studio-tools button[aria-pressed=true]{background:#234a78;color:#fff}.studio-device{min-height:180px}@media(max-width:900px){.studio-stage{position:static}}

.studio-db-note{display:block;padding:12px;border:1px solid #e3d6b6;background:#fff9ea;border-radius:10px;color:#765821;font-size:13px;line-height:1.45}.studio-stage{padding:12px}.studio-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.studio-tools button{min-width:0;padding:8px 5px;font-size:12px}.studio-stage .studio-preview-label{line-height:1.5}.studio-device{min-height:0}.studio-controls #stStage:disabled{font-size:14px;min-height:40px;opacity:.85;cursor:default}.tenant-brand #login .capture-card{display:none!important}@media(max-width:650px){#app>main>header{gap:6px;padding:8px 10px;display:flex;align-items:center;min-height:56px}#app>main>header .menu{flex:0 0 40px;min-width:40px;padding:8px}#app>main>header #schoolLabel{flex:1;font-size:15px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app>main>header .rp-switch,#app>main>header #logout{flex:0 0 auto;font-size:11px;line-height:1.2;max-width:90px;min-height:40px;padding:7px 9px} .studio-grid{padding:12px;gap:16px}.studio-controls input,.studio-controls select,.studio-controls textarea{font-size:16px}.studio-stage{padding:8px}}
