:root {
    --oracle-spacing-xs: 8px;
    --oracle-spacing-sm: 16px;
    --oracle-spacing-md: 24px;
    --oracle-spacing-lg: 32px;
    --oracle-spacing-xl: 40px;
    --oracle-spacing-xxl: 60px;
    --oracle-primary: #0066cc;
    --oracle-primary-hover: #0052a3;
    --bg: #f7f8fa;
    --panel: #ffffff;
    --ink: #172b4d;
    --muted: #5e6c84;
    --border: #dfe1e6;
    --brand: #0052cc;
    --oracle-dark: #312d2a;
    --oracle-light: #fbf9f8;
    --green-bg: #d4edda;
    --green-ink: #155724;
    --amber-bg: #fff3cd;
    --amber-ink: #856404;
    --red-bg: #f8d7da;
    --red-ink: #721c24;
    --blue-bg: #cce5ff;
    --blue-ink: #004085;
    --green: #1e8542;
    --yellow: #f1c40f;
    --orange: #b35e14;
    --red: #de2f1b;
    --blue: #207ab6;
    --shadow: 0 1px 1px rgba(9, 30, 66, 0.13), 0 0 1px rgba(9, 30, 66, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--brand);
}

.page-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    background: var(--oracle-dark);
    color: var(--oracle-light);
    display: flex;
    align-items: center;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-right: 48px;
    white-space: nowrap;
}

.logo img {
    display: block;
    height: 26px;
    width: auto;
}

.logo-text {
    color: var(--oracle-light);
    font-size: 19.8px;
    font-weight: 400;
    letter-spacing: -0.01em;
    font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, "system-ui", "Segoe UI", "Helvetica Neue", sans-serif;
}

.nav-links {
    display: flex;
    gap: 0;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    position: relative;
    height: 100%;
}

.nav-link {
    color: var(--oracle-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    padding: 2px 8px 1px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, "system-ui", "Segoe UI", "Helvetica Neue", sans-serif;
    position: relative;
    white-space: nowrap;
    transition: color 0.1s ease-in;
    line-height: 20.8px;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: rgb(255, 255, 255);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: rgb(255, 255, 255);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.products-dropdown {
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    transform: translateX(-20%) translateY(-20px);
    background: rgb(49, 45, 42);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 0;
    width: 1200px;
    max-width: calc(100vw - 48px);
    padding: 0 5px 56px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-sizing: border-box;
    transform-origin: top center;
}

.nav-link-wrapper:hover .products-dropdown,
.nav-link-wrapper:focus-within .products-dropdown,
.products-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-20%) translateY(0);
}

.products-menu-close,
.closenav {
    position: absolute;
    top: 26.6667px;
    right: 24px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    transform: translate(-5px, -5px);
}

.products-menu-close svg path,
.closenav svg path {
    stroke: currentColor;
    stroke-width: 1.5;
}

.tworow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    list-style: none;
    padding: 48px 48px 0;
    margin: 0;
    width: 1094px;
    max-width: 100%;
    box-sizing: border-box;
}

.tworow > li {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

.u30t1 {
    font-size: 20px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    padding: 20px 0 16px;
    margin: 0 0 12px 0;
    font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, "system-ui", "Segoe UI", "Helvetica Neue", sans-serif;
    line-height: 1.4;
    display: block;
    width: 100%;
}

.menu-section-btn {
    display: none;
}

.fourclm {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    list-style: none;
    padding: 0 0 28px;
    margin: 0 0 28px;
    width: 100%;
    align-items: start;
    column-gap: 24px;
}

.fourclm.divider {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 32px;
}

.tworow > li:last-child .fourclm.divider {
    border-right: none;
    padding-right: 0;
}

.fourclm li {
    margin: 0;
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    min-height: 40px;
    box-sizing: border-box;
}

.fourclm li a {
    color: rgb(251, 249, 248);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    display: block;
    padding: 0;
    margin: 0;
    transition: color 0.1s ease-in, text-decoration 0.1s ease-in;
    font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, "system-ui", "Segoe UI", "Helvetica Neue", sans-serif;
    width: 100%;
    white-space: normal;
}

.fourclm li a:hover {
    color: rgb(255, 235, 59);
    text-decoration: underline;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: var(--oracle-spacing-md);
    position: relative;
}

.nav-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: rgb(251, 249, 248);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgb(255, 255, 255);
}

.nav-action-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

.country-selector-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 4px;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-selector-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.flag-image {
    width: 24px;
    height: 18px;
    display: block;
    object-fit: cover;
    border-radius: 2px;
}

.country-globe-icon {
    color: rgb(251, 249, 248);
    display: block;
}

.search-wrapper-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 44px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    transform-origin: right center;
}

.search-container.expanded {
    width: min(575px, calc(100vw - 120px));
    opacity: 1;
    visibility: visible;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255);
    border-radius: 4px;
    padding: 0;
}

.search-close-btn {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: rgb(22, 21, 19);
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 40px;
    padding-right: 12px;
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    color: rgb(22, 21, 19);
    font-family: -apple-system, BlinkMacSystemFont, "system-ui", "Segoe UI", "Helvetica Neue", sans-serif;
    padding: 0;
}

.search-input::placeholder {
    color: rgba(22, 21, 19, 0.5);
}

.search-submit {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(22, 21, 19);
}

.search-btn[aria-expanded="true"] {
    opacity: 0;
    pointer-events: none;
}

.account-flyout-wrapper {
    position: relative;
}

.account-flyout {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: rgb(251, 249, 248);
    border-radius: 4px;
    box-shadow: 0 0 6px 6px rgba(0, 0, 0, 0.15);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    pointer-events: none;
}

.account-flyout.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.account-flyout-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-flyout-title {
    font-size: 14px;
    font-weight: 700;
    color: rgb(22, 21, 19);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-flyout-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-flyout-link {
    display: block;
    padding: 12px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.account-flyout-link-primary {
    background: rgb(49, 45, 42);
    color: rgb(255, 255, 255);
}

.account-flyout-link-primary:hover {
    background: rgb(22, 21, 19);
    color: rgb(255, 255, 255);
}

.account-flyout-link-secondary {
    background: transparent;
    color: rgb(49, 45, 42);
    border: 1px solid rgba(49, 45, 42, 0.25);
}

.account-flyout-link-secondary:hover {
    background: rgba(49, 45, 42, 0.06);
    color: rgb(49, 45, 42);
}

.nav-cta {
    background: rgb(255, 255, 255);
    color: rgb(49, 45, 42);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: OracleSansVF, OracleSansVFCyGr, OracleSansFB, -apple-system, "system-ui", "Segoe UI", "Helvetica Neue", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin-left: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.timestamp,
.panel-heading p,
.component-description,
.component-meta,
.incident-meta {
    color: var(--muted);
}

.status-page {
    padding: 36px 0 0;
}

.status-hero {
    margin-bottom: 24px;
}

.status-hero h1 {
    margin: 4px 0 8px;
    color: #172b4d;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.status-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 3px;
    box-shadow: var(--shadow);
}

/* Full-width status banner — sits outside .page-shell */
.status-banner {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: #42526e;
    color: #ffffff;
    font-size: 0.97rem;
    line-height: 1.5;
    box-sizing: border-box;
}

.status-banner--operational { background: #006644; }
.status-banner--issues      { background: #7A3B00; }
.status-banner--major       { background: #BF2600; }
.status-banner--maintenance { background: #0747A6; }
.status-banner--loading     { background: #42526e; }

.banner-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.banner-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.banner-body {
    flex: 1;
    color: #ffffff;
}

.banner-body strong {
    font-weight: 700;
    color: #ffffff;
}

.banner-sep {
    color: rgba(255, 255, 255, 0.7);
}

.banner-ts {
    flex-shrink: 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.82);
    white-space: nowrap;
    margin-left: auto;
    padding-left: 16px;
}

.panel {
    padding: 26px;
    margin-top: 24px;
}

.panel-heading {
    margin-bottom: 20px;
}

.panel-heading h2,
.panel-heading p {
    margin: 0;
}

.panel-heading h2 {
    font-size: 1.25rem;
}

.eyebrow {
    color: var(--brand) !important;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.component-groups {
    display: grid;
    gap: 18px;
}

.component-group {
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.component-group h3 {
    margin: 0;
    padding: 15px 18px;
    background: #f7f9fc;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
}

.component-row {
    display: grid;
    grid-template-columns: minmax(210px, 1.3fr) minmax(180px, 0.8fr) minmax(280px, 1.5fr);
    gap: 20px;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.component-row:last-child {
    border-bottom: 0;
}

.component-name {
    margin: 0 0 4px;
    font-weight: 750;
}

.component-description {
    margin: 0;
    font-size: 0.92rem;
}

.state-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 3px;
    font-size: 0.86rem;
    font-weight: 750;
}

.state-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
}

.state-operational {
    background: rgba(30, 133, 66, 0.12);
    color: var(--green);
}

.state-degraded {
    background: rgba(241, 196, 15, 0.18);
    color: #806000;
}

.state-partial_outage {
    background: rgba(179, 94, 20, 0.14);
    color: var(--orange);
}

.state-major_outage {
    background: rgba(222, 47, 27, 0.12);
    color: var(--red);
}

.state-under_maintenance {
    background: rgba(32, 122, 182, 0.13);
    color: var(--blue);
}

.component-meta {
    margin-top: 8px;
    font-size: 0.86rem;
}

.uptime {
    display: grid;
    gap: 8px;
}

.uptime-bars {
    display: grid;
    grid-template-columns: repeat(90, minmax(2px, 1fr));
    gap: 2px;
    height: 34px;
}

.uptime-bar {
    border-radius: 2px;
    background: var(--green);
}

.uptime-bar--operational {
    background: var(--green);
}

.uptime-bar--degraded {
    background: var(--yellow);
}

.uptime-bar--partial_outage {
    background: var(--orange);
}

.uptime-bar--major_outage {
    background: var(--red);
}

.uptime-bar--under_maintenance {
    background: var(--blue);
}

.uptime-bar--no_data,
.uptime-bar--unknown {
    background: #dfe1e6;
}

.uptime-caption {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.84rem;
}

.uptime-percent {
    color: var(--brand);
    font-weight: 750;
}

.incident-list {
    display: grid;
    gap: 16px;
}

.incident-card {
    border-left: 4px solid var(--orange);
    border-radius: 3px;
    background: #fbfcfe;
    padding: 16px 18px;
}

.incident-card--maintenance {
    border-left-color: var(--blue);
}

.incident-card h3 {
    margin: 0 0 6px;
}

.incident-meta,
.incident-update {
    margin: 0;
}

.incident-updates {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.incident-update {
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.history-summary {
    color: var(--muted);
}

.history-summary p {
    margin: 0 0 10px;
}

.history-summary--loading {
    min-height: 72px;
}

.history-loading {
    color: var(--muted);
    font-size: 0.95rem;
}

.history-loading::after {
    content: "";
    display: inline-block;
    width: 0.9em;
    margin-left: 0.35em;
    animation: history-loading-ellipsis 1.2s steps(4, end) infinite;
}

@keyframes history-loading-ellipsis {
    0% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
}

.history-narrative {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand);
    background: var(--panel);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.history-narrative__title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ink);
}

.history-narrative__body {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 0.98rem;
    line-height: 1.6;
}

.history-narrative__body:last-of-type {
    margin-bottom: 0;
}

.history-narrative__meta,
.history-narrative__footnote {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.history-narrative__footnote {
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.hidden {
    display: none !important;
}

.footer {
    margin-top: 56px;
    padding: 60px 0 0;
    background: var(--oracle-dark);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    margin: 0 0 32px;
    color: var(--oracle-light);
    font-size: 16px;
    font-weight: 600;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--oracle-light);
    text-decoration: none;
    font-size: 15px;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    background: var(--oracle-dark);
    color: var(--oracle-light);
}

.footer-bottom-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 14px;
}

.footer-bottom-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-bottom-nav a,
.footer-bottom-nav span {
    color: var(--oracle-light);
    text-decoration: none;
}

.noscript {
    margin-top: 24px;
    padding: 14px 18px;
    border: 1px solid var(--red);
    border-radius: 3px;
    background: var(--red-bg);
    color: var(--red-ink);
}

@media (max-width: 820px) {
    .header {
        height: auto;
    }

    .header-content {
        height: auto;
        min-height: 72px;
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 24px;
    }

    .nav-links {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
    }

    .nav-link {
        height: auto;
        padding: 8px 10px;
    }

    .nav-link::after {
        bottom: 4px;
    }

    .products-dropdown {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding: 32px 24px;
        transform: translateY(-10px);
    }

    .nav-link-wrapper:hover .products-dropdown,
    .nav-link-wrapper:focus-within .products-dropdown,
    .products-dropdown.active {
        transform: translateY(0);
    }

    .search-container.expanded {
        width: calc(100vw - 48px);
    }

    .tworow,
    .fourclm {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .fourclm.divider {
        border-right: none;
        padding-right: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .component-row {
        grid-template-columns: 1fr;
    }

    .status-banner {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 8px;
    }

    .banner-ts {
        width: 100%;
        padding-left: 34px;
        margin-left: 0;
    }
}
