:root {
    color-scheme: light;
    font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f6fa;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: radial-gradient(circle at 45% 20%, #ffffff 0, #f4f6fa 58%, #ebeff5 100%);
}

#ComposeTarget {
    position: fixed;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}

#AdminBootstrap {
    position: fixed;
    inset: 0;
    display: flex;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #07142f;
    transition: opacity 180ms ease;
}

body.app-ready #AdminBootstrap {
    pointer-events: none;
    opacity: 0;
}

#AdminBootstrap strong {
    margin-top: 18px;
    font-size: 28px;
    font-weight: 750;
}

#AdminBootstrap p {
    margin: 5px 0 22px;
    color: #6e7b96;
    font-size: 14px;
}

.bootstrap-mark {
    display: flex;
    width: 58px;
    height: 58px;
    padding: 14px;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    border-radius: 17px;
    background: linear-gradient(145deg, #4389ff, #1467ed);
    box-shadow: 0 10px 28px rgba(31, 110, 242, 0.28);
}

.bootstrap-mark span {
    width: 6px;
    border-radius: 4px;
    background: #ffffff;
}

.bootstrap-mark span:nth-child(1) { height: 14px; }
.bootstrap-mark span:nth-child(2) { height: 27px; }
.bootstrap-mark span:nth-child(3) { height: 20px; }

.bootstrap-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #d9e5f8;
    border-top-color: #2273f3;
    border-radius: 50%;
    animation: spin 800ms linear infinite;
}

#StartupError {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #b42318;
    text-align: center;
}

#StartupError[data-visible="true"] {
    display: flex;
}

noscript {
    position: fixed;
    inset: 0;
    display: grid;
    z-index: 3;
    place-items: center;
    padding: 24px;
    background: #f4f6fa;
    color: #07142f;
    text-align: center;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
