:root { --test-banner-height: 0px; }
body.test-environment { padding-top: var(--test-banner-height); }
.test-environment-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 110; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px; padding: 10px 20px; background: #533879; border-bottom: 2px solid #d6c0ef; color: white; font-size: 12px; line-height: 1.5; text-align: center; box-shadow: 0 2px 10px #30214020; }
.test-environment-banner strong { font-size: 11px; letter-spacing: 1px; white-space: nowrap; }
.test-environment-notice { flex-basis: 100%; font-weight: 600; }
.test-environment .sidebar { top: var(--test-banner-height); }
.test-environment .topbar { top: var(--test-banner-height); }
.test-environment .nav-scrim, .test-environment .modal-backdrop, .test-environment .drawer-backdrop { top: var(--test-banner-height); }
.test-environment .modal { max-height: calc(100dvh - var(--test-banner-height) - 40px); }
.test-environment .job-drawer { height: calc(100dvh - var(--test-banner-height)); }
.test-environment .drawer-body { height: calc(100dvh - var(--test-banner-height) - 113px); }
.test-environment .login-page, .test-environment .security-gate, .test-environment .account-access-page, .test-environment .app-shell { min-height: calc(100dvh - var(--test-banner-height)); }
.account-card-action { flex-wrap: wrap; gap: 8px; }
.company-delete-note { padding: 16px; border: 1px solid #e6bfb7; border-radius: 8px; background: #fff5f1; color: #8d493a; line-height: 1.7; margin-bottom: 22px; }
.company-delete-note p + p { margin-top: 10px; }
.test-tools { margin: 24px 0; overflow: hidden; border-color: #d7cbe4; }
.test-tools-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 23px; border-bottom: 1px solid #e3dced; background: #faf7fd; }
.test-tools-heading h2 { font-size: 19px; margin-top: 5px; }
.test-tools-heading p { color: #7d708b; font-size: 12px; margin-top: 6px; }
.test-tools > .platform-error { margin: 18px 23px 0; }
.test-tools-grid { display: grid; grid-template-columns: 1fr 1fr; }
.test-tools-grid > article { min-width: 0; padding: 23px; }
.test-tools-grid > article + article { border-left: 1px solid #e6dfee; }
.test-tools-grid h3 { font-size: 16px; margin-bottom: 10px; }
.test-tools-grid p { color: #6f7370; font-size: 12px; line-height: 1.8; }
.test-tools-grid .field-hint { margin-top: 12px; font-size: 11px; }
.test-refresh-status { padding: 13px 15px; margin: 17px 0; background: #f7f5fa; border-radius: 7px; }
.test-refresh-status strong { font-size: 12px; color: #694f82; }
.test-refresh-status small { display: block; font-size: 10px; color: #84738f; margin-top: 6px; }
.test-release-details { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 10px; margin: 18px 0; font-size: 12px; }
.test-release-details dt { color: #867592; }
.test-release-details dd { margin: 0; overflow-wrap: anywhere; color: #574365; }
.test-release-details code { font-size: 11px; }
#tested-release-command { font-family: ui-monospace, monospace; font-size: 12px; }
.test-refresh-page { min-height: calc(100dvh - var(--test-banner-height)); display: grid; place-items: center; padding: 32px 20px; }
.test-refresh-progress { max-width: 620px; padding: 35px; }
.test-refresh-progress h1 { font-size: 27px; margin: 12px 0 18px; }
.test-refresh-progress p { margin-bottom: 16px; line-height: 1.8; }
@media(max-width:700px) {
 .test-environment-banner { padding: 8px 12px; font-size: 10px; gap: 3px 8px; }
 .test-environment-banner strong { font-size: 10px; }
 .test-tools-grid { grid-template-columns: 1fr; }
 .test-tools-grid > article + article { border-left: 0; border-top: 1px solid #e6dfee; }
 .test-tools-heading, .test-tools-grid > article { padding: 19px; }
 .test-tools-heading { flex-wrap: wrap; gap: 10px; }
 .test-environment .modal { max-height: calc(100dvh - var(--test-banner-height) - 24px); }
 .test-refresh-progress { padding: 25px; }
}
