html, body {
    margin: 0;
    padding: 0;
    background-color: #f6f7f8;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.ops-boot-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #24292f;
}

.ops-boot-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #d9e2df;
    border-top-color: #356859;
    border-radius: 50%;
    animation: ops-spin 0.8s linear infinite;
}

.ops-boot-message {
    margin: 0;
    font-size: 0.9rem;
    color: #68717b;
}

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

#blazor-error-ui {
    background: #fff5f5;
    border-top: 1px solid #f0c2c0;
    color: #8c2f2b;
    bottom: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 2000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.65rem;
    text-decoration: none;
    font-weight: 700;
}

.ops-appbar {
    border-bottom: 1px solid #e3e6e9;
}

.ops-drawer {
    border-right: 1px solid #2e383f;
}

.ops-drawer .mud-nav-link {
    color: #b6bec6;
    border-radius: 6px;
    margin: 2px 8px;
}

.ops-drawer .mud-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}

.ops-drawer .mud-nav-link.active {
    background-color: rgba(53, 104, 89, 0.35);
    color: #ffffff;
    font-weight: 600;
}

.ops-drawer .mud-nav-link .mud-nav-link-icon {
    color: inherit;
}

.ops-drawer-header {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ops-brand-avatar {
    background: transparent !important;
}

.ops-brand-name {
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.ops-brand-product {
    color: #86c7b4;
}

.ops-brand-edition {
    color: #8b96a0;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
}

.ops-content {
    min-height: 100vh;
    background-color: #f6f7f8;
}

.ops-photo-preview {
    height: 196px;
    background-color: #eef1f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ops-photo-preview a {
    display: flex;
    width: 100%;
    height: 100%;
}

.ops-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ops-log-message {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.45;
}

.ops-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    word-break: break-all;
}

.ops-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    background: #f1f4f6;
    padding: 2px 5px;
    border-radius: 4px;
    word-break: break-all;
}
