:root{color-scheme:light;--supervision-blue:#4e72ff;--supervision-action:#4468ea;--supervision-action-hover:#405fd9;--supervision-action-active:#3958c9;--supervision-line:#e3e7ef}
html,body{margin:0;height:100%;min-height:0;overflow:hidden;background:#f5f7fb;color:#20242b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:#2845a6}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #4e72ff;outline-offset:3px}
.supervision-app{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.supervision-app>.product-header{min-height:64px;flex:0 0 auto;display:flex;align-items:center;gap:12px;padding:10px 24px;border-bottom:1px solid var(--supervision-line);background:#fff;z-index:20}
.product-header-brand{display:flex;flex:0 0 auto;align-items:center;gap:10px;color:#20242b;font-size:20px;text-decoration:none;white-space:nowrap}.product-header-brand img{width:34px;height:34px;object-fit:contain}.product-header-context{font-size:14px;font-weight:650;white-space:nowrap}.product-header-account{width:auto;order:0;overflow:visible;margin-left:auto;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.product-header-account a,.product-header-account button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;font-size:14px;font-weight:650;padding:8px 12px;border:1px solid #4e72ff;border-radius:11px;background:#fff;color:#2845a6;text-decoration:none}.product-header-account a{border-color:transparent}.product-header-account button:hover,.product-header-account a:hover{background:#edf1ff}
.supervision-workspace-root{flex:1 1 0;min-height:0;overflow:hidden}
.supervision-dialog{position:fixed;inset:0;margin:auto;width:min(600px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);border:1px solid var(--supervision-line);border-radius:18px;padding:0;overflow:auto;box-shadow:0 24px 80px #18243b33;color:#20242b;background:#fff}.supervision-dialog::backdrop{background:#17233b66}.supervision-dialog>header{display:flex;gap:16px;align-items:start;justify-content:space-between;padding:20px;border-bottom:1px solid var(--supervision-line);background:#fff}.supervision-dialog h2{margin:0;font-size:18px;line-height:1.25;overflow-wrap:anywhere}.supervision-dialog-body{padding:20px}.supervision-dialog p{font-size:15px;line-height:1.55;margin:0 0 16px;overflow-wrap:anywhere}.supervision-dialog form{display:grid;gap:12px}.supervision-dialog label{font-weight:650;font-size:14px}.supervision-dialog input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cbd4e5;border-radius:10px;font-size:16px}.supervision-dialog button{min-height:44px;max-width:100%;padding:10px 16px;border:1px solid #4e72ff;border-radius:10px;background:#fff;color:#2845a6;font-weight:650;white-space:normal}.supervision-dialog button.primary{background:var(--supervision-action);border-color:var(--supervision-action);color:#fff}.supervision-dialog [data-close]{flex:none;min-width:44px;padding:6px;font-size:24px;line-height:1}.supervision-dialog .quiet{font-size:13px;color:#657186}.supervision-dialog [data-error]:empty{display:none}.supervision-dialog [role=alert]{margin-top:12px;font-weight:550}.supervision-start-error{max-width:680px;margin:64px auto;padding:24px}
@media(max-width:620px){.supervision-app>.product-header{padding:9px 12px;gap:8px;flex-wrap:wrap}.product-header-brand{font-size:18px}.product-header-context{font-size:13px}.product-header-account{width:100%;justify-content:flex-end;gap:6px}.product-header-account a,.product-header-account button{font-size:12px;padding:8px}.supervision-dialog>header,.supervision-dialog-body{padding:16px}}
@media(max-width:340px){.product-header-account{justify-content:space-between}.product-header-account a,.product-header-account button{padding:7px;font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.supervision-dialog button.primary:hover:not(:disabled){background:var(--supervision-action-hover);border-color:var(--supervision-action-hover)}
.supervision-dialog button.primary:active:not(:disabled){background:var(--supervision-action-active);border-color:var(--supervision-action-active)}
.supervision-dialog button.primary:focus-visible{outline:2px solid #17233e;outline-offset:2px}

/* One shared outer frame; the product grid keeps its own inner scroll panes. */
.supervision-app>[data-theralab-header]{flex:0 0 var(--theralab-chrome-header-height)}
.supervision-app>[data-theralab-footer]{flex:0 0 var(--theralab-chrome-footer-height)}
.supervision-app>.supervision-workspace-root{min-height:0;max-height:calc(100dvh - var(--theralab-chrome-header-height) - var(--theralab-chrome-footer-height))}
.supervision-app>.supervision-start-error{flex:1 1 0;min-height:0;box-sizing:border-box;width:min(100%,680px);margin:0 auto;padding:32px 24px;overflow:auto;overscroll-behavior:contain;max-height:calc(100dvh - var(--theralab-chrome-header-height) - var(--theralab-chrome-footer-height))}
