@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: light;
    --ops-ink: #152d3e;
    --ops-muted: #71808b;
    --ops-faint: #9aa5ac;
    --ops-line: #e7e9e8;
    --ops-paper: #f5f6f4;
    --ops-white: #fff;
    --ops-orange: #e99554;
    --ops-green: #26745e;
    --ops-amber: #af711e;
    --ops-red: #b74a40;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--ops-paper);
    color: var(--ops-ink);
}

* { box-sizing: border-box; }

body { min-width: 320px; margin: 0; background: var(--ops-paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.ops-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.ops-header { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.ops-header-tools { display: flex; align-items: center; gap: 10px; }
.ops-account-name { color: var(--ops-muted); font-size: 11px; font-weight: 600; }
.ops-security-link { color: #50616b; font-size: 10px; font-weight: 700; }
.ops-security-link:hover { color: var(--ops-ink); text-decoration: underline; }
.ops-logout-form { display: inline-flex; }
.ops-logout-button { min-height: 34px; padding: 0 11px; border: 1px solid #dce2e2; border-radius: 8px; background: #fff; color: var(--ops-ink); cursor: pointer; font-size: 10px; font-weight: 700; }
.ops-logout-button:hover { border-color: #b7c6ca; background: #f7faf9; }
.ops-logout-button:focus-visible { outline: 3px solid #e9955477; outline-offset: 2px; }
.ops-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ops-ink); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.ops-brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px 10px 10px 3px; background: var(--ops-ink); color: #fff; font-family: 'Manrope', sans-serif; font-size: 15px; letter-spacing: 0; }
.ops-local-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #eadccf; border-radius: 999px; background: #fffaf5; color: #8b5d35; font-size: 12px; font-weight: 600; }
.ops-local-chip span, .ops-footer-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ops-orange); }

.ops-hero { min-height: 236px; position: relative; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 40px 54px; border-radius: 18px; background: radial-gradient(circle at 76% 48%, #2c4b5e 0, #1a3548 28%, #142d40 62%); color: #fff; box-shadow: 0 14px 34px #172f4512; }
.ops-hero::after { content: ''; position: absolute; inset: 0; opacity: .13; background-image: radial-gradient(#ffffff 0.55px, transparent 0.55px); background-size: 12px 12px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.ops-hero-copy { position: relative; z-index: 1; max-width: 600px; }
.ops-kicker { margin: 0 0 18px; color: #cbd6d9; font-size: 10px; font-weight: 700; letter-spacing: .19em; }
.ops-kicker span { padding: 0 7px; color: var(--ops-orange); }
.ops-hero h1 { margin: 0; font-family: 'Manrope', sans-serif; font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -.045em; line-height: 1.08; }
.ops-hero-description { margin: 14px 0 0; color: #d2dce0; font-size: 15px; line-height: 1.6; }
.ops-hero-side { width: 200px; height: 170px; position: relative; flex: 0 0 200px; }
.ops-hero-orbit { position: absolute; top: 50%; left: 50%; display: block; border: 1px solid #ffffff25; border-radius: 50%; transform: translate(-50%, -50%) rotate(-25deg); }
.ops-hero-orbit-one { width: 170px; height: 92px; }
.ops-hero-orbit-two { width: 126px; height: 146px; transform: translate(-50%, -50%) rotate(40deg); }
.ops-hero-pulse { width: 16px; height: 16px; position: absolute; top: 50%; left: 50%; border: 4px solid #fac08f; border-radius: 50%; background: var(--ops-orange); box-shadow: 0 0 0 12px #e9955425, 0 0 40px #e99554a6; transform: translate(-50%, -50%); }
.ops-hero-stamp { position: absolute; right: -7px; bottom: 5px; color: #ffffff82; font-size: 9px; font-weight: 700; letter-spacing: .18em; line-height: 1.6; text-align: right; }

.ops-notice { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 0; padding: 14px 18px; border: 1px solid #f0d7bd; border-radius: 12px; background: #fff9f2; color: #765336; }
.ops-notice-icon { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 20px; border: 1px solid #d8a878; border-radius: 50%; font-family: Georgia, serif; font-size: 13px; font-weight: 700; }
.ops-notice p { margin: 0; font-size: 13px; line-height: 1.55; }

.ops-summary { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)) minmax(220px, 1.4fr); gap: 12px; margin: 18px 0 52px; }
.ops-summary-card, .ops-summary-action { min-height: 116px; padding: 18px 20px; border: 1px solid var(--ops-line); border-radius: 13px; background: var(--ops-white); }
.ops-summary-card { display: grid; align-content: start; gap: 3px; }
.ops-summary-label { color: var(--ops-muted); font-size: 11px; font-weight: 600; }
.ops-summary-value { font-family: 'Manrope', sans-serif; font-size: 29px; font-weight: 700; letter-spacing: -.04em; }
.ops-summary-foot { color: var(--ops-faint); font-size: 10px; }
.ops-text-good { color: var(--ops-green); }
.ops-text-warn { color: var(--ops-amber); }
.ops-summary-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ops-summary-action p { margin: 0; color: var(--ops-muted); font-size: 11px; line-height: 1.8; }
.ops-summary-action strong { color: var(--ops-ink); font-size: 12px; font-weight: 600; }
.ops-refresh-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 1px solid #ced7d9; border-radius: 9px; background: #fff; color: var(--ops-ink); cursor: pointer; font-size: 11px; font-weight: 700; transition: border-color .15s, background .15s, transform .15s; }
.ops-refresh-button:hover { border-color: #b7c6ca; background: #f7faf9; transform: translateY(-1px); }
.ops-refresh-button:focus-visible { outline: 3px solid #e9955477; outline-offset: 2px; }
.ops-refresh-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.ops-section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.ops-kicker-dark { margin-bottom: 7px; color: #84919a; }
.ops-section-heading h2 { margin: 0; font-family: 'Manrope', sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -.035em; }
.ops-count { padding: 7px 10px; border: 1px solid #e0e4e2; border-radius: 999px; color: var(--ops-muted); font-size: 10px; font-weight: 600; }
.ops-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ops-service-card { min-width: 0; padding: 19px 20px 15px; border: 1px solid var(--ops-line); border-radius: 13px; background: var(--ops-white); box-shadow: 0 2px 7px #152d3e05; }
.ops-service-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ops-service-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #edf1f1; color: #456171; font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 700; }
.ops-state { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid transparent; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.ops-state-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ops-state--active { border-color: #d3e8df; background: #f1f8f4; color: var(--ops-green); }
.ops-state--stopped, .ops-state--missing { border-color: #f2e0bc; background: #fff8e9; color: var(--ops-amber); }
.ops-state--failed { border-color: #efd3cf; background: #fff4f2; color: var(--ops-red); }
.ops-state--unknown, .ops-state--unavailable { border-color: #e2e6e7; background: #f6f7f7; color: #737f85; }
.ops-service-card h3 { margin: 15px 0 3px; font-family: 'Manrope', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.ops-service-card code { color: #74838b; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }
.ops-service-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #eff0ef; color: var(--ops-muted); font-size: 10px; line-height: 1.4; }
.ops-substate { color: #9aa5ac; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.ops-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 25px 0 32px; padding: 14px 2px 0; border-top: 1px solid #e1e4e2; color: var(--ops-muted); font-size: 10px; }
.ops-footer > span { display: inline-flex; align-items: center; gap: 8px; color: #50616b; font-weight: 700; }
.ops-footer-dot { background: var(--ops-green); }
.ops-footer p { margin: 0; text-align: right; }

@media (max-width: 760px) {
    .ops-shell { width: min(100% - 32px, 600px); }
    .ops-header { height: 68px; }
    .ops-header-tools { gap: 6px; }
    .ops-logout-button { min-height: 32px; padding: 0 8px; font-size: 9px; }
    .ops-hero { min-height: 210px; padding: 32px 28px; }
    .ops-hero-side { width: 130px; flex-basis: 130px; margin-right: -28px; }
    .ops-hero-orbit-one { width: 132px; height: 72px; }
    .ops-hero-orbit-two { width: 100px; height: 118px; }
    .ops-hero-stamp { right: 15px; }
    .ops-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 38px; }
    .ops-summary-action { min-height: 82px; grid-column: 1 / -1; }
    .ops-service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
    .ops-shell { width: calc(100% - 24px); }
    .ops-brand { font-size: 10px; }
    .ops-local-chip { padding: 7px 9px; font-size: 10px; }
    .ops-account-name { display: none; }
    .ops-hero { min-height: 196px; padding: 28px 22px; }
    .ops-hero-side { position: absolute; top: 13px; right: 0; opacity: .65; }
    .ops-hero-copy { max-width: 100%; }
    .ops-hero-description { max-width: 260px; font-size: 13px; }
    .ops-summary { gap: 8px; }
    .ops-summary-card { min-height: 103px; padding: 13px 12px; }
    .ops-summary-label { font-size: 10px; }
    .ops-summary-value { font-size: 25px; }
    .ops-summary-foot { font-size: 9px; }
    .ops-summary-action { padding: 14px; }
    .ops-summary-action p { font-size: 10px; }
    .ops-refresh-button { padding: 0 10px; font-size: 10px; }
    .ops-section-heading h2 { font-size: 23px; }
    .ops-count { font-size: 9px; }
    .ops-footer { align-items: flex-start; flex-direction: column; }
    .ops-footer p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
