/*
 * PCSpecs – Circuit × Cooling UI foundation
 * Palette derived from the current CircuitBlue logo.
 * Rotor timing follows the existing PCSpecs placeholder:
 * top 1.5s / middle 2.75s / bottom 1.5s, all CCW.
 */

:root {
    color-scheme: dark;
    --pc-bg: #05060e;
    --pc-bg-soft: #090d17;
    --pc-surface: #0d1421;
    --pc-surface-raised: #121b2b;
    --pc-surface-strong: #182437;
    --pc-line: rgba(52, 125, 205, 0.22);
    --pc-line-strong: rgba(44, 166, 244, 0.42);
    --pc-blue: #0276f0;
    --pc-blue-deep: #0146d4;
    --pc-cyan: #0bb4f5;
    --pc-cyan-soft: #55d9f3;
    --pc-purple: #9d2ed9;
    --pc-purple-deep: #55108e;
    --pc-text: #e8f1ff;
    --pc-text-soft: #c5d1e4;
    --pc-muted: #8f9eb3;
    --pc-success: #54d7a0;
    --pc-warning: #ffbf63;
    --pc-danger: #ff7086;
    --pc-radius-sm: 0.55rem;
    --pc-radius: 0.9rem;
    --pc-radius-lg: 1.35rem;
    --pc-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --pc-shell: 80rem;
    --pc-rotor-fast: 1.5s;
    --pc-rotor-slow: 2.75s;
    font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 20rem; background: var(--pc-bg); }

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 15% -10%, rgba(2, 118, 240, 0.15), transparent 34rem),
        radial-gradient(circle at 88% 8%, rgba(157, 46, 217, 0.10), transparent 30rem),
        linear-gradient(180deg, #060912 0%, var(--pc-bg) 42rem);
    color: var(--pc-text);
    line-height: 1.55;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    opacity: 0.20;
    background-image:
        linear-gradient(rgba(36, 126, 213, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36, 126, 213, 0.05) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 55%);
}

a {
    color: var(--pc-cyan-soft);
    text-decoration-color: rgba(85, 217, 243, 0.35);
    text-underline-offset: 0.2em;
}
a:hover { color: #fff; }

button, input, select, textarea { font: inherit; }
button, a, select, input, textarea { outline-offset: 3px; }
:focus-visible { outline: 2px solid var(--pc-cyan); }
img { max-width: 100%; }
bdi[dir="ltr"] { unicode-bidi: isolate; }

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

/* Shared shell */
.site-frame {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: relative;
    z-index: 20;
    border-block-end: 1px solid var(--pc-line);
    background: rgba(5, 8, 16, 0.88);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px);
}

.site-header::after {
    position: absolute;
    inset-inline: 0;
    inset-block-end: -1px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent 4%, rgba(157, 46, 217, 0.7) 26%, rgba(11, 180, 245, 0.85) 70%, transparent 96%);
    opacity: 0.58;
}

.site-header__inner,
.site-container,
.site-footer__inner {
    width: min(calc(100% - 2.5rem), var(--pc-shell));
    margin-inline: auto;
}

.site-header__inner {
    min-height: 5.25rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    width: 11.2rem;
    color: inherit;
    text-decoration: none;
}
.site-brand__logo { width: 100%; }

.site-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    flex-wrap: wrap;
}

.site-nav a {
    position: relative;
    padding: 0.65rem 0.8rem;
    border-radius: var(--pc-radius-sm);
    color: var(--pc-text-soft);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: #fff;
    background: rgba(11, 180, 245, 0.07);
}

.site-nav a::after {
    position: absolute;
    inset-inline: 0.75rem;
    inset-block-end: 0.28rem;
    height: 2px;
    border-radius: 999px;
    content: "";
    background: linear-gradient(90deg, var(--pc-purple), var(--pc-cyan));
    box-shadow: 0 0 10px rgba(11, 180, 245, 0.45);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: inline-start center;
    transition:
        transform 180ms cubic-bezier(0.2, 0.75, 0.25, 1),
        opacity 120ms ease-out;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-nav a.is-active::after {
    transition: none;
}

.site-header__tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
}

.locale-switcher {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
}

.locale-switcher select {
    width: auto;
    max-width: 10rem;
    margin: 0;
    padding: 0.56rem 2.1rem 0.56rem 0.7rem;
}

[dir="rtl"] .locale-switcher select {
    padding: 0.56rem 0.7rem 0.56rem 2.1rem;
}

.header-logout { margin: 0; }

.site-main {
    flex: 1;
    padding-block: clamp(2rem, 4vw, 4rem);
}

.site-footer {
    border-block-start: 1px solid var(--pc-line);
    background: rgba(5, 7, 13, 0.82);
}

.site-footer__inner {
    min-height: 4.7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--pc-muted);
    font-size: 0.88rem;
}

.site-footer__brand {
    color: var(--pc-text-soft);
    font-weight: 800;
    letter-spacing: 0.045em;
}

/* Existing content views */
.content-panel {
    width: min(100%, 62rem);
    margin-inline: auto;
    padding: clamp(1.4rem, 3vw, 2.35rem);
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius-lg);
    background: linear-gradient(145deg, rgba(18, 27, 43, 0.97), rgba(9, 14, 24, 0.97));
    box-shadow: var(--pc-shadow);
}

.content-panel > :first-child { margin-block-start: 0; }
.content-panel > :last-child { margin-block-end: 0; }

.legal-page {
    max-width: 56rem;
}

.legal-page address {
    margin-block-end: 1rem;
    color: var(--pc-text-soft);
    font-style: normal;
}

.legal-page ul {
    padding-inline-start: 1.35rem;
}

.legal-page li + li {
    margin-block-start: 0.35rem;
}

.legal-page__meta {
    color: var(--pc-muted);
}

h1, h2, h3 {
    color: var(--pc-text);
    line-height: 1.14;
    text-wrap: balance;
}

h1 {
    margin-block: 0 1rem;
    font-size: clamp(2rem, 5vw, 3.35rem);
    letter-spacing: -0.035em;
}

h2 {
    margin-block: 2.2rem 0.8rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.025em;
}

h3 {
    margin-block: 1.4rem 0.6rem;
    font-size: 1.12rem;
}

p { margin-block: 0 1rem; }
.muted { color: var(--pc-muted); }

hr {
    height: 1px;
    margin-block: 2rem;
    border: 0;
    background: linear-gradient(90deg, transparent, var(--pc-line-strong), transparent);
}

label {
    display: block;
    margin-block-start: 1rem;
    color: var(--pc-text-soft);
    font-weight: 650;
}

input, select, textarea {
    width: 100%;
    margin-block-start: 0.38rem;
    padding: 0.72rem 0.82rem;
    border: 1px solid rgba(118, 157, 202, 0.35);
    border-radius: var(--pc-radius-sm);
    background: rgba(4, 8, 15, 0.72);
    color: var(--pc-text);
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

input:hover, select:hover, textarea:hover { border-color: rgba(85, 217, 243, 0.48); }

input:focus, select:focus, textarea:focus {
    border-color: var(--pc-cyan);
    box-shadow: 0 0 0 3px rgba(11, 180, 245, 0.12);
    background: rgba(6, 11, 20, 0.94);
}

textarea { min-height: 8rem; resize: vertical; }

.login-remember {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    margin-block-start: 1rem;
    cursor: pointer;
}

.login-remember input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    accent-color: var(--pc-cyan);
    box-shadow: none;
}

.login-remember span {
    color: var(--pc-text-soft);
    line-height: 1.35;
}

button,
.button {
    min-height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-block-start: 1rem;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(11, 180, 245, 0.35);
    border-radius: var(--pc-radius-sm);
    background: linear-gradient(135deg, rgba(2, 118, 240, 0.92), rgba(11, 180, 245, 0.78));
    box-shadow: 0 9px 24px rgba(0, 81, 196, 0.16);
    color: #fff;
    cursor: pointer;
    font-weight: 750;
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

button:hover, .button:hover {
    border-color: rgba(85, 217, 243, 0.72);
    box-shadow: 0 12px 30px rgba(0, 115, 224, 0.22);
    color: #fff;
    transform: translateY(-1px);
}

.button--secondary,
.button--quiet {
    background: rgba(13, 22, 37, 0.82);
    border-color: var(--pc-line-strong);
    box-shadow: none;
    color: var(--pc-text-soft);
}

.button--quiet {
    min-height: 2.35rem;
    margin: 0;
    padding: 0.48rem 0.65rem;
    font-size: 0.82rem;
}

.links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-block: 1.2rem;
}

.links a {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.52rem 0.72rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius-sm);
    background: rgba(10, 18, 30, 0.62);
    color: var(--pc-cyan-soft);
    font-weight: 650;
    text-decoration: none;
}

.links a:hover {
    border-color: var(--pc-line-strong);
    background: rgba(13, 28, 45, 0.82);
    color: #fff;
}

.status,
.errors {
    width: min(100%, 62rem);
    margin: 0 auto 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--pc-radius-sm);
    background: rgba(12, 22, 34, 0.94);
}

.status {
    border: 1px solid rgba(84, 215, 160, 0.55);
    box-shadow: inset 3px 0 0 var(--pc-success);
}

.errors {
    border: 1px solid rgba(255, 112, 134, 0.55);
    box-shadow: inset 3px 0 0 var(--pc-danger);
}

[dir="rtl"] .status { box-shadow: inset -3px 0 0 var(--pc-success); }
[dir="rtl"] .errors { box-shadow: inset -3px 0 0 var(--pc-danger); }

.errors ul { margin: 0; padding-inline-start: 1.2rem; }

dl {
    display: grid;
    grid-template-columns: minmax(9rem, max-content) 1fr;
    gap: 0.55rem 1.1rem;
    margin-block: 1rem;
}

dt { color: var(--pc-text-soft); font-weight: 700; }

dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--pc-muted);
}

article {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(52, 125, 205, 0.16);
    border-radius: var(--pc-radius);
    background: rgba(9, 15, 25, 0.58);
}
article > :first-child { margin-block-start: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin-block: 1.25rem;
    overflow: hidden;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
}

th, td {
    padding: 0.7rem 0.8rem;
    border-block-end: 1px solid var(--pc-line);
    text-align: start;
    vertical-align: top;
}

th {
    color: var(--pc-text-soft);
    background: rgba(19, 32, 50, 0.68);
}
td { color: var(--pc-muted); }

code {
    padding: 0.12rem 0.3rem;
    border-radius: 0.3rem;
    background: rgba(2, 118, 240, 0.12);
    color: var(--pc-cyan-soft);
}

/* Animated main brand */
.pcspecs-brand-logo {
    position: relative;
    display: inline-block;
    max-width: 100%;
    aspect-ratio: 679 / 339;
    line-height: 0;
    isolation: isolate;
}

.pcspecs-brand-logo__base {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
}

.pcspecs-brand-logo__fan {
    position: absolute;
    z-index: 2;
    left: 6.8%;
    width: 6.5%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    pointer-events: none;
}

.pcspecs-brand-logo__fan::before {
    position: absolute;
    inset: 9.1%;
    z-index: 0;
    border-radius: 50%;
    content: "";
    background: radial-gradient(circle at 45% 42%, #141323 0%, #070811 72%);
    box-shadow: inset 0 0 0.4rem rgba(157, 46, 217, 0.20);
}

.pcspecs-brand-logo__fan--top { inset-block-start: 38.7%; }
.pcspecs-brand-logo__fan--middle { inset-block-start: 54%; }
.pcspecs-brand-logo__fan--bottom { inset-block-start: 69.7%; }

.pcspecs-brand-logo__rotor {
    position: absolute;
    inset: 9.1%;
    z-index: 1;
    display: block;
    width: 81.8%;
    height: 81.8%;
    object-fit: contain;
    transform-origin: 50% 50%;
    user-select: none;
    will-change: transform;
}

.pcspecs-brand-logo__rotor--top,
.pcspecs-brand-logo__rotor--bottom {
    animation: pcspecs-spin-ccw var(--pc-rotor-fast) linear infinite;
}

.pcspecs-brand-logo__rotor--middle {
    animation: pcspecs-spin-ccw var(--pc-rotor-slow) linear infinite;
}

@keyframes pcspecs-spin-ccw {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Radiator/fan divider */
.cooling-divider {
    width: min(100%, 48rem);
    margin-inline: auto;
    padding-block: clamp(1rem, 1.5vw, 1.25rem);
    display: grid;
    grid-template-columns:
        minmax(1.5rem, 1fr)
        2.4rem minmax(0.75rem, 0.55fr)
        2.4rem minmax(0.75rem, 0.55fr)
        2.4rem minmax(1.5rem, 1fr);
    align-items: center;
    gap: 0.42rem;
}

.cooling-divider__rail {
    height: 0.74rem;
    border: 1px solid rgba(65, 137, 205, 0.30);
    border-radius: 0.23rem;
    background:
        repeating-linear-gradient(90deg, rgba(113, 151, 184, 0.10) 0 2px, rgba(4, 8, 14, 0.72) 2px 7px),
        linear-gradient(180deg, #172231, #080d15);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035), 0 0 1.2rem rgba(2, 118, 240, 0.05);
}

.cooling-divider__rail--start { border-inline-start-color: transparent; }
.cooling-divider__rail--end { border-inline-end-color: transparent; }

.cooling-divider__fan {
    position: relative;
    width: 2.4rem;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(157, 46, 217, 0.46);
    border-radius: 50%;
    background: radial-gradient(circle, #0e1220 0 48%, #080a11 50% 68%, #1b2030 70%);
    box-shadow: inset 0 0 0 2px rgba(11, 180, 245, 0.06), 0 0 1rem rgba(157, 46, 217, 0.08);
}

.cooling-divider__rotor {
    width: 76%;
    height: 76%;
    object-fit: contain;
    transform-origin: center;
}

.cooling-divider__rotor--top,
.cooling-divider__rotor--bottom {
    animation: pcspecs-spin-ccw var(--pc-rotor-fast) linear infinite;
}
.cooling-divider__rotor--middle {
    animation: pcspecs-spin-ccw var(--pc-rotor-slow) linear infinite;
}

/* Homepage */
.home-shell { width: 100%; }

.home-hero {
    min-height: clamp(31rem, 68vh, 45rem);
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-block: clamp(1rem, 4vw, 3rem);
}

.home-hero__copy { position: relative; z-index: 2; }

.eyebrow {
    margin-block-end: 0.8rem;
    color: var(--pc-cyan-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 12ch;
    margin-block-end: 1.25rem;
    font-size: clamp(3rem, 6.6vw, 6.25rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.home-hero h1::after {
    display: block;
    width: min(7.5rem, 36%);
    height: 3px;
    margin-block-start: 1.3rem;
    border-radius: 999px;
    content: "";
    background: linear-gradient(90deg, var(--pc-purple), var(--pc-cyan));
    box-shadow: 0 0 18px rgba(11, 180, 245, 0.22);
}

.home-hero__lead {
    max-width: 38rem;
    color: var(--pc-text-soft);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    line-height: 1.7;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-block-start: 1.65rem;
}
.home-hero__actions .button { margin: 0; min-width: 10rem; }

.home-hero__visual {
    position: relative;
    min-height: 25rem;
    display: grid;
    place-items: center;
}

.home-hero__visual::before {
    position: absolute;
    width: min(34rem, 90%);
    aspect-ratio: 1;
    border: 1px solid rgba(2, 118, 240, 0.14);
    border-radius: 50%;
    content: "";
    background: radial-gradient(circle, rgba(2, 118, 240, 0.10), transparent 61%);
    box-shadow: inset 0 0 4rem rgba(157, 46, 217, 0.05), 0 0 5rem rgba(2, 118, 240, 0.05);
}

.home-hero__logo {
    position: relative;
    z-index: 2;
    width: min(100%, 42rem);
    filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.36));
}

.home-hero__circuit {
    position: absolute;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 180, 245, 0.64));
    transform-origin: center;
    opacity: 0.5;
}

.home-hero__circuit::after {
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 50%;
    width: 0.42rem;
    aspect-ratio: 1;
    border: 1px solid var(--pc-cyan);
    border-radius: 50%;
    content: "";
    background: var(--pc-bg);
    transform: translate(50%, -50%);
    box-shadow: 0 0 0.8rem rgba(11, 180, 245, 0.38);
}

.home-hero__circuit--one {
    width: 46%;
    inset-inline-end: 3%;
    inset-block-start: 22%;
    transform: rotate(-8deg);
}
.home-hero__circuit--two {
    width: 35%;
    inset-inline-end: 10%;
    inset-block-end: 24%;
    transform: rotate(9deg);
}

.home-divider {
    margin-block: clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 6rem);
}

.home-features { padding-block-end: clamp(3rem, 6vw, 6rem); }

.home-section-heading {
    max-width: 46rem;
    margin-block-end: 2rem;
}

.home-section-heading h2 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.8rem);
    letter-spacing: -0.045em;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-feature-card {
    position: relative;
    min-height: 15rem;
    padding: 1.45rem;
    overflow: hidden;
    border-color: var(--pc-line);
    background: linear-gradient(145deg, rgba(17, 27, 43, 0.84), rgba(7, 12, 21, 0.92));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.home-feature-card::after {
    position: absolute;
    inset-inline-end: -2.5rem;
    inset-block-end: -3.7rem;
    width: 9rem;
    aspect-ratio: 1;
    border: 1px solid rgba(2, 118, 240, 0.17);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 1rem rgba(2, 118, 240, 0.025), 0 0 0 2rem rgba(157, 46, 217, 0.018);
}

.home-feature-card:nth-child(2) { border-color: rgba(157, 46, 217, 0.25); }

.home-feature-card__index {
    display: inline-flex;
    margin-block-end: 2.2rem;
    color: var(--pc-cyan);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.home-feature-card:nth-child(2) .home-feature-card__index { color: #c16bef; }

.home-feature-card h3 {
    margin-block: 0 0.7rem;
    font-size: 1.28rem;
}

.home-feature-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--pc-muted);
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 68rem) {
    .site-header__inner {
        grid-template-columns: auto 1fr;
        gap: 0.75rem 1rem;
        padding-block: 0.65rem;
    }
    .site-nav { justify-content: flex-end; }
    .site-header__tools {
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-block-start: 0.55rem;
        border-block-start: 1px solid rgba(52, 125, 205, 0.12);
    }
    .home-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .home-hero__copy { max-width: 48rem; }
    .home-hero__visual { min-height: 23rem; }
    .home-feature-grid { grid-template-columns: 1fr; }
    .home-feature-card { min-height: 0; }
}

@media (max-width: 44rem) {
    .site-header__inner,
    .site-container,
    .site-footer__inner {
        width: min(calc(100% - 1.25rem), var(--pc-shell));
    }

    .site-header__inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .site-brand { width: 9.5rem; }
    .site-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-block-end: 0.1rem;
        scrollbar-width: thin;
    }
    .site-nav a { flex: 0 0 auto; }

    .site-header__tools {
        order: 4;
        width: 100%;
    }

    .locale-switcher {
        min-width: 0;
        flex: 1;
    }

    .locale-switcher select {
        min-width: 0;
        max-width: 100%;
    }

    .site-main { padding-block: 1.25rem 2rem; }
    .content-panel {
        padding: 1rem;
        border-radius: var(--pc-radius);
    }

    dl {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
    dd { margin-block-end: 0.65rem; }

    .home-hero {
        gap: 1rem;
        padding-block-start: 1rem;
    }

    .home-hero h1 { font-size: clamp(2.7rem, 14vw, 4.4rem); }
    .home-hero__visual { min-height: 16rem; }

    .cooling-divider {
        grid-template-columns:
            minmax(0.6rem, 1fr)
            1.9rem minmax(0.3rem, 0.35fr)
            1.9rem minmax(0.3rem, 0.35fr)
            1.9rem minmax(0.6rem, 1fr);
        gap: 0.25rem;
    }
    .cooling-divider__fan { width: 1.9rem; }

    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding-block: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .pcspecs-brand-logo__rotor,
    .cooling-divider__rotor {
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }
}

/* PCSpecs density tuning: compact desktop composition */

/* Auth-Flows: weniger Formfläche, geringere Feld- und Typohöhen. */
.page-auth-compact .site-main {
    padding-block: clamp(1.2rem, 2vw, 2rem);
}

.page-auth-compact .content-panel {
    width: min(100%, 45rem);
    padding: clamp(1.05rem, 1.6vw, 1.45rem);
}

.page-auth-compact .content-panel h1 {
    margin-block-end: 0.58rem;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    letter-spacing: -0.028em;
}

.page-auth-compact .content-panel > p {
    margin-block-end: 0.68rem;
    color: var(--pc-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.page-auth-compact .content-panel label {
    margin-block-start: 0.58rem;
    font-size: 0.86rem;
}

.page-auth-compact .content-panel input,
.page-auth-compact .content-panel select,
.page-auth-compact .content-panel textarea {
    margin-block-start: 0.22rem;
    padding: 0.45rem 0.62rem;
}

.page-auth-compact .content-panel button,
.page-auth-compact .content-panel .button {
    min-height: 2.2rem;
    margin-block-start: 0.65rem;
    padding: 0.42rem 0.72rem;
    font-size: 0.86rem;
}

.page-auth-compact .content-panel .links {
    gap: 0.4rem;
    margin-block: 0.7rem 0;
}

.page-auth-compact .content-panel .links a {
    min-height: 2rem;
    padding: 0.34rem 0.56rem;
    font-size: 0.84rem;
}

/* Homepage: visuelle Sprache beibehalten, aber Desktop-Maßstab deutlich reduzieren. */
.page-home .site-container {
    width: min(calc(100% - 2.5rem), 74rem);
}

.page-home .site-main {
    padding-block: clamp(1.35rem, 2.4vw, 2.4rem);
}

.page-home .home-hero {
    min-height: clamp(24rem, 52vh, 33rem);
    grid-template-columns: minmax(0, 0.94fr) minmax(19rem, 1.06fr);
    gap: clamp(1.5rem, 3.4vw, 3.4rem);
    padding-block: clamp(0.5rem, 2vw, 1.5rem);
}

.page-home .eyebrow {
    margin-block-end: 0.58rem;
    font-size: 0.69rem;
    letter-spacing: 0.14em;
}

.page-home .home-hero h1 {
    max-width: 12ch;
    margin-block-end: 0.85rem;
    font-size: clamp(2.6rem, 4.7vw, 4.45rem);
    line-height: 0.98;
    letter-spacing: -0.052em;
}

.page-home .home-hero h1::after {
    width: min(6rem, 30%);
    margin-block-start: 0.9rem;
}

.page-home .home-hero__lead {
    max-width: 34rem;
    font-size: clamp(0.94rem, 1.2vw, 1.05rem);
    line-height: 1.6;
}

.page-home .home-hero__actions {
    gap: 0.58rem;
    margin-block-start: 1.15rem;
}

.page-home .home-hero__actions .button {
    min-width: 8.8rem;
    min-height: 2.35rem;
    padding: 0.5rem 0.78rem;
    font-size: 0.88rem;
}

.page-home .home-hero__visual {
    min-height: 19rem;
}

.page-home .home-hero__visual::before {
    width: min(27rem, 86%);
}

.page-home .home-hero__logo {
    width: min(100%, 32rem);
}

.page-home .home-divider {
    width: min(100%, 40rem);
    margin-block: clamp(0.4rem, 2vw, 1.4rem) clamp(2.2rem, 4vw, 3.6rem);
}

.page-home .home-features {
    padding-block-end: clamp(2.4rem, 4vw, 3.8rem);
}

.page-home .home-section-heading {
    max-width: 38rem;
    margin-block-end: 1.3rem;
}

.page-home .home-section-heading h2 {
    max-width: 18ch;
    font-size: clamp(1.75rem, 3.1vw, 2.85rem);
    letter-spacing: -0.038em;
}

.page-home .home-feature-grid {
    gap: 0.78rem;
}

.page-home .home-feature-card {
    min-height: 11.25rem;
    padding: 1.05rem 1.1rem;
}

.page-home .home-feature-card__index {
    margin-block-end: 1.15rem;
    font-size: 0.66rem;
}

.page-home .home-feature-card h3 {
    margin-block-end: 0.48rem;
    font-size: 1.05rem;
}

.page-home .home-feature-card p {
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 68rem) {
    .page-home .home-hero {
        gap: 0.75rem;
    }

    .page-home .home-hero__copy {
        max-width: 40rem;
    }

    .page-home .home-hero__visual {
        min-height: 18rem;
    }

    .page-home .home-hero__logo {
        width: min(100%, 30rem);
    }
}

@media (max-width: 44rem) {
    .page-home .site-container {
        width: min(calc(100% - 1.25rem), 74rem);
    }

    .page-home .home-hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.45rem);
    }

    .page-home .home-hero__visual {
        min-height: 13rem;
    }

    .page-home .home-section-heading h2 {
        font-size: clamp(1.65rem, 8vw, 2.45rem);
    }

    .page-auth-compact .content-panel {
        width: 100%;
    }
}

/* PCSpecs local handwritten accent */
.page-home .eyebrow {
    font-family: "Grape Nuts", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.015em;
    text-transform: none;
}

/* PCSpecs glossary + inline hardware help */
.page-glossary .eyebrow {
    font-family: "Grape Nuts", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.08rem, 1.35vw, 1.28rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.015em;
    text-transform: none;
}

.home-hero__term-list {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.3rem;
    margin-inline: 0.18rem;
}

.home-hero__glossary-link {
    margin: -0.25rem 0 1.2rem;
    font-size: 0.9rem;
}

.home-hero__glossary-link a {
    color: var(--pc-accent, #67d7ff);
    text-decoration: none;
    border-block-end: 1px solid rgba(103, 215, 255, 0.35);
}

.home-hero__glossary-link a:hover,
.home-hero__glossary-link a:focus-visible {
    border-block-end-color: currentColor;
}

.home-hero__copy {
    z-index: 5;
    overflow: visible;
}

.home-hero__visual {
    z-index: 1;
}

.hardware-term {
    position: relative;
    z-index: 20;
    display: inline-block;
    color: inherit;
    font-weight: 800;
}

.hardware-term__trigger {
    color: inherit;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    text-decoration-color: rgba(103, 215, 255, 0.72);
}

.hardware-term:hover .hardware-term__trigger,
.hardware-term:focus-within .hardware-term__trigger {
    color: #8fe6ff;
}

.hardware-term__tooltip {
    position: absolute;
    z-index: 80;
    inset-inline-start: 0;
    inset-block-end: calc(100% + 0.8rem);
    width: min(20rem, calc(100vw - 2rem));
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(103, 215, 255, 0.34);
    border-radius: 0.8rem;
    background:
        linear-gradient(145deg, rgba(9, 15, 24, 0.98), rgba(13, 20, 31, 0.98));
    box-shadow:
        0 1.35rem 3.2rem rgba(0, 0, 0, 0.58),
        0 0 1.6rem rgba(0, 0, 0, 0.44),
        0 0 1rem rgba(11, 180, 245, 0.10);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.35rem);
    transition:
        opacity 140ms ease,
        transform 160ms ease,
        visibility 140ms ease;
    overflow: visible;
}

.hardware-term__tooltip::before {
    position: absolute;
    inset-inline-start: 1.05rem;
    inset-block-start: 100%;
    width: 0.95rem;
    height: 0.95rem;
    content: "";
    border-inline-end: 1px solid rgba(103, 215, 255, 0.34);
    border-block-end: 1px solid rgba(103, 215, 255, 0.34);
    background:
        linear-gradient(145deg, rgba(9, 15, 24, 0.98), rgba(13, 20, 31, 0.98));
    transform: translateY(-0.5rem) rotate(45deg);
    box-shadow: 0.45rem 0.6rem 1rem rgba(0, 0, 0, 0.32);
    pointer-events: none;
}

.hardware-term__tooltip::after {
    position: absolute;
    inset-inline: 0;
    inset-block-start: 100%;
    height: 0.9rem;
    content: "";
}

.hardware-term__tooltip strong,
.hardware-term__tooltip span,
.hardware-term__tooltip-link {
    display: block;
}

.hardware-term__tooltip strong {
    margin-block-end: 0.38rem;
    color: #f3f8ff;
    font-size: 0.88rem;
}

.hardware-term__tooltip span {
    color: #c7d1dc;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
}

.hardware-term__tooltip-link {
    margin-block-start: 0.5rem;
    color: #67d7ff;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
}

.hardware-term__tooltip-link:hover,
.hardware-term__tooltip-link:focus-visible {
    color: #a8edff;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}


.glossary-shell {
    padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 5vw, 4rem);
}

.glossary-hero {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.glossary-hero h1 {
    margin: 0.3rem 0 1rem;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}

.glossary-hero > p:last-child {
    max-width: 46rem;
    margin: 0 auto;
    color: #b8c4d0;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    line-height: 1.65;
}

.glossary-divider {
    margin-block: clamp(1.8rem, 4vw, 3.25rem);
}

.glossary-content > h2 {
    max-width: 58rem;
    margin: 0 auto clamp(1.15rem, 2vw, 1.6rem);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.08;
    text-align: center;
}

.hardware-glossary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    max-width: 70rem;
    margin: 0 auto;
}

.hardware-glossary__entry {
    scroll-margin-top: 6.5rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(118, 146, 171, 0.18);
    border-radius: 0.95rem;
    background:
        linear-gradient(145deg, rgba(17, 25, 37, 0.84), rgba(9, 15, 24, 0.9));
}

.hardware-glossary__entry:target {
    border-color: rgba(103, 215, 255, 0.62);
    box-shadow: 0 0 0 1px rgba(103, 215, 255, 0.12), 0 0 2rem rgba(56, 183, 235, 0.08);
}

.hardware-glossary__entry dt {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0 0 0.55rem;
    color: #aebdca;
    font-size: 0.86rem;
    font-weight: 700;
}

.hardware-glossary__entry dfn {
    color: #f4f8fc;
    font-size: 1.12rem;
    font-style: normal;
    font-weight: 900;
}

.hardware-glossary__entry dd {
    margin: 0;
    color: #c4ced8;
    font-size: 0.94rem;
    line-height: 1.58;
}

@media (max-width: 760px) {
    .hardware-glossary {
        grid-template-columns: 1fr;
    }

    .hardware-term__tooltip {
        width: min(17rem, calc(100vw - 2rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hardware-term__tooltip {
        transition: none;
    }
}

/* PCSpecs footer information navigation */
.site-footer__identity {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.site-footer__tagline {
    color: var(--pc-muted);
}

.site-footer__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
    flex-wrap: wrap;
}

.site-footer__nav a {
    position: relative;
    padding: 0.48rem 0.62rem;
    border-radius: var(--pc-radius-sm);
    color: var(--pc-text-soft);
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        color 160ms ease,
        background-color 160ms ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible,
.site-footer__nav a.is-active {
    color: #fff;
    background: rgba(11, 180, 245, 0.07);
}

.site-footer__nav a.is-active::after {
    position: absolute;
    inset-inline: 0.62rem;
    inset-block-end: 0.18rem;
    height: 1px;
    border-radius: 999px;
    content: "";
    background: linear-gradient(90deg, var(--pc-purple), var(--pc-cyan));
}

@media (max-width: 44rem) {
    .site-footer__identity {
        width: 100%;
    }

    .site-footer__nav {
        width: 100%;
        justify-content: flex-start;
    }
}

/* PCSpecs account systems overview */
.systems-shell {
    width: min(100%, 74rem);
    margin-inline: auto;
}

.systems-page {
    display: grid;
    gap: clamp(1.65rem, 3vw, 2.6rem);
}

.systems-page__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 2rem;
}

.systems-page__heading {
    max-width: 48rem;
}

.systems-page__heading h1 {
    margin-block-end: 0.7rem;
}

.systems-page__intro {
    max-width: 46rem;
    margin: 0;
    color: var(--pc-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.systems-page__top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.systems-page__top-actions .button {
    margin-block-start: 0;
}

.systems-section {
    min-width: 0;
}

.systems-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-block-end: 1rem;
}

.systems-section__header h2 {
    margin: 0;
}

.system-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.system-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius-lg);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 180, 245, 0.075), transparent 36%),
        linear-gradient(150deg, rgba(15, 23, 37, 0.97), rgba(7, 12, 21, 0.97));
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.18);
}

.system-card::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    border-radius: inherit;
    background:
        linear-gradient(115deg, transparent 0 64%, rgba(11, 180, 245, 0.035) 64% 65%, transparent 65%),
        linear-gradient(115deg, transparent 0 76%, rgba(154, 76, 255, 0.035) 76% 77%, transparent 77%);
    pointer-events: none;
}

.system-card--primary {
    border-color: rgba(68, 210, 255, 0.48);
    box-shadow:
        0 1rem 2.7rem rgba(0, 0, 0, 0.22),
        0 0 1.35rem rgba(11, 180, 245, 0.075);
}

.system-card--primary::before {
    position: absolute;
    inset-block: 0.85rem;
    inset-inline-start: -1px;
    width: 3px;
    border-radius: 0 999px 999px 0;
    content: "";
    background: linear-gradient(180deg, var(--pc-cyan), var(--pc-purple));
    box-shadow: 0 0 1rem rgba(11, 180, 245, 0.42);
}

[dir="rtl"] .system-card--primary::before {
    border-radius: 999px 0 0 999px;
}

.system-card__header {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    padding-block-end: 0.9rem;
    border-block-end: 1px solid rgba(123, 171, 216, 0.14);
}

.system-card__title {
    min-width: 0;
}

.system-card__title h3 {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.system-card__primary-badge {
    display: inline-flex;
    align-items: center;
    margin-block-end: 0.42rem;
    padding: 0.2rem 0.48rem;
    border: 1px solid rgba(68, 210, 255, 0.34);
    border-radius: 999px;
    background: rgba(11, 180, 245, 0.08);
    color: #9beaff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.system-chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 0.24rem 0.5rem;
    border: 1px solid rgba(129, 173, 211, 0.22);
    border-radius: 999px;
    background: rgba(5, 10, 18, 0.62);
    color: var(--pc-text-soft);
    font-size: 0.74rem;
    font-weight: 720;
    line-height: 1.25;
    text-align: start;
}

.system-chip--active {
    border-color: rgba(100, 217, 183, 0.3);
    background: rgba(100, 217, 183, 0.075);
    color: #91ead1;
}

.system-chip--draft {
    border-color: rgba(255, 195, 107, 0.28);
    background: rgba(255, 195, 107, 0.07);
    color: #ffd18d;
}

.system-chip--archived {
    border-color: rgba(150, 168, 186, 0.2);
    color: #a8b7c7;
}

.system-chip--visibility-public {
    border-color: rgba(100, 217, 183, 0.25);
    color: #8ce4ca;
}

.system-chip--visibility-unlisted {
    border-color: rgba(154, 76, 255, 0.3);
    color: #c9a5ff;
}

.system-chip--visibility-private {
    border-color: rgba(129, 173, 211, 0.2);
    color: #b1bfcd;
}

.system-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0.95rem 0 0;
    border: 1px solid rgba(123, 171, 216, 0.12);
    border-radius: var(--pc-radius);
    overflow: hidden;
    background: rgba(3, 8, 15, 0.34);
}

.system-card__fact {
    min-width: 0;
    padding: 0.68rem 0.75rem;
}

.system-card__fact:nth-child(odd) {
    border-inline-end: 1px solid rgba(123, 171, 216, 0.1);
}

.system-card__fact:nth-child(n + 3) {
    border-block-start: 1px solid rgba(123, 171, 216, 0.1);
}

.system-card__fact dt {
    margin: 0 0 0.2rem;
    color: var(--pc-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.system-card__fact dd {
    min-width: 0;
    margin: 0;
    color: var(--pc-text-soft);
    font-size: 0.86rem;
    font-weight: 680;
    overflow-wrap: anywhere;
}

.system-card__actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-block-start: 0.95rem;
}

.system-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    padding: 0.45rem 0.68rem;
    border: 1px solid rgba(126, 170, 211, 0.2);
    border-radius: var(--pc-radius-sm);
    background: rgba(5, 10, 18, 0.48);
    color: var(--pc-text-soft);
    font-size: 0.8rem;
    font-weight: 720;
    text-decoration: none;
    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        color 150ms ease,
        transform 150ms ease;
}

.system-card__action:hover,
.system-card__action:focus-visible {
    border-color: rgba(68, 210, 255, 0.46);
    background: rgba(11, 180, 245, 0.08);
    color: #fff;
    transform: translateY(-1px);
}

.system-card__action--primary {
    border-color: rgba(11, 180, 245, 0.42);
    background: linear-gradient(135deg, rgba(0, 106, 216, 0.78), rgba(11, 180, 245, 0.58));
    color: #fff;
}

.system-card__action--secondary {
    border-color: rgba(154, 76, 255, 0.34);
    background: rgba(154, 76, 255, 0.065);
}

.system-card__management {
    display: grid;
    gap: 0.6rem;
    margin-block-start: auto;
    padding-block-start: 0.95rem;
}

.system-card__management form {
    margin: 0;
}

.system-card__utility {
    min-height: 0;
    margin: 0;
    padding: 0.36rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #8ddff7;
    font-size: 0.76rem;
    font-weight: 720;
    text-align: start;
    text-decoration: underline;
    text-decoration-color: rgba(103, 215, 255, 0.4);
    text-underline-offset: 0.18em;
}

.system-card__utility:hover,
.system-card__utility:focus-visible {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #c2f2ff;
    transform: none;
}

.system-card__archive {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.65rem;
    padding-block-start: 0.65rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.1);
}

.system-card__archive p {
    margin: 0;
    color: var(--pc-muted);
    font-size: 0.72rem;
    line-height: 1.45;
}

.system-card__utility--danger {
    color: #ff9cac;
    text-decoration-color: rgba(255, 125, 144, 0.42);
}

.system-card__utility--danger:hover,
.system-card__utility--danger:focus-visible {
    color: #ffc0ca;
}

.system-card--archived {
    border-color: rgba(129, 157, 185, 0.14);
    background:
        linear-gradient(150deg, rgba(12, 18, 28, 0.84), rgba(7, 11, 18, 0.88));
    box-shadow: none;
}

.system-card--archived::after {
    opacity: 0.35;
}

.system-card-grid--archived {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-card--archived .system-card__facts,
.system-card--archived .system-card__header {
    opacity: 0.82;
}

.system-card--archived .system-card__actions {
    margin-block-start: 0.85rem;
}

.systems-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(103, 215, 255, 0.22);
    border-radius: var(--pc-radius);
    background: rgba(8, 14, 23, 0.46);
}

.systems-empty p {
    margin: 0;
    color: var(--pc-muted);
}

.systems-empty .button {
    flex: 0 0 auto;
    margin: 0;
}

.systems-empty--archived {
    border-color: rgba(129, 157, 185, 0.14);
    background: rgba(8, 12, 19, 0.34);
}

@media (max-width: 52rem) {
    .systems-page__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .systems-page__top-actions {
        justify-content: flex-start;
    }

    .system-card-grid,
    .system-card-grid--archived {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 36rem) {
    .systems-page__top-actions,
    .systems-page__top-actions .button {
        width: 100%;
    }

    .system-card__facts {
        grid-template-columns: 1fr;
    }

    .system-card__fact:nth-child(odd) {
        border-inline-end: 0;
    }

    .system-card__fact:nth-child(n + 2) {
        border-block-start: 1px solid rgba(123, 171, 216, 0.1);
    }

    .system-card__archive {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .systems-empty {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .system-card__action {
        transition: none;
    }

    .system-card__action:hover,
    .system-card__action:focus-visible {
        transform: none;
    }
}

/* PCSpecs account center */
.account-shell {
    width: 100%;
}

.account-page {
    display: grid;
    gap: clamp(1.2rem, 2.3vw, 1.8rem);
}

.account-page__header {
    max-width: 48rem;
}

.account-page__header h1 {
    margin-block-end: 0.55rem;
}

.account-page__header p {
    margin: 0;
    color: var(--pc-muted);
    line-height: 1.65;
}

.account-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.3rem;
    border: 1px solid rgba(123, 171, 216, 0.16);
    border-radius: var(--pc-radius);
    overflow-x: auto;
    background: rgba(5, 10, 18, 0.52);
    scrollbar-width: thin;
}

.account-tabs a {
    position: relative;
    flex: 0 0 auto;
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.58rem 0.82rem;
    border-radius: calc(var(--pc-radius) - 0.2rem);
    color: var(--pc-text-soft);
    font-size: 0.86rem;
    font-weight: 720;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 150ms ease,
        color 150ms ease,
        border-color 150ms ease;
}

.account-tabs a:hover,
.account-tabs a:focus-visible {
    background: rgba(11, 180, 245, 0.07);
    color: #fff;
}

.account-tabs a.is-active {
    background:
        linear-gradient(135deg, rgba(0, 106, 216, 0.24), rgba(154, 76, 255, 0.11)),
        rgba(8, 14, 23, 0.74);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(68, 210, 255, 0.24);
}

.account-tabs a.is-active::after {
    position: absolute;
    inset-inline: 0.75rem;
    inset-block-end: 0.26rem;
    height: 1px;
    border-radius: 999px;
    content: "";
    background: linear-gradient(90deg, var(--pc-purple), var(--pc-cyan));
}

.account-panel {
    padding: clamp(1rem, 2.4vw, 1.35rem);
    border: 1px solid rgba(123, 171, 216, 0.16);
    border-radius: var(--pc-radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 180, 245, 0.05), transparent 34%),
        linear-gradient(150deg, rgba(14, 22, 35, 0.94), rgba(7, 12, 20, 0.96));
    box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.16);
}

.account-panel__heading {
    max-width: 52rem;
    margin-block-end: 1rem;
}

.account-panel__heading h2 {
    margin: 0 0 0.42rem;
}

.account-panel__heading p,
.account-panel__hint {
    margin: 0;
    color: var(--pc-muted);
    line-height: 1.6;
}

.account-panel__heading--with-action {
    max-width: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.4rem;
}

.account-panel__heading--with-action > div {
    max-width: 52rem;
}

.account-panel__heading--with-action .button {
    flex: 0 0 auto;
    margin-block-start: 0;
}

.account-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.account-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(123, 171, 216, 0.13);
    border-radius: var(--pc-radius);
    background: rgba(4, 9, 16, 0.42);
}

.account-card--single {
    max-width: 48rem;
}

.account-card__heading {
    margin-block-end: 0.85rem;
}

.account-card__heading h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.account-card__heading p {
    margin: 0;
    color: var(--pc-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.account-form {
    margin: 0;
}

.account-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.account-field {
    min-width: 0;
}

.account-field--full {
    grid-column: 1 / -1;
}

.account-field label {
    margin-block-start: 0;
}

.account-field input,
.account-field select,
.account-field textarea {
    margin-block-start: 0.35rem;
}

.account-field__label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.55rem;
}

.account-field__label-row label {
    margin: 0;
}

.account-field__hint {
    margin: 0.38rem 0 0;
    color: var(--pc-muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

.account-verification {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 0.18rem 0.42rem;
    border: 1px solid rgba(150, 168, 186, 0.2);
    border-radius: 999px;
    color: #aebdcb;
    font-size: 0.67rem;
    font-weight: 760;
}

.account-verification--ok {
    border-color: rgba(100, 217, 183, 0.28);
    background: rgba(100, 217, 183, 0.065);
    color: #91ead1;
}

.account-form > .button,
.account-card form > .button {
    margin-block-start: 0.9rem;
}

.account-visibility-help {
    display: grid;
    gap: 0.45rem;
    margin-block-start: 0.85rem;
}

.account-visibility-help > div {
    display: grid;
    grid-template-columns: minmax(7rem, 0.3fr) 1fr;
    gap: 0.6rem;
    padding: 0.55rem 0.65rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.1);
}

.account-visibility-help strong {
    color: var(--pc-text-soft);
    font-size: 0.78rem;
}

.account-visibility-help span {
    color: var(--pc-muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-block-end: 0.95rem;
}

.account-summary-grid > div {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(123, 171, 216, 0.12);
    border-radius: var(--pc-radius-sm);
    background: rgba(4, 9, 16, 0.38);
}

.account-summary-grid span {
    color: var(--pc-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.account-summary-grid strong {
    color: var(--pc-text-soft);
    overflow-wrap: anywhere;
}

.account-panel__hint + .button {
    margin-block-start: 0.85rem;
}

@media (max-width: 52rem) {
    .account-card-grid {
        grid-template-columns: 1fr;
    }

    .account-panel__heading--with-action {
        flex-direction: column;
    }
}

@media (max-width: 38rem) {
    .account-form__grid,
    .account-summary-grid {
        grid-template-columns: 1fr;
    }

    .account-field--full {
        grid-column: auto;
    }

    .account-visibility-help > div {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .account-panel {
        padding-inline: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .account-tabs a {
        transition: none;
    }
}

/* PCSpecs public profile */
.public-profile-shell {
    width: min(100%, 74rem);
    margin-inline: auto;
}

.public-profile-page {
    display: grid;
    gap: clamp(1.2rem, 2.4vw, 1.9rem);
}

.public-profile-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.15rem, 2.6vw, 1.6rem);
    border: 1px solid rgba(123, 171, 216, 0.16);
    border-radius: var(--pc-radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 180, 245, 0.08), transparent 34%),
        linear-gradient(150deg, rgba(14, 22, 35, 0.95), rgba(7, 12, 20, 0.97));
    box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.18);
}

.public-profile-hero::before,
.public-profile-hero::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

.public-profile-hero::before {
    inset-block-start: 0.95rem;
    inset-inline-end: 1rem;
    width: min(18rem, 42%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(11, 180, 245, 0.55));
}

.public-profile-hero::after {
    inset-block-start: 0.95rem;
    inset-inline-end: 1rem;
    width: 1px;
    height: min(7rem, 55%);
    background: linear-gradient(180deg, rgba(11, 180, 245, 0.52), transparent);
}

.public-profile-hero__identity {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.public-profile-hero h1 {
    margin: 0;
}

.public-profile-meta {
    margin: 0.9rem 0 0;
}

.public-profile-meta > div {
    display: inline-grid;
    gap: 0.2rem;
    min-width: min(100%, 16rem);
    padding: 0.62rem 0.72rem;
    border: 1px solid rgba(123, 171, 216, 0.12);
    border-radius: var(--pc-radius-sm);
    background: rgba(4, 9, 16, 0.4);
}

.public-profile-meta dt {
    color: var(--pc-muted);
    font-size: 0.7rem;
    font-weight: 720;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-profile-meta dd {
    margin: 0;
    color: var(--pc-text-soft);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.public-profile-panel {
    padding: clamp(1rem, 2.4vw, 1.35rem);
    border: 1px solid rgba(123, 171, 216, 0.14);
    border-radius: var(--pc-radius-lg);
    background: rgba(7, 12, 20, 0.72);
}

.public-profile-panel__heading {
    margin-block-end: 0.7rem;
}

.public-profile-panel__heading h2,
.public-profile-section-heading h2 {
    margin: 0;
}

.public-profile-bio {
    margin: 0;
    color: var(--pc-text-soft);
    line-height: 1.72;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.public-profile-systems {
    display: grid;
    gap: 0.95rem;
}

.public-profile-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.public-profile-system-grid {
    margin: 0;
}

.public-profile-system-card {
    min-height: 0;
}

.public-profile-system-link {
    color: inherit;
    text-decoration: none;
}

.public-profile-system-link:hover,
.public-profile-system-link:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(11, 180, 245, 0.62);
    text-underline-offset: 0.18em;
}

.public-profile-system-facts {
    grid-template-columns: minmax(0, 1fr);
}

.public-profile-empty {
    margin: 0;
}

@media (max-width: 38rem) {
    .public-profile-hero,
    .public-profile-panel {
        padding-inline: 0.9rem;
    }

    .public-profile-meta > div {
        width: 100%;
    }
}

/* PCSpecs remaining product surfaces */
.public-system-shell,
.product-workflow-shell {
    width: min(100%, 74rem);
    margin-inline: auto;
}

.public-system-page,
.product-workflow-page {
    display: grid;
    gap: clamp(1.15rem, 2.3vw, 1.8rem);
}

.public-system-hero,
.product-form-panel,
.product-surface-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1rem, 2.4vw, 1.35rem);
    border: 1px solid rgba(123, 171, 216, 0.15);
    border-radius: var(--pc-radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 180, 245, 0.05), transparent 34%),
        linear-gradient(150deg, rgba(14, 22, 35, 0.94), rgba(7, 12, 20, 0.96));
    box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.16);
}

.public-system-hero::before {
    position: absolute;
    inset-block-start: 0.95rem;
    inset-inline-end: 1rem;
    width: min(18rem, 42%);
    height: 1px;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(11, 180, 245, 0.55));
}

.public-system-hero__identity {
    position: relative;
    z-index: 1;
    max-width: 48rem;
}

.public-system-hero h1,
.product-workflow-header h1 {
    margin: 0;
}

.public-system-meta {
    margin: 0.9rem 0 0;
}

.public-system-meta > div {
    display: inline-grid;
    gap: 0.2rem;
    min-width: min(100%, 16rem);
    padding: 0.62rem 0.72rem;
    border: 1px solid rgba(123, 171, 216, 0.12);
    border-radius: var(--pc-radius-sm);
    background: rgba(4, 9, 16, 0.4);
}

.public-system-meta dt,
.product-fact-grid dt,
.product-component-facts dt,
.compatibility-detail-block dt {
    color: var(--pc-muted);
    font-size: 0.7rem;
    font-weight: 720;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-system-meta dd,
.product-fact-grid dd,
.product-component-facts dd,
.compatibility-detail-block dd {
    margin: 0;
    color: var(--pc-text-soft);
    overflow-wrap: anywhere;
}

.product-surface-panel__heading,
.product-surface-section-heading {
    margin-block-end: 0.85rem;
}

.product-surface-panel__heading h2,
.product-surface-section-heading h2 {
    margin: 0;
}

.public-system-owner__link {
    display: grid;
    gap: 0.25rem;
    max-width: 32rem;
    padding: 0.75rem 0.8rem;
    border: 1px solid rgba(123, 171, 216, 0.12);
    border-radius: var(--pc-radius-sm);
    color: var(--pc-text-soft);
    background: rgba(4, 9, 16, 0.38);
    text-decoration: none;
}

.public-system-owner__link:hover,
.public-system-owner__link:focus-visible {
    border-color: rgba(11, 180, 245, 0.34);
    color: #fff;
}

.public-system-owner__link span {
    color: var(--pc-muted);
    font-size: 0.82rem;
}

.product-fact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
}

.product-fact-grid > div {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
    padding: 0.72rem 0.75rem;
    border: 1px solid rgba(123, 171, 216, 0.11);
    border-radius: var(--pc-radius-sm);
    background: rgba(4, 9, 16, 0.36);
}

.product-surface-copy {
    margin-block-start: 0.9rem;
    color: var(--pc-text-soft);
    line-height: 1.6;
}

.product-surface-copy > :first-child {
    margin-block-start: 0;
}

.product-surface-copy > :last-child {
    margin-block-end: 0;
}

.product-surface-limit {
    margin-block: 0.9rem 0;
}

.product-notice {
    margin: 0.65rem 0 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(11, 180, 245, 0.17);
    border-radius: var(--pc-radius-sm);
    background: rgba(11, 180, 245, 0.045);
    color: var(--pc-text-soft);
    line-height: 1.5;
}

.product-notice--warning {
    border-color: rgba(245, 158, 11, 0.28);
    background: rgba(245, 158, 11, 0.055);
}

.product-notice--read-only {
    margin: 0;
    border-color: rgba(154, 76, 255, 0.24);
    background: rgba(154, 76, 255, 0.05);
}

.product-surface-empty {
    padding: 0.9rem 1rem;
    border: 1px dashed rgba(123, 171, 216, 0.17);
    border-radius: var(--pc-radius);
    background: rgba(4, 9, 16, 0.3);
}

.product-surface-empty p {
    margin: 0;
    color: var(--pc-muted);
}

.public-system-components,
.product-surface-details {
    display: grid;
    gap: 0.9rem;
}

.product-surface-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.product-surface-section-heading p {
    margin: 0.35rem 0 0;
    color: var(--pc-muted);
    line-height: 1.55;
}

.product-component-grid,
.compatibility-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.product-component-card,
.compatibility-detail-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(123, 171, 216, 0.13);
    border-radius: var(--pc-radius);
    background:
        linear-gradient(150deg, rgba(12, 19, 31, 0.92), rgba(5, 10, 17, 0.94));
}

.product-component-card__header,
.compatibility-detail-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.7rem;
    margin-block-end: 0.8rem;
}

.product-component-card__header h2,
.product-component-card__header h3,
.compatibility-detail-card h3 {
    margin: 0;
    font-size: 1rem;
}

.compatibility-detail-card > header strong {
    flex: 0 0 auto;
    color: var(--pc-cyan);
    font-size: 0.76rem;
}

.product-component-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
}

.product-component-facts > div {
    min-width: 0;
    padding: 0.6rem 0;
    border-block-start: 1px solid rgba(123, 171, 216, 0.09);
}

.product-component-facts > div:nth-child(odd):not(.product-component-facts__wide) {
    padding-inline-end: 0.8rem;
}

.product-component-facts > div:nth-child(even):not(.product-component-facts__wide) {
    padding-inline-start: 0.8rem;
    border-inline-start: 1px solid rgba(123, 171, 216, 0.09);
}

.product-component-facts__wide {
    grid-column: 1 / -1;
}

.product-component-card__actions {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-block-start: 0.85rem;
    padding-block-start: 0.75rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.09);
}

.product-component-card__actions form {
    margin: 0;
}

.product-workflow-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.product-workflow-header > div {
    max-width: 48rem;
}

.product-workflow-header p {
    margin: 0.5rem 0 0;
    color: var(--pc-muted);
    line-height: 1.6;
}

.product-workflow-header > .button,
.product-workflow-actions .button {
    margin-block-start: 0;
}

.product-workflow-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.product-workflow-actions--after-grid {
    margin-block-start: 1.25rem;
}

.product-form-panel {
    max-width: 58rem;
}

.product-form {
    margin: 0;
}

.product-form > label,
.product-form-panel--component form > label {
    display: block;
}

.product-form > input,
.product-form > select,
.product-form > textarea,
.product-form-panel--component form > input,
.product-form-panel--component form > select,
.product-form-panel--component form > textarea {
    max-width: 42rem;
}

.product-form > dl {
    display: grid;
    gap: 0.4rem;
    margin-block: 0.8rem 1rem;
    max-width: 48rem;
}

.product-form > dl > dt {
    font-weight: 700;
    color: var(--pc-text-soft);
}

.product-form > dl > dd {
    margin-inline-start: 0;
    margin-block-end: 0.35rem;
}

.product-form__actions {
    margin-block-start: 1rem;
    padding-block-start: 0.85rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.1);
}

.product-form__actions .button {
    margin-block-start: 0;
}

.product-form-panel--component > form {
    margin: 0;
}

.product-form-panel--component > form + [role="alert"],
.product-form-panel--component > [role="alert"] {
    margin-block: 0.5rem;
}

.product-form-panel--component > hr {
    margin-block: 1.1rem;
    border: 0;
    border-block-start: 1px solid rgba(123, 171, 216, 0.12);
}

.product-form-panel--component > form:first-of-type {
    padding-block-end: 0.25rem;
}

.product-form-panel--component button {
    width: auto;
}

.product-inline-action {
    margin-block-start: 0.9rem;
}

.product-inline-action .button {
    margin-block-start: 0;
}

.compatibility-detail-card > p {
    color: var(--pc-text-soft);
    line-height: 1.55;
}

.compatibility-detail-block {
    margin-block-start: 0.8rem;
    padding-block-start: 0.75rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.09);
}

.compatibility-detail-block h4 {
    margin: 0 0 0.45rem;
    font-size: 0.86rem;
}

.compatibility-detail-block dl {
    display: grid;
    gap: 0.45rem;
    margin: 0;
}

.compatibility-detail-block dl > div {
    display: grid;
    grid-template-columns: minmax(8rem, 0.45fr) minmax(0, 1fr);
    gap: 0.6rem;
}

.compatibility-detail-block ul {
    margin-block: 0;
    padding-inline-start: 1.15rem;
    color: var(--pc-text-soft);
}

@media (max-width: 60rem) {
    .product-fact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 52rem) {
    .product-component-grid,
    .compatibility-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-workflow-header {
        flex-direction: column;
    }

    .product-workflow-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 38rem) {
    .product-fact-grid,
    .product-component-facts {
        grid-template-columns: 1fr;
    }

    .product-component-facts > div:nth-child(odd):not(.product-component-facts__wide),
    .product-component-facts > div:nth-child(even):not(.product-component-facts__wide) {
        padding-inline: 0;
        border-inline-start: 0;
    }

    .product-component-facts__wide {
        grid-column: auto;
    }

    .product-workflow-actions {
        width: 100%;
    }

    .product-workflow-actions .button,
    .product-workflow-header > .button {
        width: 100%;
    }

    .compatibility-detail-block dl > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .public-system-hero,
    .product-form-panel,
    .product-surface-panel {
        padding-inline: 0.9rem;
    }
}

/* PCSpecs administration workbench */
.admin-shell {
    width: min(100%, 74rem);
    margin-inline: auto;
}

.admin-workbench {
    display: grid;
    gap: clamp(1rem, 2vw, 1.45rem);
}

.admin-workbench__header,
.admin-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.admin-workbench__header {
    padding: 0.2rem 0.1rem 0;
}

.admin-workbench__eyebrow {
    margin: 0;
    color: var(--pc-cyan, #67e8f9);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.admin-workbench__context,
.admin-page-header p {
    margin: 0.45rem 0 0;
    max-width: 48rem;
    color: var(--pc-muted, #a9b8c8);
    line-height: 1.6;
}

.admin-workbench__account-link {
    flex: 0 0 auto;
    margin-block-start: 0;
}

.admin-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.35rem;
    border: 1px solid rgba(123, 171, 216, 0.14);
    border-radius: var(--pc-radius-lg, 0.9rem);
    background: rgba(4, 9, 16, 0.46);
}

.admin-section-nav__item {
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid transparent;
    border-radius: var(--pc-radius-sm, 0.55rem);
    color: var(--pc-text-soft, #dce7f2);
    font-size: 0.88rem;
    font-weight: 720;
    text-decoration: none;
}

.admin-section-nav__item:hover,
.admin-section-nav__item:focus-visible {
    border-color: rgba(11, 180, 245, 0.25);
    color: #fff;
    background: rgba(11, 180, 245, 0.055);
}

.admin-section-nav__item[aria-current="page"] {
    border-color: rgba(11, 180, 245, 0.34);
    color: #fff;
    background:
        linear-gradient(145deg, rgba(11, 180, 245, 0.12), rgba(154, 76, 255, 0.06));
    box-shadow: inset 0 -2px 0 rgba(11, 180, 245, 0.55);
}

.admin-workbench__content {
    display: grid;
    gap: 1rem;
}

.admin-page-header {
    margin: 0;
}

.admin-page-header h1 {
    margin: 0;
}

.admin-page-header--actions > .button {
    flex: 0 0 auto;
    margin-block-start: 0;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.admin-dashboard-card,
.admin-filter-panel,
.admin-table-panel,
.admin-fact-panel,
.admin-form-panel,
.admin-form-section {
    min-width: 0;
    border: 1px solid rgba(123, 171, 216, 0.14);
    border-radius: var(--pc-radius-lg, 0.9rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 180, 245, 0.045), transparent 34%),
        linear-gradient(150deg, rgba(14, 22, 35, 0.92), rgba(7, 12, 20, 0.95));
    box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.14);
}

.admin-dashboard-card {
    display: grid;
    align-content: space-between;
    gap: 1.05rem;
    min-height: 10rem;
    padding: 1rem;
}

.admin-dashboard-card h2 {
    margin: 0;
    font-size: 1.05rem;
}

.admin-dashboard-card p {
    margin: 0.45rem 0 0;
    color: var(--pc-muted, #a9b8c8);
    line-height: 1.58;
}

.admin-dashboard-card__link,
.admin-table__action {
    width: fit-content;
    color: var(--pc-cyan, #67e8f9);
    font-weight: 720;
    text-decoration: none;
}

.admin-dashboard-card__link:hover,
.admin-dashboard-card__link:focus-visible,
.admin-table__action:hover,
.admin-table__action:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.admin-filter-panel,
.admin-fact-panel,
.admin-form-panel,
.admin-form-section {
    padding: clamp(0.9rem, 2vw, 1.15rem);
}

.admin-filter-form {
    display: flex;
    align-items: end;
    gap: 0.75rem;
}

.admin-filter-form--components {
    display: grid;
    grid-template-columns: minmax(10rem, 0.6fr) minmax(14rem, 1fr) auto;
}

.admin-filter-form__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-filter-form__submit,
.admin-filter-form__actions .button {
    margin-block-start: 0;
}

.admin-field {
    display: grid;
    gap: 0.38rem;
    min-width: 0;
}

.admin-field--grow {
    flex: 1 1 20rem;
}

.admin-field label,
.admin-field legend {
    margin: 0;
    color: var(--pc-text-soft, #dce7f2);
    font-weight: 700;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    margin: 0;
}

.admin-field__help,
.admin-form-note {
    margin: 0.25rem 0 0;
    color: var(--pc-muted, #a9b8c8);
    font-size: 0.86rem;
    line-height: 1.55;
}

.admin-table-panel {
    overflow: hidden;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.admin-table th,
.admin-table td {
    padding: 0.78rem 0.85rem;
    border-block-end: 1px solid rgba(123, 171, 216, 0.1);
    text-align: start;
    vertical-align: top;
}

.admin-table th {
    color: var(--pc-muted, #a9b8c8);
    font-size: 0.74rem;
    font-weight: 780;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-table tbody tr:last-child td {
    border-block-end: 0;
}

.admin-table tbody tr:hover {
    background: rgba(11, 180, 245, 0.025);
}

.admin-table__secondary {
    display: block;
    margin-block-start: 0.18rem;
    color: var(--pc-muted, #a9b8c8);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.admin-table__empty {
    padding-block: 1.5rem !important;
    color: var(--pc-muted, #a9b8c8);
    text-align: center !important;
}

.admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.22rem 0.48rem;
    border: 1px solid rgba(123, 171, 216, 0.2);
    border-radius: 999px;
    color: var(--pc-text-soft, #dce7f2);
    background: rgba(123, 171, 216, 0.055);
    font-size: 0.76rem;
    font-weight: 720;
}

.admin-badge--ok {
    border-color: rgba(74, 222, 128, 0.24);
    background: rgba(74, 222, 128, 0.05);
}

.admin-badge--attention {
    border-color: rgba(154, 76, 255, 0.28);
    background: rgba(154, 76, 255, 0.055);
}

.admin-badge--warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.055);
}

.admin-pagination {
    padding: 0.7rem 0.85rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.1);
}

.admin-catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.1);
    font-size: 0.86rem;
}

.admin-catalog-pagination a {
    color: var(--pc-cyan, #67e8f9);
}

.admin-catalog-pagination span[aria-disabled="true"] {
    color: var(--pc-muted, #a9b8c8);
}

.admin-fact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
}

.admin-fact-grid > div {
    min-width: 0;
    display: grid;
    gap: 0.2rem;
    padding: 0.72rem 0.75rem;
    border: 1px solid rgba(123, 171, 216, 0.1);
    border-radius: var(--pc-radius-sm, 0.55rem);
    background: rgba(4, 9, 16, 0.34);
}

.admin-fact-grid dt {
    color: var(--pc-muted, #a9b8c8);
    font-size: 0.7rem;
    font-weight: 760;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-fact-grid dd {
    margin: 0;
    color: var(--pc-text-soft, #dce7f2);
    overflow-wrap: anywhere;
}

.admin-notice {
    display: grid;
    gap: 0.22rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(11, 180, 245, 0.2);
    border-radius: var(--pc-radius-sm, 0.55rem);
    color: var(--pc-text-soft, #dce7f2);
    background: rgba(11, 180, 245, 0.045);
    line-height: 1.5;
}

.admin-notice--security {
    border-color: rgba(154, 76, 255, 0.25);
    background: rgba(154, 76, 255, 0.05);
}

.admin-notice--warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.055);
}

.admin-form-stack,
.admin-catalog-form {
    display: grid;
    gap: 0.95rem;
    margin: 0;
}

.admin-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0;
    color: var(--pc-text-soft, #dce7f2);
    font-weight: 650;
}

.admin-checkbox input {
    flex: 0 0 auto;
    width: auto;
    margin: 0.35rem 0 0;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    padding-block-start: 0.85rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.1);
}

.admin-form-actions .button {
    margin-block-start: 0;
}

.admin-empty-state {
    padding: 1rem;
    border: 1px dashed rgba(123, 171, 216, 0.18);
    border-radius: var(--pc-radius-lg, 0.9rem);
    background: rgba(4, 9, 16, 0.3);
}

.admin-empty-state p {
    margin: 0;
    color: var(--pc-muted, #a9b8c8);
}

.admin-form-section {
    display: grid;
    gap: 0.9rem;
}

.admin-form-section__heading h2 {
    margin: 0;
    font-size: 1.02rem;
}

.admin-form-section__heading p {
    margin: 0.4rem 0 0;
    color: var(--pc-muted, #a9b8c8);
    line-height: 1.55;
}

.admin-form-section--notice {
    border-style: dashed;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.admin-specification-groups {
    display: grid;
    gap: 0.8rem;
}

.admin-specification-group {
    min-width: 0;
    margin: 0;
    padding: 0.9rem;
    border: 1px solid rgba(123, 171, 216, 0.11);
    border-radius: var(--pc-radius-sm, 0.55rem);
    background: rgba(4, 9, 16, 0.3);
}

.admin-specification-group > legend {
    padding-inline: 0.35rem;
    color: #fff;
    font-weight: 760;
}

.admin-field--choice-list {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
    border: 0;
}

.admin-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 0.45rem;
}

.admin-choice-grid .admin-checkbox {
    padding: 0.55rem 0.6rem;
    border: 1px solid rgba(123, 171, 216, 0.09);
    border-radius: var(--pc-radius-sm, 0.55rem);
    background: rgba(7, 12, 20, 0.42);
}

.admin-form-error {
    padding: 0.58rem 0.68rem;
    border: 1px solid rgba(239, 68, 68, 0.32);
    border-radius: var(--pc-radius-sm, 0.55rem);
    color: #ffd7d7;
    background: rgba(239, 68, 68, 0.055);
    font-size: 0.86rem;
    line-height: 1.45;
}

@media (max-width: 58rem) {
    .admin-filter-form--components {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filter-form--components .admin-filter-form__actions {
        grid-column: 1 / -1;
    }

    .admin-fact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 46rem) {
    .admin-dashboard-grid,
    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-workbench__header,
    .admin-page-header {
        flex-direction: column;
    }

    .admin-workbench__account-link,
    .admin-page-header--actions > .button {
        width: 100%;
    }

    .admin-filter-form,
    .admin-filter-form--components {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-filter-form--components .admin-filter-form__actions {
        grid-column: auto;
    }

    .admin-filter-form__submit,
    .admin-filter-form__actions .button {
        width: 100%;
    }

    .admin-filter-form__actions {
        display: grid;
    }

    .admin-section-nav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .admin-section-nav__item {
        width: 100%;
    }

    .admin-catalog-pagination {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }
}

/* PCSpecs reporting workflow */
.reporting-page {
    width: 100%;
}

.reporting-page__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}

.reporting-page__header h1 {
    margin: 0;
}

.reporting-page__header p {
    max-width: 48rem;
    margin: 0.45rem 0 0;
    color: var(--pc-muted);
}

.report-list {
    display: grid;
    gap: 0.9rem;
}

.report-card,
.report-form-panel,
.report-detail,
.reporting-empty {
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background:
        linear-gradient(145deg, rgba(18, 27, 43, 0.92), rgba(9, 14, 24, 0.96));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.report-card {
    padding: 1.05rem 1.1rem;
}

.report-card h2 {
    margin: 0.7rem 0 0.8rem;
    font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.report-card h2 a {
    color: var(--pc-text);
    text-decoration: none;
}

.report-card h2 a:hover {
    color: var(--pc-cyan-soft);
}

.report-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.report-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    padding: 0.22rem 0.55rem;
    border: 1px solid var(--pc-line-strong);
    border-radius: 999px;
    background: rgba(11, 180, 245, 0.07);
    color: var(--pc-text-soft);
    font-size: 0.74rem;
    font-weight: 750;
}

.report-chip--category {
    border-color: rgba(85, 217, 243, 0.24);
}

.report-chip--status-open {
    color: var(--pc-cyan-soft);
}

.report-chip--status-in_review {
    border-color: rgba(255, 191, 99, 0.38);
    color: var(--pc-warning);
}

.report-chip--status-accepted,
.report-chip--status-fixed {
    border-color: rgba(84, 215, 160, 0.38);
    color: var(--pc-success);
}

.report-chip--status-rejected {
    border-color: rgba(255, 112, 134, 0.28);
    color: #ff9cac;
}

.report-chip--status-merged {
    border-color: rgba(157, 46, 217, 0.42);
    color: #d8a0f6;
}

.report-card__facts,
.report-detail__facts {
    display: grid;
    gap: 0.7rem 1rem;
    margin: 0 0 1rem;
}

.report-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.report-card__facts div,
.report-detail__facts div {
    min-width: 0;
}

.report-card__facts dt,
.report-detail__facts dt {
    margin-block-end: 0.16rem;
    color: var(--pc-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.report-card__facts dd,
.report-detail__facts dd {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--pc-text-soft);
}

.reporting-empty {
    padding: 1.35rem;
    text-align: center;
}

.reporting-empty h2 {
    margin: 0;
}

.reporting-empty p {
    color: var(--pc-muted);
}

.report-form-panel,
.report-detail {
    padding: clamp(1rem, 2.5vw, 1.4rem);
}

.report-form {
    display: grid;
    gap: 1rem;
}

/* Shared short/long form field pair; inventory: docs/UI_STYLE_PRIMITIVES.md */
.form-field-pair {
    display: grid;
    grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
    gap: 1rem;
    align-items: start;
}

.form-field-pair > * {
    min-width: 0;
}

@media (max-width: 46rem) {
    .form-field-pair {
        grid-template-columns: 1fr;
    }
}
.report-field {
    display: grid;
    gap: 0.35rem;
}

.report-field label {
    color: var(--pc-text-soft);
    font-weight: 750;
}

.report-field input,
.report-field select,
.report-field textarea {
    width: 100%;
}

.report-field textarea {
    resize: vertical;
}

.report-field__hint {
    margin: 0;
    color: var(--pc-muted);
    font-size: 0.84rem;
}

.report-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.report-merged-notice {
    margin-block-end: 1rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(157, 46, 217, 0.34);
    border-radius: var(--pc-radius-sm);
    background: rgba(157, 46, 217, 0.08);
    color: var(--pc-text-soft);
}

.report-detail + .report-detail {
    margin-block-start: 0.9rem;
}

.report-detail h2 {
    margin-block-start: 0;
}

.report-description {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--pc-text-soft);
}

.report-detail__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.report-detail__fact--full {
    grid-column: 1 / -1;
}

.reporting-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-block-start: 1rem;
    color: var(--pc-muted);
    font-size: 0.86rem;
}

.reporting-pagination a,
.reporting-pagination span {
    padding: 0.42rem 0.6rem;
    border-radius: var(--pc-radius-sm);
}

.reporting-pagination a {
    border: 1px solid var(--pc-line);
    text-decoration: none;
}

.reporting-pagination [aria-disabled="true"] {
    opacity: 0.55;
}

@media (max-width: 46rem) {
    .reporting-page__header {
        flex-direction: column;
    }

    .report-card__facts,
    .report-detail__facts {
        grid-template-columns: 1fr;
    }

    .report-detail__fact--full {
        grid-column: auto;
    }
}

/* PCSpecs reporting community verification */
.reporting-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

/* Shared informational note; inventory: docs/UI_STYLE_PRIMITIVES.md */
.ui-note {
    margin-block-end: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius-sm);
    background: rgba(11, 180, 245, 0.055);
    color: var(--pc-text-soft);
}

.ui-note > :last-child {
    margin-block-end: 0;
}

.ui-note--accent {
    border-inline-start: 3px solid var(--pc-cyan);
}

.ui-note--purple {
    border-inline-start: 3px solid var(--pc-purple);
    background: rgba(157, 46, 217, 0.07);
}

.report-chip--verified {
    border-color: rgba(84, 215, 160, 0.38);
    color: var(--pc-success);
}

.report-chip--own {
    border-color: rgba(157, 46, 217, 0.38);
    color: #d8a0f6;
}

.report-verification-panel {
    margin-block-start: 1rem;
}

.report-verification-panel p {
    margin-block-start: 0;
}

.report-verification-state {
    margin: 0;
    color: var(--pc-muted);
    font-weight: 700;
}

.report-verification-state--verified {
    color: var(--pc-success);
}

@media (max-width: 46rem) {
    .reporting-page__actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* PCSpecs changelog and report resolution */
.changelog-page { width: 100%; }

.changelog-page__header,
.changelog-release-card__meta,
.changelog-entry__heading {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    justify-content: space-between;
}

.changelog-page__header h1,
.changelog-entry__heading h3 { margin: 0; }

.changelog-page__header p { color: var(--pc-muted); }

.changelog-release-list,
.changelog-entries { display: grid; gap: 0.9rem; }

.changelog-release-card,
.changelog-summary,
.changelog-entry,
.changelog-empty {
    padding: 1rem 1.1rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius);
    background: linear-gradient(145deg, rgba(18, 27, 43, 0.92), rgba(9, 14, 24, 0.96));
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.changelog-version {
    color: var(--pc-cyan-soft);
    font-weight: 800;
    letter-spacing: 0.03em;
}

.changelog-release-card__meta {
    color: var(--pc-muted);
    font-size: 0.82rem;
}

.changelog-release-card h2 { margin: 0.7rem 0 0.5rem; }
.changelog-release-card h2 a { color: var(--pc-text); text-decoration: none; }

.changelog-entry-preview {
    margin: 0.8rem 0 1rem;
    padding-inline-start: 1.2rem;
    color: var(--pc-text-soft);
}

.changelog-entry-type {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.18rem 0.5rem;
    border: 1px solid var(--pc-line-strong);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.changelog-entry-type--added { color: var(--pc-success); border-color: rgba(84, 215, 160, 0.38); }
.changelog-entry-type--changed { color: var(--pc-cyan-soft); border-color: rgba(85, 217, 243, 0.34); }
.changelog-entry-type--fixed { color: #d8a0f6; border-color: rgba(157, 46, 217, 0.42); }

.changelog-entry__heading {
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.changelog-entry__description {
    margin-top: 0.65rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--pc-text-soft);
}

.report-fixed-notice {
    margin-block-end: 1rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(84, 215, 160, 0.34);
    border-radius: var(--pc-radius-sm);
    background: rgba(84, 215, 160, 0.07);
    color: var(--pc-text-soft);
}

.report-fixed-notice a { font-weight: 800; }

@media (max-width: 46rem) {
    .changelog-page__header,
    .changelog-release-card__meta { flex-direction: column; }
}

/*
 * PCSpecs STEP 2E: unified form focus and report-language radios
 *
 * Klassische Text-/Select-/Textarea-Felder erhalten genau EINEN
 * gemeinsamen Fokuszustand. Der globale :focus-visible-Outline wird
 * für diese Felder nicht zusätzlich über den vorhandenen Cyan-Ring gelegt.
 */
input:not([type="radio"]):not([type="checkbox"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
}

.report-language-radio-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 1.6rem;
    margin-block-start: 0.55rem;
}

.report-language-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 0.52rem;
    margin: 0;
    color: var(--pc-text-soft);
    cursor: pointer;
    font-weight: 650;
    line-height: 1.35;
}

.report-language-radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.08rem;
    height: 1.08rem;
    flex: 0 0 1.08rem;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(118, 157, 202, 0.68);
    border-radius: 50%;
    background: rgba(4, 8, 15, 0.82);
    box-shadow: none;
    cursor: pointer;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease;
}

.report-language-radio-option:hover input[type="radio"] {
    border-color: rgba(85, 217, 243, 0.82);
}

.report-language-radio-option input[type="radio"]:checked {
    border-color: var(--pc-cyan);
    background:
        radial-gradient(
            circle at center,
            var(--pc-cyan) 0 31%,
            transparent 35%
        ),
        rgba(4, 8, 15, 0.82);
}

.report-language-radio-option input[type="radio"]:focus {
    border-color: var(--pc-cyan);
    box-shadow: none;
}

.report-language-radio-option input[type="radio"]:focus-visible {
    outline: 2px solid var(--pc-cyan);
    outline-offset: 3px;
}

.report-language-radio-option input[type="radio"]:checked + span {
    color: var(--pc-text);
}

/*
 * PCSpecs reporting editor, attachments and unified control dimensions.
 * One explicit browser-independent sizing contract for text inputs, selects
 * and header controls. Native select chrome is normalized so the visible
 * box does not drift between Windows/Linux/browser engines.
 */

:root {
    --pc-form-control-height: 3.05rem;
    --pc-header-control-height: 2.70rem;
    --pc-editor-control-height: 2.75rem;
}

.form-field-pair input[type="text"],
.form-field-pair input[type="email"],
.form-field-pair input[type="url"],
.form-field-pair input[type="number"],
.form-field-pair input[type="tel"],
.form-field-pair select {
    box-sizing: border-box;
    height: var(--pc-form-control-height);
    min-height: var(--pc-form-control-height);
    padding-block: 0;
    line-height: 1.2;
}

.hardware-profile-editor input:not([type="checkbox"]):not([type="file"]),
.hardware-profile-editor select {
    box-sizing: border-box;
    height: var(--pc-editor-control-height);
    min-height: var(--pc-editor-control-height);
    padding-block: 0;
    line-height: 1.2;
}

.form-field-pair select,
.hardware-profile-editor select,
.locale-switcher select {
    appearance: none;
    -webkit-appearance: none;
    padding-inline-end: 2.35rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c5d1e4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.82rem center;
    background-size: 0.78rem auto;
}

[dir="rtl"] .form-field-pair select,
[dir="rtl"] .hardware-profile-editor select,
[dir="rtl"] .locale-switcher select {
    padding-inline: 2.35rem 0.82rem;
    background-position: left 0.82rem center;
}

select,
select option,
select optgroup {
    font-weight: 400;
}

.locale-switcher select,
.locale-switcher .button--quiet,
.header-logout .button--quiet {
    box-sizing: border-box;
    height: var(--pc-header-control-height);
    min-height: var(--pc-header-control-height);
    margin-block: 0;
    line-height: 1;
}

.locale-switcher select {
    padding-block: 0;
    background-color: rgba(13, 22, 37, 0.82);
    border-color: var(--pc-line-strong);
}

.report-editor-shell {
    margin-block-start: 0.4rem;
    border: 1px solid rgba(118, 157, 202, 0.35);
    border-radius: var(--pc-radius-sm);
    background: rgba(4, 8, 15, 0.72);
    overflow: hidden;
    transition:
        border-color 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease;
}

.report-editor-shell:focus-within {
    border-color: var(--pc-cyan);
    box-shadow:
        0 0 0 3px
        rgba(11, 180, 245, 0.12);
    background: rgba(6, 11, 20, 0.94);
}

.report-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem;
    border-block-end: 1px solid var(--pc-line);
    background: rgba(18, 27, 43, 0.92);
}

.report-editor-toolbar button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    min-width: 2.35rem;
    height: 2.2rem;
    min-height: 2.2rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(118, 157, 202, 0.32);
    border-radius: 0.42rem;
    background: rgba(5, 10, 18, 0.82);
    box-shadow: none;
    color: var(--pc-text-soft);
    transform: none;
}

.report-editor-toolbar button:hover {
    border-color: rgba(85, 217, 243, 0.62);
    background: rgba(13, 28, 45, 0.92);
    box-shadow: none;
    transform: none;
}

.report-editor-toolbar button.is-active {
    border-color: var(--pc-cyan);
    background: rgba(11, 180, 245, 0.14);
    color: #fff;
}

.report-editor-toolbar-separator {
    width: 1px;
    height: 1.65rem;
    margin-inline: 0.15rem;
    background: var(--pc-line-strong);
}

.report-editor-surface {
    max-height: 30rem;
    overflow: auto;
    overscroll-behavior: contain;
}

.report-rich-text-editor {
    min-height: 14rem;
    padding: 0.9rem 1rem;
    outline: none;
    overflow-wrap: anywhere;
    color: var(--pc-text);
    line-height: 1.6;
}

.report-rich-text-editor > :first-child {
    margin-block-start: 0;
}

.report-rich-text-editor > :last-child {
    margin-block-end: 0;
}

.report-rich-text-editor p {
    margin-block: 0 1rem;
}

.report-rich-text-editor ul,
.report-rich-text-editor ol {
    margin-block: 0 1rem;
    padding-inline-start: 1.6rem;
}

.report-rich-text-editor blockquote {
    margin: 1rem 0;
    padding: 0.45rem 0.85rem;
    border-inline-start: 3px solid var(--pc-cyan);
    background: rgba(11, 180, 245, 0.055);
    color: var(--pc-text-soft);
}

.report-file-input {
    height: auto;
    min-height: 0;
    padding: 0.6rem;
    cursor: pointer;
}

.report-file-input::file-selector-button {
    margin-inline-end: 0.8rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--pc-line-strong);
    border-radius: 0.45rem;
    background: rgba(13, 22, 37, 0.9);
    color: var(--pc-text-soft);
    cursor: pointer;
    font: inherit;
    font-weight: 650;
}

.report-file-input::file-selector-button:hover {
    border-color: rgba(85, 217, 243, 0.72);
    color: #fff;
}

.report-attachment-preview {
    margin-block-start: 0.9rem;
}

.report-attachment-preview-list,
.report-attachments-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(min(100%, 12rem), 1fr)
        );
    gap: 0.8rem;
    margin-block-start: 0.65rem;
}

.report-attachment-preview-item,
.report-attachment-card {
    min-width: 0;
    margin: 0;
    padding: 0.55rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius-sm);
    background: rgba(5, 10, 18, 0.62);
}

.report-attachment-preview-item img,
.report-attachment-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 0.4rem;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.25);
}

.report-attachment-preview-item figcaption,
.report-attachment-card figcaption {
    margin-block-start: 0.45rem;
    color: var(--pc-muted);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.report-attachments-panel {
    margin-block-start: 1.5rem;
}

.report-attachments-panel h2 {
    margin-block-start: 0;
}

@media (max-width: 700px) {
    .report-editor-toolbar {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .report-editor-toolbar button,
    .report-editor-toolbar-separator {
        flex: 0 0 auto;
    }

    .report-rich-text-editor {
        min-height: 11rem;
    }
}

/* Shared mouse, keyboard and touch help popovers */
.field-label-help {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.field-label-help > label {
    margin: 0;
}

.field-help {
    position: relative;
    z-index: 40;
    display: inline-flex;
    align-items: center;
}

.field-help__trigger {
    width: 1.18rem;
    min-height: 1.18rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(85, 217, 243, 0.38);
    border-radius: 999px;
    background: rgba(11, 180, 245, 0.07);
    box-shadow: none;
    color: var(--pc-cyan-soft);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    cursor: help;
    transform: none;
}

.field-help__trigger:hover,
.field-help__trigger:focus-visible {
    border-color: rgba(85, 217, 243, 0.72);
    background: rgba(11, 180, 245, 0.12);
    box-shadow: none;
    color: #fff;
    transform: none;
}

.field-help__panel {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: min(19rem, calc(100vw - 2rem));
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(103, 215, 255, 0.34);
    border-radius: 0.8rem;
    background:
        linear-gradient(
            145deg,
            rgba(9, 15, 24, 0.99),
            rgba(13, 20, 31, 0.99)
        );
    box-shadow:
        0 1.35rem 3.2rem rgba(0, 0, 0, 0.58),
        0 0 1.6rem rgba(0, 0, 0, 0.44),
        0 0 1rem rgba(11, 180, 245, 0.10);
    color: #c7d1dc;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.3rem);
    transition:
        opacity 140ms ease,
        transform 160ms ease,
        visibility 140ms ease;
}

.field-help__panel::before {
    position: absolute;
    z-index: -1;
    left: var(--field-help-arrow-offset, 50%);
    width: 0.95rem;
    height: 0.95rem;
    content: "";
    background:
        linear-gradient(
            145deg,
            rgba(9, 15, 24, 0.99),
            rgba(13, 20, 31, 0.99)
        );
    pointer-events: none;
}

.field-help[data-help-popover-placement="top"]
.field-help__panel::before {
    top: 100%;
    border-inline-end: 1px solid rgba(103, 215, 255, 0.34);
    border-block-end: 1px solid rgba(103, 215, 255, 0.34);
    box-shadow: 0.45rem 0.6rem 1rem rgba(0, 0, 0, 0.32);
    transform: translate(-50%, -0.5rem) rotate(45deg);
}

.field-help[data-help-popover-placement="bottom"]
.field-help__panel::before {
    bottom: 100%;
    border-inline-start: 1px solid rgba(103, 215, 255, 0.34);
    border-block-start: 1px solid rgba(103, 215, 255, 0.34);
    box-shadow: -0.45rem -0.6rem 1rem rgba(0, 0, 0, 0.24);
    transform: translate(-50%, 0.5rem) rotate(45deg);
}

.field-help__panel > span {
    display: block;
}

.field-help__panel > span + span {
    margin-block-start: 0.3rem;
}

.field-help__panel strong {
    color: #f3f8ff;
    font-weight: 750;
}

.field-help[data-help-popover-placement="bottom"]
.field-help__panel {
    transform: translateY(-0.3rem);
}

.field-help[data-help-popover-open="true"] .field-help__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/*
 * Glossary terms use the same interaction contract.
 * The trigger is now a button because navigation lives inside the popover.
 */
.hardware-term__trigger {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    font: inherit;
    cursor: help;
    transform: none;
}

.hardware-term__trigger:hover,
.hardware-term__trigger:focus-visible {
    border: 0;
    background: none;
    box-shadow: none;
    color: #8fe6ff;
    transform: none;
}

.hardware-term[data-help-popover-open="true"]
.hardware-term__tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Hardwareimport: nicht blockierende Kataloganreicherung */
.hardware-import-enrichment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin: 0.85rem 0 0;
}

.hardware-import-enrichment small {
    opacity: 0.72;
}

.hardware-import-enrichment__spinner {
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: hardware-import-enrichment-spin 0.8s linear infinite;
}

@keyframes hardware-import-enrichment-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hardware-import-enrichment__spinner {
        animation: none;
        border-top-color: currentColor;
        opacity: 0.6;
    }
}

/* Hardwareimport V4.1.3: Mengenangabe nur bei Mehrfachbestückung */
.product-component-facts--identity {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.product-component-facts--identity > div {
    flex: 1 1 0;
    min-width: 0;
}

.product-component-facts--identity > .product-component-facts__quantity {
    flex: 0 0 auto;
    min-width: 3.25rem;
}

.product-component-facts--identity > .product-component-facts__model {
    flex-grow: 1.35;
}

.product-component-facts__quantity dd {
    font-weight: 700;
    white-space: nowrap;
}

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

.product-component-facts--details {
    margin-top: 0;
}

/* P7 V4.5: kompakte Experten-/Tuningdarstellung */
.hardware-expert-details {
    margin-top: 0.9rem;
    border-top: 1px solid var(--border, rgba(148, 163, 184, 0.18));
    padding-top: 0.75rem;
}

.hardware-expert-details > summary {
    cursor: pointer;
    font-weight: 700;
}

.hardware-expert-details > .product-component-facts {
    margin-top: 0.65rem;
}

.public-system-view-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0 0 1rem;
}

.public-system-view-mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.public-system-view-mode label {
    cursor: pointer;
}

.public-system-page:has(#system-view-standard:checked) .public-system-expert {
    display: none;
}

.public-system-page:has(#system-view-expert:checked) .public-system-expert {
    display: block;
}

.public-system-page:has(#system-view-standard:checked) label[for="system-view-standard"],
.public-system-page:has(#system-view-expert:checked) label[for="system-view-expert"] {
    font-weight: 700;
}

/* P7 V4.5.3: Standard-/Expertenmodus direkt in der Hardwareanalyse */
.hardware-import-view-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0 0 1rem;
}

.hardware-import-view-mode input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.hardware-import-view-mode input:focus-visible + label {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.hardware-import-analysis .hardware-import-expert-only {
    display: none;
}

.hardware-import-analysis:has(#hardware-import-view-expert:checked) .hardware-import-expert-only {
    display: block;
}

.hardware-import-analysis:has(#hardware-import-view-standard:checked) label[for="hardware-import-view-standard"],
.hardware-import-analysis:has(#hardware-import-view-expert:checked) label[for="hardware-import-view-expert"] {
    font-weight: 700;
}

.hardware-import-expert-only {
    margin-top: 0.9rem;
    border-top: 1px solid var(--border, rgba(148, 163, 184, 0.18));
    padding-top: 0.75rem;
}

.hardware-import-expert-only > h4 {
    margin: 0 0 0.65rem;
}

/* P7 V4.5.5: kompakte Hardwareimport-Analyse */

/*
 * Importkarten dürfen in einer zweispaltigen Grid-Zeile nicht auf die Höhe
 * der informationsreicheren Nachbarkarte gestreckt werden.
 */
.hardware-import-analysis .product-component-grid {
    align-items: start;
    gap: 0.72rem;
}

.hardware-import-analysis .product-component-card {
    align-self: start;
    min-block-size: 0;
    padding: 0.82rem 0.92rem;
    border-radius: 0.82rem;
}

.hardware-import-analysis .product-component-card__header {
    min-block-size: 0;
    margin: 0;
    padding-block-end: 0.5rem;
}

.hardware-import-analysis .product-component-card__header h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}

.hardware-import-analysis .product-component-facts {
    margin: 0;
}

.hardware-import-analysis .product-component-facts > div {
    min-block-size: 0;
    padding-block: 0.5rem;
}

.hardware-import-analysis .product-component-facts dt {
    margin-block-end: 0.08rem;
    font-size: 0.72rem;
    line-height: 1.2;
}

.hardware-import-analysis .product-component-facts dd {
    margin: 0;
    line-height: 1.35;
}

.hardware-import-analysis .product-component-facts--identity > div {
    padding-block: 0.48rem;
}

.hardware-import-analysis .product-component-facts--details {
    margin-block-start: 0;
}

.hardware-import-analysis .hardware-import-expert-only {
    margin-block-start: 0.62rem;
    padding-block-start: 0.55rem;
}

.hardware-import-analysis .hardware-import-expert-only > h4 {
    margin-block-end: 0.45rem;
    font-size: 0.92rem;
}

/* Ansichtsschalter kompakter und mit klarer Aktivmarkierung. */
.hardware-import-view-mode {
    gap: 0.5rem;
    margin-block: 0 0.75rem;
}

.hardware-import-view-mode label {
    display: inline-flex;
    min-height: 2.42rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.46rem 0.78rem;
    cursor: pointer;
    transition:
        color 140ms ease,
        border-color 140ms ease,
        background 140ms ease,
        box-shadow 140ms ease,
        opacity 140ms ease;
}

.hardware-import-view-mode label::before {
    width: 0.42rem;
    height: 0.42rem;
    flex: 0 0 auto;
    border: 1px solid rgba(143, 158, 179, 0.7);
    border-radius: 50%;
    content: "";
    background: transparent;
}

.hardware-import-view-mode input:not(:checked) + label {
    color: var(--pc-text-soft);
    border-color: var(--pc-line-strong);
    background: rgba(13, 20, 33, 0.72);
    box-shadow: none;
    opacity: 0.78;
}

.hardware-import-view-mode input:not(:checked) + label:hover {
    color: #fff;
    border-color: rgba(85, 217, 243, 0.56);
    background: rgba(18, 36, 55, 0.9);
    opacity: 1;
}

.hardware-import-view-mode input:checked + label {
    color: #fff;
    border-color: var(--pc-cyan);
    background:
        linear-gradient(
            135deg,
            rgba(2, 118, 240, 0.36),
            rgba(11, 180, 245, 0.18)
        );
    box-shadow:
        inset 0 0 0 1px rgba(85, 217, 243, 0.12),
        0 0 1rem rgba(11, 180, 245, 0.12);
    opacity: 1;
}

.hardware-import-view-mode input:checked + label::before {
    border-color: var(--pc-cyan-soft);
    background: var(--pc-cyan);
    box-shadow: 0 0 0.55rem rgba(11, 180, 245, 0.55);
}

@media (max-width: 44rem) {
    .hardware-import-analysis .product-component-card {
        padding: 0.75rem 0.82rem;
    }

    .hardware-import-analysis .product-component-grid {
        gap: 0.62rem;
    }
}

/* P7 V4.5.6: horizontale Faktenstreifen */

/*
 * V4.5.5 reduzierte die Höhe über unterschiedlich hohe Kacheln.
 * V4.5.6 stellt die optische Zeilenbalance wieder her und reduziert
 * die benötigte Höhe stattdessen durch mehr Informationen PRO Zeile.
 */
.hardware-import-analysis .product-component-grid {
    align-items: stretch;
    gap: 0.62rem;
}

.hardware-import-analysis .product-component-card {
    align-self: stretch;
    min-block-size: 0;
    height: 100%;
    padding: 0.68rem 0.78rem;
}

.hardware-import-analysis .product-component-card__header {
    padding-block-end: 0.38rem;
}

.hardware-import-analysis .product-component-facts--identity > div {
    padding-block: 0.36rem;
}

/*
 * Technische Fakten werden nicht mehr starr in zwei Spalten gelegt.
 * Flex-Basis 5.75rem ermöglicht auf einer normalen Desktop-Halbkachel
 * typischerweise vier bis sechs Werte in derselben Zeile.
 */
.hardware-import-analysis .hardware-import-fact-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-block-start: 1px solid rgba(123, 171, 216, 0.14);
}

.hardware-import-analysis .hardware-import-fact-strip > div {
    min-width: 0;
    min-block-size: 0;
    flex: 1 1 5.75rem;
    padding: 0.36rem 0.46rem;
    border-block-start: 0;
    border-inline-start: 1px solid rgba(123, 171, 216, 0.10);
}

.hardware-import-analysis .hardware-import-fact-strip > div:first-child {
    border-inline-start: 0;
}

.hardware-import-analysis .hardware-import-fact-strip dt {
    margin-block-end: 0.04rem;
    font-size: 0.68rem;
    line-height: 1.15;
    white-space: normal;
}

.hardware-import-analysis .hardware-import-fact-strip dd {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.24;
}

.hardware-import-analysis .hardware-import-fact-strip__timings {
    flex-basis: 12rem;
    flex-grow: 1.65;
}

.hardware-import-analysis .hardware-import-expert-only {
    margin-block-start: 0.42rem;
    padding-block-start: 0.4rem;
}

.hardware-import-analysis .hardware-import-expert-only > h4 {
    margin-block-end: 0.28rem;
    font-size: 0.86rem;
}

.hardware-import-analysis .hardware-import-expert-notice {
    margin: -0.15rem 0 0.58rem;
    padding: 0.42rem 0.58rem;
    border-inline-start: 2px solid rgba(11, 180, 245, 0.48);
    font-size: 0.78rem;
    line-height: 1.4;
}

/* CPU/RAM-Konfigurationswerte sollen möglichst in einer technischen Zeile bleiben. */
.hardware-import-analysis .hardware-import-fact-strip--expert > div {
    flex-basis: 5.5rem;
}

/* Mobile bleibt lesbar statt zwanghaft horizontal. */
@media (max-width: 44rem) {
    .hardware-import-analysis .hardware-import-fact-strip > div,
    .hardware-import-analysis .hardware-import-fact-strip--expert > div {
        flex-basis: 8.5rem;
    }

    .hardware-import-analysis .hardware-import-fact-strip__timings {
        flex-basis: 100%;
    }
}

/* P7 V4.6.0: RAID-/Storage-Verwaltung */
.storage-capacity-input {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6rem;
    gap: 0.55rem;
}

.storage-array-existing-grid {
    display: grid;
    gap: 0.55rem;
    margin-block: 0.8rem 1rem;
}

.storage-array-existing-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5.5rem auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.62rem 0.72rem;
    border: 1px solid var(--pc-line);
    border-radius: 0.7rem;
    background: rgba(11, 18, 30, 0.55);
}

.storage-array-member-list {
    display: grid;
    gap: 0.3rem;
    margin: 0.65rem 0 0;
    padding-inline-start: 1.15rem;
}

@media (max-width: 44rem) {
    .storage-array-existing-item {
        grid-template-columns: 1fr 5rem;
    }

    .storage-array-existing-item small {
        grid-column: 1 / -1;
    }
}

/* P7 V4.6.7: Manufacturer source administration form */
.hardware-source-create-form {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.hardware-source-create-form__primary {
    display: grid;
    grid-template-columns: minmax(12rem, 1.4fr) minmax(9rem, 0.7fr) minmax(9rem, 0.7fr);
    gap: 1rem 1.25rem;
    align-items: start;
}

.hardware-source-create-form .admin-field {
    min-width: 0;
}

.hardware-source-create-form .admin-field > label {
    display: block;
    margin-bottom: 0.4rem;
}

.hardware-source-create-form .admin-field > input,
.hardware-source-create-form .admin-field > select {
    width: 100%;
    min-width: 0;
}

.hardware-source-create-form__url {
    grid-column: 1 / span 2;
}

.hardware-source-create-form__path {
    grid-column: 3;
}

.hardware-source-field-help,
.hardware-source-field-error {
    margin: 0.45rem 0 0;
}

.hardware-source-field-error {
    color: var(--danger, #ff8c8c);
}

.hardware-source-binding {
    min-width: 0;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--panel-border, rgba(100, 160, 210, 0.22));
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.015);
}

.hardware-source-binding > legend {
    padding: 0 0.35rem;
    font-weight: 700;
}

.hardware-source-binding__help {
    max-width: 70rem;
    margin: 0 0 1rem;
}

.hardware-source-binding__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.hardware-source-create-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-top: 0.15rem;
}

.hardware-source-usage-confirmation {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    max-width: 58rem;
    line-height: 1.45;
}

.hardware-source-usage-confirmation input {
    margin-top: 0.22rem;
}

.hardware-source-create-form__submit {
    flex: 0 0 auto;
    min-width: 10rem;
}

@media (max-width: 1050px) {
    .hardware-source-create-form__primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hardware-source-create-form__manufacturer,
    .hardware-source-create-form__url {
        grid-column: 1 / -1;
    }

    .hardware-source-create-form__path {
        grid-column: auto;
    }

    .hardware-source-binding__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .hardware-source-create-form__primary,
    .hardware-source-binding__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hardware-source-create-form__manufacturer,
    .hardware-source-create-form__url,
    .hardware-source-create-form__path {
        grid-column: 1;
    }

    .hardware-source-create-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .hardware-source-create-form__submit {
        width: 100%;
    }
}
/* /P7 V4.6.7 */

/* P7 V4.6.8: Manufacturer source list header spacing */
.hardware-source-list-panel__header {
    padding: 1.25rem 1.25rem 1rem;
}

.hardware-source-list-panel__header > h2 {
    margin-top: 0;
}

.hardware-source-list-panel__header > :last-child {
    margin-bottom: 0;
}

.hardware-source-list-panel .admin-table-wrap {
    margin-top: 0;
}
/* /P7 V4.6.8 */

/* --------------------------------------------------------------------------
 * Public System Profile V1 – sysProfile-inspired information architecture
 * ----------------------------------------------------------------------- */

.public-system-shell {
    width: min(100%, 82rem);
}

.public-system-profile {
    display: grid;
    gap: clamp(1.15rem, 2.4vw, 1.9rem);
}

.public-system-profile__hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.45fr);
    gap: clamp(1.25rem, 3vw, 2.6rem);
    padding: clamp(1.35rem, 3.6vw, 2.6rem);
    border: 1px solid rgba(85, 217, 243, 0.18);
    border-radius: var(--pc-radius-lg);
    background:
        radial-gradient(circle at 86% 8%, rgba(11, 180, 245, 0.16), transparent 24rem),
        radial-gradient(circle at 8% 115%, rgba(157, 46, 217, 0.13), transparent 25rem),
        linear-gradient(145deg, rgba(17, 27, 43, 0.98), rgba(6, 10, 18, 0.98));
    box-shadow: var(--pc-shadow);
}

.public-system-profile__hero::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(90deg, transparent 0 82%, rgba(11, 180, 245, 0.08) 82% 82.15%, transparent 82.15%),
        linear-gradient(0deg, transparent 0 71%, rgba(157, 46, 217, 0.08) 71% 71.15%, transparent 71.15%);
}

.public-system-profile__hero-main,
.public-system-profile__powered-by {
    position: relative;
    z-index: 1;
}

.public-system-profile__eyebrow,
.public-system-profile__section-kicker {
    margin: 0 0 0.35rem;
    color: var(--pc-cyan-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.public-system-profile__hero h1 {
    margin: 0;
    font-size: clamp(2.15rem, 5vw, 4rem);
}

.public-system-profile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    margin-block-start: 0.75rem;
    color: var(--pc-muted);
    font-size: 0.9rem;
}

.public-system-profile__meta a {
    color: var(--pc-text-soft);
    text-decoration: none;
}

.public-system-profile__meta a:hover {
    color: #fff;
}

.public-system-profile__username {
    color: var(--pc-muted);
    font-weight: 500;
}

.public-system-profile__headline-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.public-system-profile__headline-specs li {
    min-width: 0;
    padding: 0.52rem 0.72rem;
    border: 1px solid rgba(85, 217, 243, 0.16);
    border-radius: 999px;
    background: rgba(4, 10, 18, 0.5);
    color: var(--pc-text-soft);
    font-size: 0.88rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.public-system-profile__powered-by {
    align-self: center;
    min-width: 0;
    padding: 1rem;
    border: 1px solid rgba(123, 171, 216, 0.13);
    border-radius: var(--pc-radius);
    background: rgba(3, 7, 14, 0.38);
}

.public-system-profile__powered-by-label {
    display: block;
    margin-block-end: 0.8rem;
    color: var(--pc-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.public-system-profile__brand-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.9rem;
}

.public-system-profile__brand {
    min-width: 0;
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.45rem 0.65rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    background: transparent;
    box-shadow: none;
    color: var(--pc-text-soft);
    cursor: pointer;
    transform: none;
}

.public-system-profile__brand:hover,
.public-system-profile__brand:focus-visible,
.public-system-profile__brand[data-active="true"] {
    border-color: rgba(85, 217, 243, 0.22);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
    transform: translateY(-1px);
}

.public-system-profile__brand img {
    width: auto;
    max-width: 8.6rem;
    height: 1.7rem;
    object-fit: contain;
    filter: grayscale(1) saturate(0) brightness(0) invert(0.72);
    opacity: 0.66;
    transition:
        filter 160ms ease,
        opacity 160ms ease,
        transform 160ms ease;
}

.public-system-profile__brand:hover img,
.public-system-profile__brand:focus-visible img,
.public-system-profile__brand[data-active="true"] img {
    filter: none;
    opacity: 1;
}

.public-system-profile__brand > span {
    color: var(--pc-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.public-system-profile__brand:hover > span,
.public-system-profile__brand:focus-visible > span,
.public-system-profile__brand[data-active="true"] > span {
    color: #07101c;
}

.public-system-profile__section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.55rem;
    border: 1px solid rgba(123, 171, 216, 0.13);
    border-radius: var(--pc-radius);
    background: rgba(7, 12, 20, 0.72);
}

.public-system-profile__section-nav a {
    padding: 0.48rem 0.72rem;
    border-radius: 0.55rem;
    color: var(--pc-text-soft);
    font-size: 0.86rem;
    font-weight: 750;
    text-decoration: none;
}

.public-system-profile__section-nav a:hover,
.public-system-profile__section-nav a:focus-visible {
    background: rgba(11, 180, 245, 0.08);
    color: #fff;
}

.public-system-profile__section {
    padding: clamp(1.05rem, 2.5vw, 1.55rem);
    border: 1px solid rgba(123, 171, 216, 0.14);
    border-radius: var(--pc-radius-lg);
    background:
        radial-gradient(circle at 100% 0%, rgba(11, 180, 245, 0.045), transparent 28rem),
        linear-gradient(150deg, rgba(13, 21, 34, 0.94), rgba(7, 12, 20, 0.97));
}

.public-system-profile__section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-block-end: 1rem;
}

.public-system-profile__section-header h2 {
    margin: 0;
}

.public-system-profile__empty {
    padding: 1rem;
    border: 1px dashed rgba(123, 171, 216, 0.18);
    border-radius: var(--pc-radius);
    color: var(--pc-muted);
}

.public-system-profile__empty p {
    margin: 0;
}

.public-system-view-mode {
    display: inline-grid;
    grid-template-columns: repeat(2, auto);
    gap: 0.25rem;
    margin: 0;
    padding: 0.25rem;
    border: 1px solid rgba(123, 171, 216, 0.16);
    border-radius: 0.7rem;
    background: rgba(3, 8, 15, 0.56);
}

.public-system-view-mode input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.public-system-view-mode label {
    min-height: 0;
    margin: 0;
    padding: 0.48rem 0.7rem;
    border-radius: 0.52rem;
    color: var(--pc-muted);
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 750;
}

.public-system-view-mode input:focus-visible + label {
    outline: 2px solid var(--pc-cyan);
    outline-offset: 2px;
}

.public-system-profile:has(#system-view-standard:checked) .public-system-expert {
    display: none;
}

.public-system-profile:has(#system-view-standard:checked) .public-system-standard-redundant-heading {
    display: none;
}

.public-system-profile:has(#system-view-standard:checked) .public-system-hardware-flow__component--with-ram-slots {
    grid-template-columns: minmax(0, 1fr);
}

.public-system-profile:has(#system-view-expert:checked) .public-system-expert {
    display: block;
}

.public-system-profile:has(#system-view-standard:checked) label[for="system-view-standard"],
.public-system-profile:has(#system-view-expert:checked) label[for="system-view-expert"] {
    background: linear-gradient(135deg, rgba(2, 118, 240, 0.68), rgba(11, 180, 245, 0.32));
    color: #fff;
}

.public-system-hardware__groups {
    display: grid;
    gap: 1.2rem;
}

.public-system-hardware__group {
    min-width: 0;
}

.public-system-hardware__group > h3 {
    margin: 0 0 0.7rem;
    color: var(--pc-text-soft);
    font-size: 1rem;
    letter-spacing: 0.015em;
}

.public-system-hardware__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.public-system-component {
    min-width: 0;
    align-self: start;
    padding: 0.9rem;
    border: 1px solid rgba(52, 125, 205, 0.15);
    border-radius: 0.85rem;
    background: rgba(5, 10, 18, 0.6);
    box-shadow: none;
}

.public-system-component__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-block-end: 0.65rem;
}

.public-system-component__role {
    display: block;
    margin-block-end: 0.22rem;
    color: var(--pc-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.public-system-component h4 {
    margin: 0;
    color: var(--pc-text);
    font-size: 1.02rem;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.public-system-component__manufacturer {
    margin-inline-end: 0.28em;
    color: var(--pc-cyan-soft);
    font-size: 0.86em;
    font-weight: 800;
}

.public-system-component__variant {
    margin: 0.2rem 0 0;
    color: var(--pc-muted);
    font-size: 0.82rem;
}

.public-system-component__quantity {
    flex: 0 0 auto;
    padding: 0.24rem 0.43rem;
    border: 1px solid rgba(85, 217, 243, 0.16);
    border-radius: 999px;
    background: rgba(11, 180, 245, 0.06);
    color: var(--pc-cyan-soft);
    font-size: 0.76rem;
    font-weight: 800;
}

.public-system-component__position {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.5rem;
    margin: 0 0 0.65rem;
    color: var(--pc-muted);
    font-size: 0.76rem;
}

.public-system-component__position span {
    color: var(--pc-text-soft);
    font-weight: 700;
}

.public-system-component__facts,
.public-system-power-budget__facts,
.public-system-compatibility__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-block-start: 1px solid rgba(123, 171, 216, 0.1);
}

.public-system-component__facts > div,
.public-system-power-budget__facts > div,
.public-system-compatibility__facts > div {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(6rem, 0.72fr) minmax(0, 1fr);
    gap: 0.45rem;
    padding: 0.45rem 0.5rem;
    border-block-end: 1px solid rgba(123, 171, 216, 0.07);
}

.public-system-component__facts dt,
.public-system-power-budget__facts dt,
.public-system-compatibility__facts dt {
    color: var(--pc-muted);
    font-size: 0.74rem;
    font-weight: 650;
}

.public-system-component__facts dd,
.public-system-power-budget__facts dd,
.public-system-compatibility__facts dd {
    color: var(--pc-text-soft);
    font-size: 0.78rem;
    text-align: end;
}

.public-system-component__expert {
    margin-block-start: 0.75rem;
    padding-block-start: 0.7rem;
    border-block-start: 1px solid rgba(157, 46, 217, 0.18);
}

.public-system-component__expert h5 {
    margin: 0 0 0.55rem;
    color: var(--pc-text-soft);
    font-size: 0.8rem;
}

.public-system-component__facts--expert {
    border-block-start: 0;
}

.public-system-power-budget {
    margin-block-start: 1.2rem;
    padding: 1rem;
    border: 1px solid rgba(157, 46, 217, 0.17);
    border-radius: var(--pc-radius);
    background: rgba(12, 8, 20, 0.42);
}

.public-system-power-budget h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
}

.public-system-power-budget .muted {
    margin: 0.7rem 0 0;
    font-size: 0.78rem;
}

.public-system-compatibility__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.public-system-compatibility__summary > span,
.public-system-compatibility__summary > strong {
    min-width: 0;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(84, 215, 160, 0.16);
    border-radius: 0.7rem;
    background: rgba(84, 215, 160, 0.045);
}

.public-system-compatibility__summary small {
    display: block;
    margin-block-end: 0.18rem;
    color: var(--pc-muted);
    font-size: 0.7rem;
}

.public-system-compatibility__summary strong {
    color: var(--pc-text-soft);
    font-size: 0.86rem;
}

.public-system-compatibility__details {
    margin-block-start: 0.8rem;
    border-block-start: 1px solid rgba(123, 171, 216, 0.12);
    padding-block-start: 0.7rem;
}

.public-system-compatibility__details > summary {
    width: fit-content;
    cursor: pointer;
    color: var(--pc-cyan-soft);
    font-size: 0.84rem;
    font-weight: 750;
}

.public-system-compatibility__details[open] > summary {
    margin-block-end: 0.7rem;
}

.public-system-compatibility__copy {
    margin-block-start: 0.75rem;
    color: var(--pc-text-soft);
    font-size: 0.86rem;
}

.public-system-compatibility__copy > :last-child {
    margin-block-end: 0;
}

.public-system-compatibility__limit {
    margin: 0.7rem 0 0;
    font-size: 0.76rem;
}

@media (max-width: 58rem) {
    .public-system-profile__hero {
        grid-template-columns: 1fr;
    }

    .public-system-profile__powered-by {
        align-self: stretch;
    }

    .public-system-profile__section-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 44rem) {
    .public-system-hardware__grid,
    .public-system-compatibility__summary {
        grid-template-columns: 1fr;
    }

    .public-system-component__facts,
    .public-system-power-budget__facts,
    .public-system-compatibility__facts {
        grid-template-columns: 1fr;
    }

    .public-system-profile__brand img {
        max-width: 7.2rem;
        height: 1.5rem;
    }
}

@media (max-width: 32rem) {
    .public-system-profile__hero,
    .public-system-profile__section {
        padding-inline: 0.85rem;
    }

    .public-system-component__facts > div,
    .public-system-power-budget__facts > div,
    .public-system-compatibility__facts > div {
        grid-template-columns: 1fr;
        gap: 0.12rem;
    }

    .public-system-component__facts dd,
    .public-system-power-budget__facts dd,
    .public-system-compatibility__facts dd {
        text-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-system-profile__brand img,
    .public-system-profile__brand {
        transition: none;
    }
}
/* --------------------------------------------------------------------------
 * Public System Profile V2 – section-first profile + optical brand sizing
 * P7 V4.6.26.1
 * ----------------------------------------------------------------------- */

.public-system-profile__brand-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5.4rem, 1fr));
    gap: 0.4rem 0.5rem;
}

.public-system-profile__brand {
    inline-size: 100%;
    block-size: 3.15rem;
    min-height: 3.15rem;
    padding: 0.25rem 0.4rem;
    overflow: hidden;
}

.public-system-profile__brand img {
    inline-size: auto;
    block-size: 22px;
    max-inline-size: var(--brand-max-width, 88px);
    max-width: var(--brand-max-width, 88px);
    height: 22px;
    transform:
        translateY(var(--brand-offset-y, 0px))
        scale(var(--brand-scale, 1));
    transform-origin: center;
}

.public-system-profile__brand:hover img,
.public-system-profile__brand:focus-visible img,
.public-system-profile__brand[data-active="true"] img {
    transform:
        translateY(calc(var(--brand-offset-y, 0px) - 1px))
        scale(var(--brand-scale, 1));
}

.public-system-hardware {
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.public-system-hardware > .public-system-profile__section-header {
    margin-block-end: 1.2rem;
    padding-inline: 0.1rem;
}

.public-system-hardware__groups--profile {
    display: grid;
    gap: clamp(1.2rem, 2.5vw, 2rem);
}

.public-system-hardware__group--profile {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(9.5rem, 0.28fr) minmax(0, 1fr);
    gap: clamp(1rem, 2.8vw, 2.2rem);
    padding-block-start: 0.85rem;
    border-block-start: 1px solid rgba(85, 217, 243, 0.18);
}

.public-system-hardware__group-header {
    min-width: 0;
    align-self: start;
    padding-inline-start: 0.75rem;
    border-inline-start: 3px solid rgba(11, 180, 245, 0.52);
}

.public-system-hardware__group-header h3 {
    margin: 0;
    color: var(--pc-text-soft);
    font-size: clamp(0.92rem, 1.8vw, 1.04rem);
    line-height: 1.35;
}

.public-system-profile__component-list {
    min-width: 0;
    display: grid;
}

.public-system-profile__component-row {
    min-width: 0;
    position: relative;
    display: grid;
    grid-template-columns: minmax(12rem, 0.72fr) minmax(0, 1.55fr);
    gap: clamp(1rem, 2.6vw, 2rem);
    padding: 0.95rem 0;
    border-block-end: 1px solid rgba(123, 171, 216, 0.11);
    background: transparent;
}

.public-system-profile__component-row:first-child {
    padding-block-start: 0;
}

.public-system-profile__component-row:last-child {
    padding-block-end: 0;
    border-block-end: 0;
}

.public-system-profile__component-identity {
    min-width: 0;
    align-self: start;
    padding-inline-start: 0.75rem;
    border-inline-start: 2px solid rgba(157, 46, 217, 0.25);
}

.public-system-profile__component-role {
    display: block;
    margin-block-end: 0.25rem;
    color: var(--pc-muted);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.public-system-profile__component-identity h4 {
    margin: 0;
    color: var(--pc-text);
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    line-height: 1.32;
    overflow-wrap: anywhere;
}

.public-system-profile__component-manufacturer {
    margin-inline-end: 0.3em;
    color: var(--pc-cyan-soft);
    font-size: 0.88em;
    font-weight: 800;
}

.public-system-profile__component-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem 0.65rem;
    margin-block-start: 0.42rem;
    color: var(--pc-muted);
    font-size: 0.76rem;
}

.public-system-profile__component-details {
    min-width: 0;
    align-self: start;
}

.public-system-profile__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-block-start: 1px solid rgba(123, 171, 216, 0.09);
}

.public-system-profile__facts > div {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(6.4rem, 0.72fr) minmax(0, 1fr);
    gap: 0.5rem;
    padding: 0.42rem 0.5rem;
    border-block-end: 1px solid rgba(123, 171, 216, 0.07);
}

.public-system-profile__facts dt {
    color: var(--pc-muted);
    font-size: 0.73rem;
    font-weight: 650;
}

.public-system-profile__facts dd {
    margin: 0;
    color: var(--pc-text-soft);
    font-size: 0.79rem;
    text-align: end;
    overflow-wrap: anywhere;
}

.public-system-profile__expert-facts {
    margin-block-start: 0.75rem;
    padding-block-start: 0.7rem;
    border-block-start: 1px solid rgba(157, 46, 217, 0.16);
}

.public-system-profile__expert-facts h5 {
    margin: 0 0 0.45rem;
    color: var(--pc-text-soft);
    font-size: 0.78rem;
}

.public-system-profile__facts--expert {
    border-block-start: 0;
}

.public-system-profile__component-media[hidden] {
    display: none !important;
}

/*
 * The media rail is intentionally dormant until the next implementation
 * block supplies approved public media. Once populated, the same component
 * row can gain .has-public-media without reverting to a card grid.
 */
.public-system-profile__component-row.has-public-media {
    grid-template-columns:
        minmax(11rem, 0.62fr)
        minmax(0, 1.35fr)
        minmax(14rem, 0.8fr);
}

.public-system-profile__component-row.has-public-media
    .public-system-profile__component-media {
    display: block;
    min-width: 0;
}

.public-system-power-budget {
    margin-block-start: 1.2rem;
    padding: 1rem 0 0;
    border: 0;
    border-block-start: 1px solid rgba(157, 46, 217, 0.18);
    border-radius: 0;
    background: transparent;
}

@media (max-width: 68rem) {
    .public-system-hardware__group--profile {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .public-system-hardware__group-header {
        padding-inline-start: 0.65rem;
    }
}

@media (max-width: 50rem) {
    .public-system-profile__component-row,
    .public-system-profile__component-row.has-public-media {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .public-system-profile__component-identity {
        padding-inline-start: 0.65rem;
    }
}

@media (max-width: 38rem) {
    .public-system-profile__brand-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .public-system-profile__facts {
        grid-template-columns: 1fr;
    }

    .public-system-profile__facts > div {
        grid-template-columns: minmax(6.8rem, 0.78fr) minmax(0, 1fr);
    }
}

@media (max-width: 28rem) {
    .public-system-profile__brand-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-system-profile__facts > div {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .public-system-profile__facts dd {
        text-align: start;
    }
}

/* --------------------------------------------------------------------------
 * Public System Component Media V4.6.26.2
 * ----------------------------------------------------------------------- */

.public-system-profile__component-row {
    border: 0 !important;
    border-top: 1px solid rgba(80, 180, 255, 0.13) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 1rem 0.75rem !important;
}

.public-system-profile__component-row:last-child {
    border-bottom: 1px solid rgba(80, 180, 255, 0.13) !important;
}

.public-system-profile__component-media {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
    gap: 0.8rem;
    margin-top: 0.9rem;
}

.public-system-profile__media-item {
    margin: 0;
}

.public-system-profile__media-open {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid rgba(81, 177, 255, 0.2);
    border-radius: 0.65rem;
    overflow: hidden;
    background: rgba(4, 11, 22, 0.72);
    cursor: zoom-in;
}

.public-system-profile__media-open img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.public-system-profile__media-type {
    position: absolute;
    inset-inline-start: 0.45rem;
    inset-block-end: 0.45rem;
    padding: 0.18rem 0.42rem;
    border-radius: 999px;
    background: rgba(4, 9, 18, 0.84);
    color: var(--text, #f7fbff);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.public-system-profile__media-item figcaption {
    margin-top: 0.38rem;
    color: var(--muted, #9eb4cb);
    font-size: 0.78rem;
    line-height: 1.35;
}

.public-system-media-dialog {
    width: min(94vw, 1180px);
    max-width: 1180px;
    padding: 0;
    border: 1px solid rgba(81, 177, 255, 0.28);
    border-radius: 1rem;
    background: #07101d;
    color: #f7fbff;
}

.public-system-media-dialog::backdrop {
    background: rgba(0, 0, 0, 0.84);
}

.public-system-media-dialog__panel {
    padding: 1rem;
}

.public-system-media-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.public-system-media-dialog img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    margin: 0 auto;
    object-fit: contain;
}

.public-system-media-dialog [data-public-system-media-caption] {
    margin: 0.75rem 0 0;
    color: var(--muted, #b6c7da);
    text-align: center;
}

.system-component-media-manager__upload,
.system-component-media-manager__list {
    margin-top: 1.25rem;
}

.system-component-media-form {
    padding: 1rem;
    border: 1px solid rgba(81, 177, 255, 0.18);
    border-radius: 0.8rem;
    background: rgba(5, 13, 25, 0.58);
}

.system-component-media-form__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.system-component-media-form label {
    display: grid;
    gap: 0.35rem;
}

.system-component-media-form label > span {
    font-weight: 700;
}

.system-component-media-form__wide {
    grid-column: 1 / -1;
}

.system-component-media-list {
    display: grid;
    gap: 1rem;
}

.system-component-media-item {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1rem 0;
    border-top: 1px solid rgba(81, 177, 255, 0.14);
}

.system-component-media-item__preview {
    margin: 0;
}

.system-component-media-item__preview img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 0.7rem;
    border: 1px solid rgba(81, 177, 255, 0.2);
}

.system-component-media-item__actions {
    margin-top: 0.8rem;
}

.system-component-media-item__delete {
    grid-column: 2;
    margin-top: -0.4rem;
}

@media (max-width: 820px) {
    .system-component-media-form__grid,
    .system-component-media-item {
        grid-template-columns: 1fr;
    }

    .system-component-media-item__delete {
        grid-column: 1;
    }

    .public-system-profile__component-media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .public-system-profile__component-media {
        grid-template-columns: 1fr;
    }
}
/* /Public System Component Media V4.6.26.2 */

/* Public/System Hardware Profile Editor V4.6.27 */
.hardware-profile-editor {
    --hardware-profile-rule: rgba(81, 177, 255, 0.18);
    --hardware-profile-soft: rgba(5, 13, 25, 0.48);
}

.hardware-profile-editor__sections {
    display: grid;
    gap: 0;
    margin-top: 1.35rem;
    border-top: 1px solid var(--hardware-profile-rule);
}

.hardware-profile-editor__section {
    padding: 1.35rem 0 1.55rem;
    border-bottom: 1px solid var(--hardware-profile-rule);
}

.hardware-profile-editor__section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hardware-profile-editor__section-header h2 {
    margin: 0.18rem 0 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hardware-profile-editor__fieldset {
    margin: 0.9rem 0 0;
    padding: 0.9rem 1rem 1rem;
    border: 1px solid rgba(81, 177, 255, 0.14);
    border-radius: 0.65rem;
    background: var(--hardware-profile-soft);
}

.hardware-profile-editor__fieldset legend {
    padding: 0 0.35rem;
    font-weight: 800;
}

.hardware-profile-editor__grid,
.hardware-profile-editor__slot-editor {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem 0.9rem;
}

.hardware-profile-editor__grid label,
.hardware-profile-editor__slot-editor label,
.hardware-profile-editor__wide {
    display: grid;
    gap: 0.35rem;
}

.hardware-profile-editor__grid label > span,
.hardware-profile-editor__slot-editor label > span,
.hardware-profile-editor__wide > span {
    font-size: 0.82rem;
    font-weight: 750;
}

.hardware-profile-editor input:not([type="checkbox"]),
.hardware-profile-editor select,
.hardware-profile-editor textarea {
    width: 100%;
    box-sizing: border-box;
}

.hardware-profile-editor input:not([type="checkbox"]),
.hardware-profile-editor select {
    min-height: 2.75rem;
}

.hardware-profile-editor input::placeholder,
.hardware-profile-editor textarea::placeholder {
    color: rgba(190, 207, 225, 0.54);
    opacity: 1;
}

.hardware-profile-editor__wide {
    margin-top: 0.8rem;
}

.hardware-profile-editor__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    font-weight: 750;
}

.hardware-profile-editor__toggle input {
    width: auto;
    margin: 0;
}

.hardware-profile-editor__slot-fieldset {
    border-color: rgba(80, 221, 196, 0.18);
}

.hardware-profile-editor__savebar {
    position: sticky;
    z-index: 8;
    bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(81, 177, 255, 0.24);
    border-radius: 0.75rem;
    background: rgba(5, 13, 25, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 0.7rem 1.8rem rgba(0, 0, 0, 0.24);
}

.public-system-profile__brand > span {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding-inline: 0.2rem;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hardware-profile-editor__grid,
    .hardware-profile-editor__slot-editor {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .hardware-profile-editor__section-header,
    .hardware-profile-editor__savebar {
        align-items: stretch;
        flex-direction: column;
    }

    .hardware-profile-editor__grid,
    .hardware-profile-editor__slot-editor {
        grid-template-columns: 1fr;
    }

    .hardware-profile-editor__savebar {
        bottom: 0.35rem;
    }
}
/* /Public/System Hardware Profile Editor V4.6.27 */

/* ==========================================================================
   Public System Hardware Flow V4.6.28
   Expert-first reference layout; STANDARD classification follows later.
   ========================================================================== */
.public-system-hardware--flow { display: block; }
.public-system-hardware__toolbar { display: flex; justify-content: flex-end; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.public-system-hardware-flow { border-top: 1px solid rgba(123, 171, 216, 0.16); }
.public-system-hardware-flow__component { position: relative; padding: clamp(1.65rem, 4vw, 2.7rem) 0; border-bottom: 1px solid rgba(123, 171, 216, 0.16); }
.public-system-hardware-flow__header { display: flex; gap: clamp(0.9rem, 2.4vw, 1.45rem); align-items: flex-start; }
.public-system-hardware-flow__icon { display: grid; place-items: center; flex: 0 0 clamp(4.6rem, 8vw, 6.2rem); inline-size: clamp(4.6rem, 8vw, 6.2rem); block-size: clamp(4.6rem, 8vw, 6.2rem); margin-top: 0.1rem; }
.public-system-hardware-flow__icon img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
.public-system-hardware-flow__identity { flex: 1 1 28rem; min-inline-size: 0; }
.public-system-hardware-flow__type { display: block; margin-bottom: 0.34rem; color: var(--pc-cyan); font-size: 0.73rem; font-weight: 850; letter-spacing: 0.105em; text-transform: uppercase; }
.public-system-hardware-flow__identity h2 { margin: 0; color: var(--pc-text); font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.08; letter-spacing: -0.025em; }
.public-system-hardware-flow__quantity { margin-right: 0.18em; color: rgba(237, 246, 255, 0.72); font-weight: 700; }
.public-system-hardware-flow__manufacturer { margin-right: 0.18em; }
.public-system-hardware-flow__meta { display: flex; flex-wrap: wrap; gap: 0.45rem 0.75rem; margin-top: 0.65rem; color: var(--pc-muted); font-size: 0.82rem; }
.public-system-hardware-flow__gallery { display: flex; flex: 0 1 16rem; flex-wrap: wrap; justify-content: flex-end; gap: 0.45rem; margin-left: auto; }
.public-system-hardware-flow__media-item { margin: 0; }
.public-system-hardware-flow__media-open { position: relative; display: block; inline-size: clamp(4rem, 6.5vw, 5.25rem); block-size: clamp(4rem, 6.5vw, 5.25rem); overflow: hidden; padding: 0; border: 1px solid rgba(123, 171, 216, 0.2); border-radius: 0.72rem; background: rgba(5, 13, 22, 0.72); cursor: zoom-in; }
.public-system-hardware-flow__media-open img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.public-system-hardware-flow__media-open:hover,
.public-system-hardware-flow__media-open:focus-visible { border-color: rgba(53, 187, 255, 0.62); box-shadow: 0 0 0 2px rgba(53, 187, 255, 0.12); }
.public-system-hardware-flow__media-type { position: absolute; right: 0.28rem; bottom: 0.28rem; max-inline-size: calc(100% - 0.56rem); overflow: hidden; padding: 0.16rem 0.3rem; border-radius: 0.3rem; background: rgba(1, 5, 10, 0.78); color: rgba(255, 255, 255, 0.88); font-size: 0.54rem; font-weight: 750; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.public-system-hardware-flow__sections { display: grid; gap: clamp(1rem, 2.4vw, 1.45rem); margin-top: clamp(1.15rem, 2.5vw, 1.65rem); padding-left: clamp(0rem, 8vw, 7.65rem); }
.public-system-hardware-flow__section { min-inline-size: 0; }
.public-system-hardware-flow__section h3 { margin: 0 0 0.62rem; color: rgba(237, 246, 255, 0.9); font-size: clamp(0.92rem, 1.5vw, 1.05rem); line-height: 1.2; }
.public-system-hardware-flow__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr)); gap: 0; margin: 0; border-top: 1px solid rgba(123, 171, 216, 0.09); }
.public-system-hardware-flow__fact { display: grid; grid-template-columns: minmax(6.7rem, 0.8fr) minmax(0, 1.2fr); gap: 0.65rem; align-items: baseline; min-inline-size: 0; padding: 0.56rem 0.75rem 0.56rem 0; border-bottom: 1px solid rgba(123, 171, 216, 0.075); }
.public-system-hardware-flow__fact dt,
.public-system-hardware-flow__fact dd { min-inline-size: 0; margin: 0; }
.public-system-hardware-flow__fact dt { color: var(--pc-muted); font-size: 0.74rem; font-weight: 680; line-height: 1.35; }
.public-system-hardware-flow__fact dd { color: rgba(241, 248, 255, 0.94); font-size: 0.86rem; font-weight: 760; line-height: 1.4; overflow-wrap: anywhere; }
.public-system-profile:has(#system-view-standard:checked) .public-system-hardware-flow__section:not(:has(.public-system-hardware-flow__fact:not(.public-system-expert))) { display: none; }
.public-system-profile:has(#system-view-expert:checked) .public-system-hardware-flow__fact.public-system-expert { display: grid; }
.public-system-power-budget { margin-top: clamp(2rem, 4vw, 3rem); }
.public-system-power-budget > h2 { margin-top: 0; font-size: clamp(1.2rem, 2.1vw, 1.55rem); }
@media (max-width: 760px) {
    .public-system-hardware__toolbar { justify-content: flex-start; }
    .public-system-hardware-flow__header { flex-wrap: wrap; }
    .public-system-hardware-flow__icon { flex-basis: 4.5rem; inline-size: 4.5rem; block-size: 4.5rem; }
    .public-system-hardware-flow__identity { flex-basis: calc(100% - 5.6rem); }
    .public-system-hardware-flow__gallery { flex-basis: 100%; justify-content: flex-start; margin-left: 5.4rem; }
    .public-system-hardware-flow__sections { padding-left: 5.4rem; }
}
@media (max-width: 520px) {
    .public-system-hardware-flow__header { display: grid; grid-template-columns: 3.9rem minmax(0, 1fr); }
    .public-system-hardware-flow__icon { grid-column: 1; inline-size: 3.9rem; block-size: 3.9rem; }
    .public-system-hardware-flow__identity { grid-column: 2; }
    .public-system-hardware-flow__header > .public-system-hardware-flow__identity:first-child { grid-column: 1 / -1; }
    .public-system-hardware-flow__gallery { grid-column: 1 / -1; margin-left: 0; }
    .public-system-hardware-flow__sections { padding-left: 0; }
    .public-system-hardware-flow__facts { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Public System Hardware Groups V4.6.31
   One visual block per storage subtype / monitor family.
   ========================================================================== */
.public-system-hardware-flow__component--grouped .public-system-hardware-flow__header {
    padding-bottom: clamp(0.85rem, 1.8vw, 1.1rem);
}
.public-system-hardware-flow__members {
    margin-top: clamp(0.35rem, 1vw, 0.65rem);
    padding-left: clamp(0rem, 8vw, 7.65rem);
}
.public-system-hardware-flow__member {
    padding: clamp(1rem, 2.2vw, 1.45rem) 0;
    border-top: 1px solid rgba(123, 171, 216, 0.1);
}
.public-system-hardware-flow__member-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.public-system-hardware-flow__member-identity {
    flex: 1 1 28rem;
    min-inline-size: 0;
}
.public-system-hardware-flow__member-identity h3 {
    margin: 0;
    color: var(--pc-text);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.15;
    letter-spacing: -0.012em;
}
.public-system-hardware-flow__member-sections {
    display: grid;
    gap: clamp(0.85rem, 1.8vw, 1.15rem);
    margin-top: 0.85rem;
}
.public-system-hardware-flow__member-sections .public-system-hardware-flow__section h4 {
    margin: 0 0 0.56rem;
    color: rgba(237, 246, 255, 0.9);
    font-size: 0.92rem;
    line-height: 1.2;
}
.public-system-hardware-flow__meta--single {
    margin-left: clamp(0rem, 8vw, 7.65rem);
}
@media (max-width: 760px) {
    .public-system-hardware-flow__members {
        padding-left: 5.4rem;
    }
}
@media (max-width: 520px) {
    .public-system-hardware-flow__members,
    .public-system-hardware-flow__meta--single {
        padding-left: 0;
        margin-left: 0;
    }
    .public-system-hardware-flow__member-header {
        flex-wrap: wrap;
    }
    .public-system-hardware-flow__member-header .public-system-hardware-flow__gallery {
        margin-left: 0;
    }
}

/* P7 V4.6.32b: Manufacturer proposal spacing */
.hardware-source-proposal-facts__header {
    padding: 1.25rem 1.25rem 1rem;
}

.hardware-source-proposal-facts__header > h2 {
    margin-top: 0;
}

.hardware-source-proposal-facts__header > :last-child {
    margin-bottom: 0;
}

.hardware-source-proposal-facts .admin-table-wrap {
    margin-top: 0;
}
/* /P7 V4.6.32b */

/* P7 V4.6.33: Public system owner edit action */
.public-system-profile__owner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-block-start: 0.9rem;
}

.public-system-profile__owner-actions .button {
    margin: 0;
}
/* /P7 V4.6.33 */

/* ==========================================================================
   Public System Hardware Reading Grid V4.6.36 R4
   ========================================================================== */
.public-system-hardware-flow__members {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: clamp(1.4rem, 3vw, 2.4rem);
}

.public-system-hardware-flow__members--two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-system-hardware-flow__member {
    min-inline-size: 0;
}

.public-system-hardware-flow__member-sections .public-system-hardware-flow__facts {
    grid-template-columns: minmax(0, 1fr);
}

.public-system-hardware-flow__component:not(.public-system-hardware-flow__component--grouped)
    .public-system-hardware-flow__sections {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    column-gap: clamp(1.35rem, 2.8vw, 2.35rem);
    row-gap: clamp(1.25rem, 2.4vw, 1.8rem);
}

.public-system-hardware-flow__component:not(.public-system-hardware-flow__component--grouped)
    .public-system-hardware-flow__section {
    min-inline-size: 0;
    align-self: start;
}

.public-system-hardware-flow__component:not(.public-system-hardware-flow__component--grouped)
    .public-system-hardware-flow__section
    .public-system-hardware-flow__facts {
    grid-template-columns: minmax(0, 1fr);
}

.public-system-fact-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 0.25rem;
    min-inline-size: 1.15rem;
    block-size: 1.15rem;
    font-size: 0.72em;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    vertical-align: middle;
}

.public-system-fact-help__tooltip {
    position: absolute;
    z-index: 20;
    inset-block-end: calc(100% + 0.45rem);
    inset-inline-start: 50%;
    width: max-content;
    max-width: min(24rem, 80vw);
    padding: 0.45rem 0.6rem;
    border: 1px solid currentColor;
    border-radius: 0.35rem;
    background: var(--surface, #111);
    color: var(--text, #fff);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(0.2rem);
    transition: opacity 120ms ease, transform 120ms ease;
}

.public-system-fact-help:hover .public-system-fact-help__tooltip,
.public-system-fact-help:focus .public-system-fact-help__tooltip,
.public-system-fact-help:focus-visible .public-system-fact-help__tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 1100px) {
    .public-system-hardware-flow__component:not(.public-system-hardware-flow__component--grouped)
        .public-system-hardware-flow__sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .public-system-hardware-flow__members--two-column {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .public-system-hardware-flow__component:not(.public-system-hardware-flow__component--grouped)
        .public-system-hardware-flow__sections {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Public System Hardware Reading Grid V4.6.36 R4 */

/* ==========================================================================
   Public System Hardware Media Column V4.6.37 R9.3
   Real DOM + visual contract:
   - article: 2fr technical wrapper + 1fr media
   - technical wrapper: two fact-group columns
   - fact groups align with the component identity behind icon + header gap
   - preview preserves the source aspect ratio
   - gallery inline spacing is symmetric
   ========================================================================== */
.public-system-hardware-flow {
    --public-system-hardware-right-visual-rail:
        clamp(1rem, 2.1vw, 1.5rem);
}

.public-system-hardware-flow__component
    + .public-system-hardware-flow__component {
    margin-top: clamp(0.9rem, 1.8vw, 1.25rem);
}

/*
 * Non-media reading grids use the same right visual rail as the feature
 * preview. The rail belongs to the whole sections container, so column
 * order/content does not matter and no nth-child bookkeeping is required.
 */
.public-system-hardware-flow__component:not(.public-system-hardware-flow__component--grouped):not(.public-system-hardware-flow__component--with-media)
    > [data-public-system-component]
    > .public-system-hardware-flow__sections {
    padding-right: var(--public-system-hardware-right-visual-rail);
}

.public-system-hardware-flow__component--with-media {
    --public-system-hardware-leading-offset:
        calc(
            clamp(4.6rem, 8vw, 6.2rem)
            + clamp(0.9rem, 2.4vw, 1.45rem)
        );

    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
    column-gap: clamp(1.4rem, 3vw, 2.4rem);
    align-items: start;
}

.public-system-hardware-flow__component--with-media
    > .public-system-hardware-flow__header {
    grid-column: 1 / -1;
}

.public-system-hardware-flow__component--with-media
    > [data-public-system-component] {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.public-system-hardware-flow__component--with-media
    > [data-public-system-component]
    > .public-system-hardware-flow__sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: var(--public-system-hardware-leading-offset);
}

.public-system-hardware-flow__component--with-media
    > .public-system-hardware-flow__gallery--feature {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    align-content: start;
    justify-items: stretch;
    width: 100%;
    min-width: 0;
    margin: clamp(1.15rem, 2.5vw, 1.65rem) 0 0;
    padding-inline: var(--public-system-hardware-right-visual-rail);
    box-sizing: border-box;
}

.public-system-hardware-flow__gallery--feature
    .public-system-hardware-flow__media-item {
    width: 100%;
}

.public-system-hardware-flow__gallery--feature
    .public-system-hardware-flow__media-open {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: auto;
    inline-size: 100%;
    block-size: auto;
}

.public-system-hardware-flow__gallery--feature
    .public-system-hardware-flow__media-open img {
    display: block;
    width: 100%;
    height: auto;
    inline-size: 100%;
    block-size: auto;
    object-fit: contain;
    background: rgba(2, 8, 15, 0.8);
}

.public-system-hardware-flow__gallery-count {
    margin: 0.5rem 0 0;
    color: var(--pc-muted);
    font-size: 0.78rem;
    font-weight: 680;
    line-height: 1.3;
    text-align: center;
}

.public-system-hardware-flow__media-item[hidden] {
    display: none !important;
}

.public-system-media-dialog__stage {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
}

.public-system-media-dialog__nav {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 3.8rem;
    padding: 0;
    border: 1px solid rgba(81, 177, 255, 0.28);
    border-radius: 0.65rem;
    background: rgba(4, 11, 22, 0.82);
    color: #f7fbff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.public-system-media-dialog__nav:hover,
.public-system-media-dialog__nav:focus-visible {
    border-color: rgba(53, 187, 255, 0.72);
    background: rgba(9, 28, 48, 0.94);
}

.public-system-media-dialog__nav[hidden] {
    display: none;
}

.public-system-media-dialog__counter {
    margin: 0.65rem 0 0;
    color: var(--muted, #b6c7da);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 1050px) {
    .public-system-hardware-flow__component--with-media {
        grid-template-columns: minmax(0, 1.6fr) minmax(13rem, 0.9fr);
    }
}

@media (max-width: 820px) {
    .public-system-hardware-flow__component--with-media {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-system-hardware-flow__component--with-media
        > [data-public-system-component] {
        grid-column: 1;
        grid-row: 2;
    }

    .public-system-hardware-flow__component--with-media
        > [data-public-system-component]
        > .public-system-hardware-flow__sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-system-hardware-flow__component--with-media
        > .public-system-hardware-flow__gallery--feature {
        grid-column: 1;
        grid-row: 3;
        width: min(100%, 34rem);
        margin: clamp(1.15rem, 2.5vw, 1.65rem) auto 0;
        padding-inline: clamp(1rem, 4vw, 1.5rem);
    }
}

@media (max-width: 700px) {
    .public-system-hardware-flow__component:not(.public-system-hardware-flow__component--grouped):not(.public-system-hardware-flow__component--with-media)
        > [data-public-system-component]
        > .public-system-hardware-flow__sections {
        padding-right: 0;
    }
}

@media (max-width: 620px) {
    .public-system-hardware-flow__component--with-media
        > [data-public-system-component]
        > .public-system-hardware-flow__sections {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-system-media-dialog__stage {
        grid-template-columns: 1fr;
    }

    .public-system-media-dialog__nav {
        position: absolute;
        z-index: 2;
        top: 50%;
        transform: translateY(-50%);
        width: 2.45rem;
        height: 3.2rem;
    }

    .public-system-media-dialog__nav--previous {
        left: 0.4rem;
    }

    .public-system-media-dialog__nav--next {
        right: 0.4rem;
    }
}

@media (max-width: 520px) {
    .public-system-hardware-flow__component--with-media
        > [data-public-system-component]
        > .public-system-hardware-flow__sections {
        padding-left: 0;
    }
}
/* /Public System Hardware Media Column V4.6.37 R9.3 */

/* Hardware Profile Known Values V4.6.41
   Katalog/Report/Expert sind Hilfe, keine stillen User-Overrides. */
.hardware-profile-editor input::placeholder,
.hardware-profile-editor textarea::placeholder {
    color: rgba(190, 207, 225, 0.76);
}

.product-form-panel--component {
    max-width: min(100%, 82rem);
}

.product-form-panel--component form > input:not([type="hidden"]),
.product-form-panel--component form > select,
.product-form-panel--component form > textarea {
    max-width: none;
}
/* /Hardware Profile Known Values V4.6.41 */

/* Ram Slot Visualizer V4.6.42
 * Gemeinsame symbolische Mainboard-/DIMM-Darstellung für Editor + Public.
 */
.ram-slot-visualizer {
    margin-block: 0.9rem 0.35rem;
}

.ram-slot-visualizer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-block-end: 0.35rem;
}

.ram-slot-visualizer__header strong {
    color: var(--pc-text);
    font-size: 0.86rem;
    letter-spacing: 0.015em;
}

.ram-slot-visualizer__counter {
    min-width: 2.8rem;
    padding: 0.22rem 0.5rem;
    border: 1px solid rgba(11, 180, 245, 0.22);
    border-radius: 999px;
    background: rgba(11, 180, 245, 0.08);
    color: var(--pc-text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
}

.ram-slot-visualizer__help {
    margin: 0 0 0.65rem;
    color: var(--pc-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.ram-slot-visualizer__board {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: clamp(0.55rem, 1.4vw, 0.9rem);
    width: fit-content;
    max-width: 100%;
    padding: 1rem 1rem 0.8rem;
    overflow-x: auto;
    border: 1px solid rgba(91, 129, 194, 0.28);
    border-radius: 0.8rem;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(122, 77, 255, 0.12),
            transparent 16rem
        ),
        linear-gradient(
            145deg,
            rgba(12, 21, 38, 0.98),
            rgba(7, 13, 25, 0.98)
        );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.018),
        0 0.65rem 1.5rem rgba(0, 0, 0, 0.16);
}

.ram-slot-visualizer__slot {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 0.45rem;
    min-width: 2.4rem;
    margin: 0;
    padding: 0;
    color: var(--pc-muted);
}

.ram-slot-visualizer--interactive .ram-slot-visualizer__slot {
    cursor: pointer;
}

.ram-slot-visualizer__input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.ram-slot-visualizer__socket {
    position: relative;
    display: block;
    width: 1.8rem;
    height: 8.8rem;
    overflow: hidden;
    border: 2px solid rgba(94, 89, 176, 0.78);
    border-radius: 0.28rem;
    background:
        linear-gradient(
            90deg,
            rgba(18, 46, 79, 0.96),
            rgba(11, 33, 61, 0.96)
        );
    box-shadow:
        inset 0 0 0 1px rgba(11, 180, 245, 0.06),
        inset 0 0.5rem 0.75rem rgba(255, 255, 255, 0.025);
    transition:
        border-color 140ms ease,
        box-shadow 140ms ease,
        transform 140ms ease,
        opacity 140ms ease;
}

.ram-slot-visualizer__socket::before,
.ram-slot-visualizer__socket::after {
    content: "";
    position: absolute;
    inset-inline: 0.2rem;
    height: 0.16rem;
    border-radius: 999px;
    background: rgba(124, 174, 221, 0.26);
}

.ram-slot-visualizer__socket::before {
    inset-block-start: 0.28rem;
}

.ram-slot-visualizer__socket::after {
    inset-block-end: 0.28rem;
}

.ram-slot-visualizer__stick {
    position: absolute;
    inset: 0.46rem 0.28rem;
    border-radius: 0.2rem;
    background:
        repeating-linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.12) 0,
            rgba(255, 255, 255, 0.12) 0.28rem,
            transparent 0.28rem,
            transparent 0.72rem
        ),
        linear-gradient(
            180deg,
            rgba(13, 184, 245, 0.96),
            rgba(117, 70, 236, 0.94)
        );
    box-shadow:
        0 0 0.7rem rgba(11, 180, 245, 0.32),
        0 0 1rem rgba(117, 70, 236, 0.18);
    opacity: 0;
    transform: scaleY(0.94);
    transition:
        opacity 140ms ease,
        transform 140ms ease;
}

.ram-slot-visualizer__notch {
    position: absolute;
    inset-inline-start: 50%;
    inset-block-end: 0.08rem;
    width: 0.34rem;
    height: 0.48rem;
    border-radius: 0.15rem 0.15rem 0 0;
    background: rgba(6, 12, 22, 0.98);
    transform: translateX(-50%);
    z-index: 2;
}

.ram-slot-visualizer__label {
    color: var(--pc-text-soft);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.ram-slot-visualizer__slot.is-occupied .ram-slot-visualizer__socket,
.ram-slot-visualizer__input:checked + .ram-slot-visualizer__socket {
    border-color: rgba(11, 180, 245, 0.9);
    box-shadow:
        inset 0 0 0 1px rgba(11, 180, 245, 0.15),
        0 0 0.8rem rgba(11, 180, 245, 0.18),
        0 0 1rem rgba(117, 70, 236, 0.12);
}

.ram-slot-visualizer__slot.is-occupied .ram-slot-visualizer__stick,
.ram-slot-visualizer__input:checked
    + .ram-slot-visualizer__socket
    .ram-slot-visualizer__stick {
    opacity: 1;
    transform: scaleY(1);
}

.ram-slot-visualizer__input:focus-visible
    + .ram-slot-visualizer__socket {
    outline: 2px solid var(--pc-cyan);
    outline-offset: 3px;
}

.ram-slot-visualizer__slot.is-unavailable
    .ram-slot-visualizer__socket {
    opacity: 0.42;
}

.ram-slot-visualizer__slot.is-unavailable
    .ram-slot-visualizer__label {
    opacity: 0.62;
}

.ram-slot-visualizer--readonly .ram-slot-visualizer__board {
    padding-block-start: 0.85rem;
}

@media (max-width: 640px) {
    .ram-slot-visualizer__board {
        gap: 0.48rem;
        padding-inline: 0.7rem;
    }

    .ram-slot-visualizer__slot {
        min-width: 2rem;
    }

    .ram-slot-visualizer__socket {
        width: 1.55rem;
        height: 7.25rem;
    }

    .ram-slot-visualizer__label {
        font-size: 0.66rem;
    }
}
/* /Ram Slot Visualizer V4.6.42 */

/* ==========================================================================
   Public RAM Feature Column V4.6.42 R5.3
   RAM-Belegung nutzt im Public-Profil den bereits etablierten rechten
   Screenshot-/Feature-Bereich. Die normale Fakten-Einrückung bleibt erhalten.
   ========================================================================== */
.public-system-hardware-flow__component--with-ram-slots {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
    column-gap: clamp(1.4rem, 3vw, 2.4rem);
    align-items: start;
}

.public-system-hardware-flow__component--with-ram-slots
    > .public-system-hardware-flow__header {
    grid-column: 1 / -1;
}

.public-system-hardware-flow__component--with-ram-slots
    > [data-public-system-component] {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.public-system-hardware-flow__component--with-ram-slots
    > [data-public-system-component]
    > .public-system-hardware-flow__sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.public-system-hardware-flow__ram-slot-feature {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    align-content: start;
    justify-items: center;
    width: 100%;
    min-width: 0;
    margin: clamp(1.15rem, 2.5vw, 1.65rem) 0 0;
    padding-inline: clamp(1rem, 2.1vw, 1.5rem);
    box-sizing: border-box;
}

.public-system-hardware-flow__ram-slot-feature .ram-slot-visualizer,
.public-system-hardware-flow__ram-slot-feature-in-gallery .ram-slot-visualizer {
    margin-block: 0;
}

.public-system-hardware-flow__ram-slot-feature-in-gallery {
    display: grid;
    justify-items: center;
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 1050px) {
    .public-system-hardware-flow__component--with-ram-slots {
        grid-template-columns: minmax(0, 1.6fr) minmax(13rem, 0.9fr);
    }
}

@media (max-width: 820px) {
    .public-system-hardware-flow__component--with-ram-slots {
        grid-template-columns: minmax(0, 1fr);
    }

    .public-system-hardware-flow__component--with-ram-slots
        > [data-public-system-component] {
        grid-column: 1;
        grid-row: 2;
    }

    .public-system-hardware-flow__ram-slot-feature {
        grid-column: 1;
        grid-row: 3;
        width: min(100%, 34rem);
        margin-inline: auto;
        padding-inline: clamp(1rem, 4vw, 1.5rem);
    }

    .public-system-hardware-flow__component--with-ram-slots
        > [data-public-system-component]
        > .public-system-hardware-flow__sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .public-system-hardware-flow__component--with-ram-slots
        > [data-public-system-component]
        > .public-system-hardware-flow__sections {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* /Public RAM Feature Column V4.6.42 R5.3 */

/* ==========================================================================
   Public Independent Fact Columns V4.6.42 R5.7
   Die äußere Grid-Zeile enthält nur echte Spaltenwrapper.
   Sektionen innerhalb einer Spalte stapeln unabhängig von Nachbarspalten.
   ========================================================================== */
.public-system-hardware-flow__sections--independent-columns {
    grid-template-columns:
        repeat(
            var(--public-system-independent-fact-columns, 3),
            minmax(0, 1fr)
        ) !important;
    column-gap: clamp(1.35rem, 2.8vw, 2.35rem);
    row-gap: 0;
    align-items: start;
}

.public-system-hardware-flow__sections-column {
    display: grid;
    align-content: start;
    gap: clamp(1.25rem, 2.4vw, 1.8rem);
    min-inline-size: 0;
}

.public-system-hardware-flow__sections-column
    > .public-system-hardware-flow__section {
    min-inline-size: 0;
    align-self: start;
}
/* /Public Independent Fact Columns V4.6.42 R5.7 */

/* ==========================================================================
   Public RAM Title Meta + Help Alignment V4.6.42 R5.8
   ========================================================================== */
.public-system-hardware-flow__identity
    > .public-system-hardware-flow__meta--ram-identity {
    margin-block: 0.32rem 0;
    padding: 0;
    min-height: 0;
    gap: 0.35rem;
    line-height: 1.25;
}

.public-system-hardware-flow__identity
    > .public-system-hardware-flow__meta--ram-identity > * {
    margin: 0;
}

.public-system-hardware-flow__inline-help--aligned {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    margin-inline-start: 0.18rem;
}
/* /Public RAM Title Meta + Help Alignment V4.6.42 R5.8 */

/* ==========================================================================
   Public RAM Subtitle Manufacturer Alignment V4.6.42 R5.9
   ========================================================================== */
.public-system-hardware-flow__identity
    > .public-system-hardware-flow__meta--ram-identity {
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    margin-inline: 0 !important;
    padding-inline-start:
        var(--public-ram-subtitle-indent, 0px) !important;
    padding-inline-end: 0 !important;
    text-align: start;
}
/* /Public RAM Subtitle Manufacturer Alignment V4.6.42 R5.9 */

/* ==========================================================================
   Public RAM Subtitle Optical Alignment V4.6.42 R5.12
   Direkte finale Korrektur auf Basis von R5.9:
   sichtbare Glyphenkante des Herstellernamens +2 px.
   ========================================================================== */
.public-system-hardware-flow__identity
    > .public-system-hardware-flow__meta--ram-identity {
    padding-inline-start:
        calc(var(--public-ram-subtitle-indent, 0px) + 2px) !important;
}
/* /Public RAM Subtitle Optical Alignment V4.6.42 R5.12 */

/* ==========================================================================
   Public Unified Identity Model Code V4.6.42 R5.19
   Produktname + exakte Kennung bilden eine gemeinsame Identitätszone.
   ========================================================================== */
.public-system-hardware-flow__identity
    > .public-system-hardware-flow__meta--identity-code {
    margin-block: 0.3rem 0;
    min-height: 0;
    padding-block: 0;
    color: var(--text-muted, #9fb0c6);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.25;
}

.public-system-hardware-flow__identity
    > .public-system-hardware-flow__meta--identity-code-generated {
    margin-inline: 0;
    padding-inline: 0;
    text-align: start;
}

[data-identity-code-source="1"][hidden],
.public-system-hardware-flow__section[hidden] {
    display: none !important;
}
/* /Public Unified Identity Model Code V4.6.42 R5.19 */

/* ==========================================================================
   Public Generated Model Code Optical Alignment V4.6.42 R5.20
   Generierte Modellcodes beginnen optisch an der sichtbaren Glyphenkante
   des Produktnamens. Bestehende RAM-Variantencodes bleiben unangetastet.
   ========================================================================== */
.public-system-hardware-flow__identity
    > .public-system-hardware-flow__meta--identity-code-generated {
    padding-inline-start: 2px !important;
}
/* /Public Generated Model Code Optical Alignment V4.6.42 R5.20 */

/* ==========================================================================
   Technical Value Breaks + Editor Help V4.6.42 R5.27
   ========================================================================== */
.public-system-hardware-flow__component
    dd[data-public-system-value-breaks="1"] {
    line-height: 1.45;
}

.hardware-profile-break-help {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(125, 150, 185, 0.24);
    border-radius: 0.55rem;
    background: rgba(125, 150, 185, 0.05);
    color: var(--text-muted, #9fb0c6);
    font-size: 0.86rem;
    line-height: 1.45;
}

.hardware-profile-break-help strong {
    display: block;
    margin-bottom: 0.25rem;
    color: inherit;
}

.hardware-profile-break-help p {
    margin: 0;
}

.hardware-profile-break-help code {
    font: inherit;
    font-weight: 700;
}
/* /Technical Value Breaks + Editor Help V4.6.42 R5.27 */

/* ==========================================================================
   Central System Editor + Direct Benchmark Entry V4.6.44
   ========================================================================== */
.system-editor__header-actions {
    align-items: center;
}

.system-editor__utilities {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0;
}

.system-editor__compatibility {
    border: 1px solid rgba(81, 177, 255, 0.16);
    border-radius: 0.75rem;
    background: rgba(5, 11, 20, 0.52);
}

.system-editor__import {
    position: relative;
    min-width: 0;
}

.system-editor__import > summary.system-editor__dropdown-trigger {
    width: fit-content;
    margin: 0;
    list-style: none;
}

.system-editor__import > summary.system-editor__dropdown-trigger::-webkit-details-marker {
    display: none;
}

.system-editor__import > summary.system-editor__dropdown-trigger::marker {
    content: "";
}

.system-editor__import form {
    display: flex;
    align-items: end;
    gap: 0.75rem;
    margin-top: 0.45rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(81, 177, 255, 0.16);
    border-radius: 0.75rem;
    background: rgba(5, 11, 20, 0.94);
}

.system-editor__import-field {
    flex: 1 1 auto;
    display: grid;
    gap: 0.3rem;
}

.system-editor__import-field small,
.hardware-profile-field-example,
.benchmark-direct-form small {
    display: block;
    margin-top: 0.2rem;
    color: var(--pc-muted);
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.35;
}

.system-editor__compatibility {
    display: flex;
    align-items: center;
    gap: 0.55rem 0.8rem;
    flex-wrap: wrap;
    padding: 0.65rem 0.9rem;
}

.system-editor__compatibility-label {
    color: var(--pc-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.system-editor__compatibility form {
    margin-left: auto;
}

.system-editor__text-action {
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    color: var(--pc-cyan-soft);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    transform: none;
}

.hardware-profile-category-nav {
    position: sticky;
    top: 0;
    z-index: 8;
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    margin: 1rem 0;
    padding: 0.45rem;
    border: 1px solid rgba(81, 177, 255, 0.16);
    border-radius: 0.85rem;
    background: rgba(4, 9, 17, 0.96);
    scrollbar-width: thin;
}

.hardware-profile-category-nav button,
.hardware-profile-category-nav a {
    flex: 0 0 auto;
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.55rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.6rem;
    background: transparent;
    box-shadow: none;
    color: var(--pc-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    transform: none;
}

.hardware-profile-category-nav button:hover,
.hardware-profile-category-nav a:hover,
.hardware-profile-category-nav button.is-active {
    border-color: rgba(11, 180, 245, 0.32);
    background: rgba(11, 180, 245, 0.09);
    color: var(--pc-text);
}

.hardware-profile-category-nav button.is-active {
    box-shadow: inset 0 -2px 0 var(--pc-cyan);
}

.hardware-profile-category-nav small {
    min-width: 1.25rem;
    padding: 0.08rem 0.3rem;
    border-radius: 999px;
    background: rgba(81, 177, 255, 0.12);
    font-size: 0.62rem;
    text-align: center;
}

.system-editor__empty-intro {
    margin-bottom: 1rem;
    color: var(--pc-muted);
}

.hardware-profile-inline-add {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px dashed rgba(81, 177, 255, 0.28);
    border-radius: 0.85rem;
    background: rgba(7, 14, 24, 0.5);
}

.hardware-profile-inline-add__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.hardware-profile-inline-add__header h2,
.hardware-profile-inline-add__header p {
    margin: 0;
}

.hardware-profile-inline-add__header p {
    margin-top: 0.25rem;
    color: var(--pc-muted);
    font-size: 0.78rem;
}

.hardware-profile-new-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.7rem;
    background: rgba(3, 8, 15, 0.48);
}

.hardware-profile-new-row + .hardware-profile-new-row {
    margin-top: 0.65rem;
}

.hardware-profile-new-row > label {
    display: grid;
    gap: 0.28rem;
}

.hardware-profile-new-row > label > span {
    font-size: 0.74rem;
    font-weight: 800;
}

.hardware-profile-new-row .hardware-entry-assistant {
    grid-column: 1 / -1;
}

.hardware-profile-inline-add__more {
    margin-top: 0.75rem;
}

.hardware-profile-editor__ram-slot-cell {
    min-width: 0;
    align-self: stretch;
}

.hardware-profile-editor__ram-slot-cell .ram-slot-visualizer {
    height: 100%;
    display: grid;
    align-content: start;
    margin: 0;
    padding: 0.55rem 0.65rem 0.65rem;
    border: 1px solid rgba(81, 177, 255, 0.14);
    border-radius: 0.6rem;
    background: rgba(4, 10, 19, 0.42);
}

.hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__header {
    margin-block-end: 0.18rem;
}

.hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__help {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
}

.hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__board {
    width: 100%;
    justify-content: center;
    gap: 0.34rem;
    padding: 0.45rem 0.5rem 0.4rem;
}

.hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__socket {
    width: 1.12rem;
    height: 4rem;
}

.hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__label {
    font-size: 0.6rem;
}

.benchmark-direct-tests {
    gap: 0.85rem;
}

.benchmark-direct-test__header {
    margin-bottom: 0.75rem;
}

.benchmark-direct-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: end;
    padding: 0.8rem;
    border: 1px solid rgba(81, 177, 255, 0.13);
    border-radius: 0.7rem;
    background: rgba(3, 8, 15, 0.48);
}

.benchmark-direct-form > label {
    display: grid;
    gap: 0.28rem;
}

.benchmark-direct-form > label > span {
    font-size: 0.74rem;
    font-weight: 800;
}

.benchmark-tuning-selector {
    grid-column: 1 / -1;
    min-inline-size: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.benchmark-tuning-selector > legend {
    margin-bottom: 0.45rem;
    color: var(--pc-text);
    font-size: 0.74rem;
    font-weight: 800;
}

.benchmark-tuning-selector__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.benchmark-tuning-option {
    position: relative;
    cursor: pointer;
}

.benchmark-tuning-option__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.benchmark-tuning-option__surface {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(143, 158, 179, 0.24);
    border-radius: 0.65rem;
    background: rgba(8, 13, 22, 0.78);
    color: var(--pc-muted);
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.benchmark-tuning-option__input:focus-visible + .benchmark-tuning-option__surface {
    outline: 2px solid var(--pc-cyan);
    outline-offset: 2px;
}

.benchmark-tuning-option__icon {
    min-width: 1.15rem;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.benchmark-tuning-option--standard .benchmark-tuning-option__input:checked + .benchmark-tuning-option__surface {
    border-color: rgba(11, 180, 245, 0.74);
    background: rgba(11, 180, 245, 0.13);
    color: var(--pc-cyan-soft);
}

.benchmark-tuning-option--overclocked .benchmark-tuning-option__input:checked + .benchmark-tuning-option__surface {
    border-color: rgba(255, 174, 76, 0.74);
    background: rgba(255, 126, 46, 0.12);
    color: var(--pc-warning);
}

.benchmark-tuning-option--undervolted .benchmark-tuning-option__input:checked + .benchmark-tuning-option__surface {
    border-color: rgba(84, 215, 160, 0.72);
    background: rgba(84, 215, 160, 0.1);
    color: var(--pc-success);
}

.benchmark-direct-form__submit {
    justify-self: start;
}

.benchmark-direct-results {
    margin-top: 0.9rem;
}

@media (max-width: 820px) {
    .hardware-profile-new-row,
    .benchmark-direct-form {
        grid-template-columns: 1fr;
    }

    .benchmark-tuning-selector__options {
        grid-template-columns: 1fr;
    }

    .system-editor__import form {
        align-items: stretch;
        flex-direction: column;
    }
}
/* /Central System Editor + Direct Benchmark Entry V4.6.44 */

/* ==========================================================================
   Dynamic Central System Editor – Step #1
   ========================================================================== */
.hardware-profile-editor [hidden] { display: none !important; }

.hardware-profile-category-nav {
    position: sticky;
    top: 0.45rem;
    z-index: 20;
    display: flex;
    align-items: flex-end;
    gap: 0.18rem;
    overflow: visible;
    padding: 0.35rem 0.45rem 0;
    border-bottom: 1px solid rgba(81, 177, 255, 0.28);
    background: rgba(3, 8, 15, 0.97);
    scrollbar-width: none;
}
.hardware-profile-category-nav button {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-width: 0;
    min-height: 2.6rem;
    justify-content: center;
    margin: 0 0 -1px;
    padding: 0.58rem 0.42rem 0.62rem;
    border: 1px solid transparent;
    border-bottom-color: rgba(81, 177, 255, 0.28);
    border-radius: 0.72rem 0.72rem 0 0;
    background: rgba(5, 11, 20, 0.38);
    color: var(--pc-muted);
    font-size: clamp(0.62rem, 0.72vw, 0.76rem);
    font-weight: 750;
    white-space: nowrap;
    transform: translateY(0.08rem);
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}
.hardware-profile-category-nav button:hover {
    background: rgba(11, 29, 48, 0.72);
    color: var(--pc-text);
}
.hardware-profile-category-nav button.is-active {
    z-index: 3;
    border-color: rgba(50, 198, 255, 0.58);
    border-bottom-color: rgb(5, 11, 20);
    background: rgb(5, 11, 20);
    color: var(--pc-text);
    box-shadow: 0 -0.2rem 0.7rem rgba(25, 175, 255, 0.10), inset 0 0.14rem 0 rgba(50, 198, 255, 0.32);
    transform: translateY(1px);
}
.hardware-profile-category-nav button.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 3px;
    background: rgb(5, 11, 20);
}
.hardware-profile-category-nav small { display: none !important; }
.system-editor-category-stack,
.system-editor-category-panel,
.system-editor-category-panel__body { min-width: 0; }
.system-editor-category-panel__accordion { display: none; }

.hardware-profile-editor input[type="text"],
.hardware-profile-editor input[type="number"],
.hardware-profile-editor input[type="url"],
.hardware-profile-editor input[type="email"],
.hardware-profile-editor input:not([type]),
.hardware-profile-editor select {
    box-sizing: border-box;
    min-height: 2.85rem;
    height: 2.85rem;
    padding-block: 0.58rem;
    line-height: 1.2;
}

.hardware-profile-editor__section[data-role="ram"] .hardware-profile-editor__ram-slot-cell {
    grid-column: 3;
    grid-row: 3 / span 3;
    align-self: stretch;
    min-width: 0;
    height: auto;
}
.hardware-profile-editor__ram-slot-cell .ram-slot-visualizer {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 100%;
    margin: 0;
}
.hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__slots { max-width: 100%; }

.hardware-profile-new-row { display: grid; gap: 0.8rem; }
.hardware-profile-new-row__identity {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}
.hardware-profile-new-row__identity label,
.hardware-profile-new-details label { min-width: 0; }
.hardware-profile-new-details {
    margin: 0.15rem 0 0;
    padding: 0.85rem;
    border: 1px solid rgba(81, 177, 255, 0.18);
    border-radius: 0.78rem;
    background: rgba(6, 14, 24, 0.54);
}
.hardware-profile-new-details > .muted { margin: -0.15rem 0 0.7rem; }
.hardware-entry-assistant { margin: 0; }
.hardware-entry-assistant .cluster { align-items: center; }
.hardware-profile-new-row__promoted-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.2rem;
}
.hardware-profile-new-row--promoted {
    padding: 0.85rem;
    border: 1px solid rgba(63, 207, 148, 0.24);
    border-radius: 0.8rem;
    background: rgba(7, 25, 22, 0.22);
}
.hardware-profile-editor__savebar {
    position: sticky;
    bottom: 0;
    z-index: 24;
    margin-top: 1rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(81, 177, 255, 0.2);
    border-radius: 0.8rem;
    background: rgba(4, 9, 17, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 -0.4rem 1.4rem rgba(0, 0, 0, 0.24);
}
[data-system-editor-save-status][data-state="success"] { color: var(--pc-success); }
[data-system-editor-save-status][data-state="error"] { color: var(--pc-danger); }
[data-system-editor-save-status][data-state="saving"] { color: var(--pc-cyan-soft); }
.has-system-editor-error { border-color: var(--pc-danger) !important; }

.system-editor-benchmark-panel__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.benchmark-direct-result {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    padding: 0.45rem 0;
}
.system-editor-media-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.system-editor-media-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(7px);
}
.system-editor-media-modal__dialog {
    position: relative;
    width: min(72rem, 96vw);
    max-height: 92vh;
    overflow: auto;
    padding: 1rem;
    border: 1px solid rgba(81, 177, 255, 0.24);
    border-radius: 0.95rem;
    background: rgb(5, 11, 20);
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.55);
}
.system-editor-media-modal__header {
    position: sticky;
    top: -1rem;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: -1rem -1rem 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(5, 11, 20, 0.98);
}
.system-editor-media-modal__header h2 { margin: 0; }
.system-editor-media-modal__close {
    min-width: 2.5rem;
    min-height: 2.5rem;
    border: 0;
    background: transparent;
    color: var(--pc-text);
    cursor: pointer;
    font-size: 1.6rem;
}
.system-editor-media-modal__status { min-height: 1.4rem; margin-bottom: 0.65rem; color: var(--pc-muted); }
.system-editor-media-modal__status[data-state="success"] { color: var(--pc-success); }
.system-editor-media-modal__status[data-state="error"] { color: var(--pc-danger); }
.system-editor-media-modal__status[data-state="uploading"],
.system-editor-media-modal__status[data-state="processing"] { color: var(--pc-cyan-soft); }
.system-editor-media-upload {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.9rem;
    border: 1px solid rgba(81, 177, 255, 0.16);
    border-radius: 0.75rem;
}
.system-editor-media-upload label { display: grid; gap: 0.3rem; }
.system-editor-media-upload__actions,
.system-editor-media-progress { grid-column: 1 / -1; }
.system-editor-media-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
}
.system-editor-media-progress progress { width: 100%; }
.system-editor-media-upload__actions { display: flex; gap: 0.55rem; }
.system-editor-media-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.system-editor-media-card {
    display: grid;
    grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr);
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgba(81, 177, 255, 0.14);
    border-radius: 0.75rem;
}
.system-editor-media-card > img {
    width: 100%;
    max-height: 16rem;
    object-fit: contain;
    border-radius: 0.55rem;
}
.system-editor-media-card__meta { display: grid; gap: 0.5rem; align-content: start; }
html.has-system-editor-modal { overflow: hidden; }

@media (max-width: 980px) {
    .hardware-profile-category-nav { display: none; }
    .system-editor-category-panel,
    .system-editor-benchmark-panel {
        display: block;
        margin: 0;
        border: 1px solid rgba(81, 177, 255, 0.18);
        border-bottom: 0;
        background: rgba(5, 11, 20, 0.5);
    }
    .system-editor-category-panel:last-child,
    .system-editor-benchmark-panel:last-child { border-bottom: 1px solid rgba(81, 177, 255, 0.18); }
    .system-editor-category-panel__accordion {
        width: 100%;
        min-height: 3rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin: 0;
        padding: 0.75rem 0.85rem;
        border: 0;
        border-radius: 0;
        background: rgba(6, 13, 23, 0.92);
        color: var(--pc-text);
        cursor: pointer;
        font: inherit;
        font-weight: 800;
        text-align: left;
    }
    .system-editor-category-panel__body { padding: 0.75rem; }
    .hardware-profile-editor__section[data-role="ram"] .hardware-profile-editor__ram-slot-cell {
        grid-column: 1;
        grid-row: auto;
    }
    .hardware-profile-new-row__identity { grid-template-columns: 1fr; }
    .hardware-profile-new-row__promoted-actions { align-items: stretch; flex-direction: column; }
    .hardware-profile-editor__savebar { margin-inline: -0.5rem; border-radius: 0.7rem 0.7rem 0 0; }
    .hardware-profile-editor__savebar .button { width: 100%; justify-content: center; }
    .hardware-profile-editor__savebar .muted { display: block; margin-top: 0.35rem; text-align: center; }
    .system-editor-media-upload,
    .system-editor-media-list,
    .system-editor-media-card { grid-template-columns: 1fr; }
}

/*
 * RAM-Felder richten Label, Control und Beispieltext nach derselben
 * Zeilenlogik aus. Das beseitigt insbesondere den optischen Versatz des
 * ECC-Selects gegenüber Kapazität/Modulanzahl.
 */
.hardware-profile-editor__section[data-role="ram"] .hardware-profile-editor__grid > label {
    display: grid;
    grid-template-rows: auto 2.85rem auto;
    align-content: start;
    row-gap: 0.38rem;
}

.hardware-profile-editor__section[data-role="ram"] .hardware-profile-editor__grid > label > input,
.hardware-profile-editor__section[data-role="ram"] .hardware-profile-editor__grid > label > select {
    min-height: 2.85rem;
    height: 2.85rem;
    margin-block-start: 0 !important;
}

.hardware-profile-editor__section[data-role="ram"] .hardware-profile-editor__grid > label > .hardware-profile-field-example {
    margin-block-start: 0;
}

/* /Dynamic Central System Editor – Step #1 */

/* ==========================================================================
   Step #1 Workspace + Savebar Follow-up V22
   ========================================================================== */
.system-editor-workspace {
    position: relative;
    isolation: isolate;
    margin-top: 0.8rem;
    border: 1px solid rgba(81, 177, 255, 0.28);
    border-radius: 0.88rem;
    background: rgb(5, 11, 20);
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.14);
}

.system-editor-workspace > .hardware-profile-category-nav {
    margin: 0;
    border-radius: 0.84rem 0.84rem 0 0;
    border-bottom-color: rgba(81, 177, 255, 0.34);
}

.system-editor-workspace > [data-system-editor-form],
.system-editor-workspace > .system-editor-benchmark-panel {
    min-width: 0;
    margin: 0;
    padding: 0.9rem 0.85rem 1rem;
}

.system-editor-workspace
    > .hardware-profile-category-nav
    button.is-active {
    border-bottom-color: rgb(5, 11, 20);
    background: rgb(5, 11, 20);
}

.hardware-profile-new-row {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
}

.hardware-profile-new-row__identity {
    width: 100%;
    min-width: 0;
}

.hardware-profile-editor__savebar {
    max-width: none;
}

.hardware-profile-editor__savebar.is-docked {
    position: fixed;
    right: auto;
    bottom: 0.55rem;
    left: var(--system-editor-savebar-left);
    z-index: 90;
    width: var(--system-editor-savebar-width);
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 980px) {
    .system-editor-workspace {
        margin-top: 0.65rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .system-editor-workspace > [data-system-editor-form],
    .system-editor-workspace > .system-editor-benchmark-panel {
        padding: 0;
    }

    .hardware-profile-editor__savebar.is-docked {
        bottom: 0.35rem;
        border-radius: 0.7rem;
    }
}
/* Step #1 Workspace + Savebar Follow-up V22 */

/* ==========================================================================
   Step #1 Benchmark polish V23
   ========================================================================== */
.system-editor-workspace {
    overflow: hidden;
    --system-editor-savebar-height: 0px;
}

.system-editor-workspace > .hardware-profile-category-nav {
    position: relative;
    z-index: 4;
    margin-bottom: -1px;
    background: rgb(5, 11, 20);
}

.system-editor-workspace > .hardware-profile-category-nav::after {
    content: none;
}

.system-editor-workspace > .hardware-profile-category-nav button {
    position: relative;
    z-index: 1;
    margin-bottom: -1px;
}

.system-editor-workspace > [data-system-editor-form],
.system-editor-workspace > .system-editor-benchmark-panel {
    position: relative;
    z-index: 1;
    padding-top: 1rem;
}

.system-editor-benchmark-panel {
    padding-bottom: calc(var(--system-editor-savebar-height, 0px) + 1rem);
}

.system-editor-benchmark-suite-stack {
    display: grid;
    gap: 1rem;
}

.benchmark-suite-panel {
    overflow: hidden;
}

.benchmark-suite-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.benchmark-suite-header__copy {
    min-width: 0;
    display: grid;
    gap: 0.4rem;
}

.benchmark-suite-header__provider {
    margin: 0;
}

.benchmark-suite-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.benchmark-suite-header__media {
    flex: 0 0 min(15rem, 34%);
    display: block;
    overflow: hidden;
    border: 1px solid rgba(81, 177, 255, 0.18);
    border-radius: 0.75rem;
    background: rgba(11, 19, 34, 0.72);
}

.benchmark-suite-header__media img {
    display: block;
    width: 100%;
    height: auto;
}

.benchmark-direct-form label {
    display: grid;
    gap: 0.42rem;
    align-content: start;
}

.benchmark-direct-form label > small {
    min-height: 1.15rem;
}

.benchmark-tuning-option__icon {
    display: inline-grid;
    place-items: center;
    min-width: 1.15rem;
}

.benchmark-tuning-option__icon--overclocked {
    color: #ffbf5f;
}

.benchmark-tuning-option__icon--undervolted {
    color: #69d78b;
}

.hardware-profile-editor__savebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.72rem 0.95rem;
    min-height: 0;
    border-top: 1px solid rgba(81, 177, 255, 0.18);
    border-radius: 0 0 0.88rem 0.88rem;
    background: rgba(5, 11, 20, 0.97);
    backdrop-filter: blur(10px);
}

.hardware-profile-editor__savebar .button {
    flex: 0 0 auto;
}

.hardware-profile-editor__savebar .muted {
    margin: 0;
    max-width: min(38rem, 55%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.hardware-profile-editor__savebar.is-docked {
    bottom: 0;
    border-radius: 0.78rem 0.78rem 0 0;
    box-shadow: 0 -0.6rem 1.25rem rgba(0, 0, 0, 0.32);
}

@media (max-width: 980px) {
    .system-editor-workspace > [data-system-editor-form],
    .system-editor-workspace > .system-editor-benchmark-panel {
        padding-top: 0.75rem;
    }

    .benchmark-suite-header {
        display: grid;
    }

    .benchmark-suite-header__media {
        width: 100%;
        max-width: none;
        flex: none;
    }

    .hardware-profile-editor__savebar {
        flex-direction: column;
        align-items: stretch;
        padding: 0.7rem 0.85rem;
    }

    .hardware-profile-editor__savebar .button {
        width: 100%;
        justify-content: center;
    }

    .hardware-profile-editor__savebar .muted {
        max-width: none;
        white-space: normal;
        text-align: left;
    }
}
/* Step #1 Benchmark polish V23 */

/* ==========================================================================
   Step #1 Benchmark/Register corrective follow-up V24
   ========================================================================== */
.system-editor-workspace {
    overflow: visible;
}

.system-editor-workspace > .hardware-profile-category-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    margin-bottom: 0;
    overflow: visible;
    border-bottom: 1px solid rgba(81, 177, 255, 0.34);
    background: rgb(5, 11, 20);
}

.system-editor-workspace > .hardware-profile-category-nav button {
    margin-bottom: -1px;
    border-bottom-color: transparent;
    transform: none;
}

.system-editor-workspace > .hardware-profile-category-nav button:hover {
    transform: none;
}

.system-editor-workspace > .hardware-profile-category-nav button.is-active {
    border-bottom-color: rgb(5, 11, 20);
    transform: none;
}

.system-editor-workspace
    > .hardware-profile-category-nav
    button.is-active::after {
    bottom: -1px;
    height: 1px;
    background: rgb(5, 11, 20);
}

.benchmark-suite-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(15rem, 17rem);
    align-items: center;
    column-gap: 0.8rem;
}

.benchmark-suite-header__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    min-width: 7.2rem;
}

.benchmark-suite-header__action {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
}

.benchmark-suite-header__media {
    width: 100%;
    max-width: 17rem;
    flex: none;
}

.benchmark-fa-icon {
    display: inline-block;
    flex: 0 0 1em;
    width: 1em;
    height: 1em;
    background: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.benchmark-fa-icon--steam {
    -webkit-mask-image: url("../assets/fontawesome/brands/steam.svg");
    mask-image: url("../assets/fontawesome/brands/steam.svg");
}

.benchmark-fa-icon--globe {
    -webkit-mask-image: url("../assets/fontawesome/solid/globe.svg");
    mask-image: url("../assets/fontawesome/solid/globe.svg");
}

.benchmark-fa-icon--standard {
    -webkit-mask-image: url("../assets/fontawesome/solid/circle-dot.svg");
    mask-image: url("../assets/fontawesome/solid/circle-dot.svg");
    color: var(--pc-cyan-soft);
}

.benchmark-fa-icon--overclocked {
    -webkit-mask-image: url("../assets/fontawesome/solid/fire.svg");
    mask-image: url("../assets/fontawesome/solid/fire.svg");
    color: #ffb347;
}

.benchmark-fa-icon--undervolted {
    -webkit-mask-image: url("../assets/fontawesome/solid/leaf.svg");
    mask-image: url("../assets/fontawesome/solid/leaf.svg");
    color: #63d883;
}

.benchmark-tuning-option__surface .benchmark-fa-icon {
    width: 1.05rem;
    height: 1.05rem;
}

@media (max-width: 980px) {
    .benchmark-suite-header {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .benchmark-suite-header__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .benchmark-suite-header__media {
        max-width: none;
    }
}
/* Step #1 Benchmark/Register corrective follow-up V24 */

/* ==========================================================================
   Step #1 central save + benchmark contract V25
   ========================================================================== */
.benchmark-suite-header {
    grid-template-columns: minmax(0, 1fr) auto;
}

.benchmark-suite-header:has(.benchmark-suite-header__media) {
    grid-template-columns: minmax(0, 1fr) auto minmax(15rem, 17rem);
}

.benchmark-suite-header__copy {
    align-self: center;
}

.benchmark-suite-header__actions {
    align-self: center;
    justify-self: end;
    width: 8.5rem;
}

.benchmark-suite-header__media {
    justify-self: end;
    align-self: center;
}

.benchmark-direct-form__submit {
    display: none !important;
}

.hardware-profile-editor__savebar,
.hardware-profile-editor__savebar.is-docked {
    position: sticky;
    right: auto;
    bottom: 0;
    left: auto;
    z-index: 40;
    width: auto;
    margin: 0;
    box-sizing: border-box;
    border-radius: 0.78rem 0.78rem 0 0;
    box-shadow: 0 -0.45rem 1rem rgba(0, 0, 0, 0.24);
}

.system-editor-benchmark-panel {
    padding-bottom: 1rem;
}

@media (max-width: 980px) {
    .benchmark-suite-header,
    .benchmark-suite-header:has(.benchmark-suite-header__media) {
        grid-template-columns: 1fr;
    }

    .benchmark-suite-header__actions {
        justify-self: stretch;
        width: 100%;
    }
}
/* Step #1 central save + benchmark contract V25 */

/* ==========================================================================
   Step #1 identity + benchmark visual consistency V27
   ========================================================================== */
.system-editor-benchmark-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.system-editor-benchmark-panel__intro {
    margin: 0;
}

.benchmark-suite-header__actions {
    gap: 0.28rem;
    padding-bottom: 0.35rem;
}

.benchmark-direct-form > label > span {
    display: flex;
    align-items: flex-end;
    min-height: 2.5rem;
}

.hardware-profile-editor__savebar,
.hardware-profile-editor__savebar.is-docked {
    position: sticky;
    right: auto;
    bottom: 4px;
    left: auto;
    width: auto;
    margin-inline: 2px;
    margin-bottom: 4px;
    border: 0;
    border-top: 1px solid rgba(81, 177, 255, 0.24);
    border-radius: 0 0 0.78rem 0.78rem;
    background: rgba(3, 8, 15, 0.985);
    backdrop-filter: blur(14px);
    box-shadow: 0 -0.7rem 1.55rem rgba(0, 0, 0, 0.42);
}

@media (max-width: 980px) {
    .hardware-profile-editor__savebar,
    .hardware-profile-editor__savebar.is-docked {
        bottom: 3px;
        margin-inline: 0;
        margin-bottom: 3px;
    }
}
/* /Step #1 identity + benchmark visual consistency V27 */

/* ==========================================================================
   Step #1 RAM identity + benchmark/savebar browser follow-up V28
   ========================================================================== */

/* Suite-Titel, Buttonblock und Bild beginnen auf derselben oberen Kante. */
.benchmark-suite-header,
.benchmark-suite-header:has(.benchmark-suite-header__media) {
    align-items: start;
}

.benchmark-suite-header__copy,
.benchmark-suite-header__actions,
.benchmark-suite-header__media {
    align-self: start;
}

.benchmark-suite-header__copy > h2 {
    margin-top: 0;
}

.benchmark-suite-header__actions {
    gap: 0.18rem;
    padding-bottom: 0.9rem;
}

/* Kein sichtbarer Seiteninhalt mehr unter der sticky Werkzeugleiste. */
.hardware-profile-editor__savebar,
.hardware-profile-editor__savebar.is-docked {
    bottom: 0;
    margin-bottom: 0;
    background: rgb(3, 8, 15);
}

@media (max-width: 980px) {
    .hardware-profile-editor__savebar,
    .hardware-profile-editor__savebar.is-docked {
        bottom: 0;
        margin-bottom: 0;
    }
}
/* /Step #1 RAM identity + benchmark/savebar browser follow-up V28 */

/* ==========================================================================
   Step #1 benchmark action button gap V29-FIX1
   ========================================================================== */

/*
 * Globale Button-Regeln bringen eigene vertikale Außenabstände mit.
 * Innerhalb dieses speziellen Benchmark-Actionstapels werden sie neutralisiert;
 * den sichtbaren Abstand steuert ausschließlich der Container.
 */
.benchmark-suite-header__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    row-gap: 0.35rem !important;
}

.benchmark-suite-header__actions > * {
    margin-block: 0 !important;
}
/* /Step #1 benchmark action button gap V29-FIX1 */

/* ==========================================================================
   Step #1 benchmark media proportion + spacing V30
   ========================================================================== */

/*
 * Bild etwas kompakter als bisher, aber am linken Rand seiner Medienspalte.
 * Dadurch rückt es trotz 80-%-Breite näher an den Aktionsblock statt weiter
 * nach rechts weg. Der Header behält darunter einen eigenen Luftspalt zu den
 * Benchmark-Testkarten.
 */
.benchmark-suite-header {
    column-gap: 0.55rem !important;
    margin-bottom: 1rem;
}

.benchmark-suite-header__media {
    justify-self: start;
    display: flex;
    justify-content: flex-start;
}

.benchmark-suite-header__media img {
    width: 80% !important;
    max-width: none;
    height: auto;
    display: block;
}

.benchmark-suite-header__actions {
    justify-self: end;
    margin-right: 0;
    padding-bottom: 0;
}
/* /Step #1 benchmark media proportion + spacing V30 */

/* ==========================================================================
   Step #1 benchmark media box width V31
   ========================================================================== */

/*
 * V30 verkleinerte nur das Bild. Der umgebende Media-Container behielt seine
 * alte volle Breite, wodurch rechts im sichtbaren Kasten Leerraum entstand.
 *
 * Jetzt schrumpft der Container selbst auf 80 %, das Bild füllt ihn wieder
 * vollständig aus. Damit gilt sichtbar: Kastenbreite = Bildbreite.
 */
.benchmark-suite-header__media {
    width: 80% !important;
    max-width: none;
    justify-self: start;
}

.benchmark-suite-header__media img {
    width: 100% !important;
    max-width: 100%;
    height: auto;
    display: block;
}
/* /Step #1 benchmark media box width V31 */

/* ==========================================================================
   Step #1 benchmark header right alignment V32
   ========================================================================== */

/*
 * Der rechte Headerbereich besteht auf Desktop aus zwei echten auto-breiten
 * Spalten: Aktionsbuttons + Bild. Dadurch gibt es keine unsichtbare Restbreite
 * der alten Media-Spalte mehr und die Bildkante schließt rechts mit den
 * Benchmark-Testkarten ab.
 */
@media (min-width: 981px) {
    .benchmark-suite-header {
        grid-template-columns: minmax(0, 1fr) max-content max-content !important;
        column-gap: 0.45rem !important;
        width: 100%;
    }

    .benchmark-suite-header__actions {
        justify-self: end;
        align-self: start;
        margin: 0 !important;
        padding: 0 0 1rem;
    }

    .benchmark-suite-header__media {
        width: auto !important;
        max-width: none;
        justify-self: end;
        align-self: start;
        margin: 0 !important;
        padding: 0 !important;
    }

    .benchmark-suite-header__media img {
        width: 14.4rem !important;
        max-width: 14.4rem;
        height: auto;
        display: block;
    }
}
/* /Step #1 benchmark header right alignment V32 */

/* ==========================================================================
   Step #1 RAM DIMM visualizer fill V34
   ========================================================================== */

@media (min-width: 821px) {
    /*
     * Der äußere Visualizer spannt seit V33 über drei RAM-Grid-Reihen.
     * Header + Hilfe bleiben auf Inhaltsgröße; das Board bekommt sämtliche
     * verbleibende Höhe.
     */
    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer {
        grid-template-rows: auto auto minmax(0, 1fr);
        align-content: stretch;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__board {
        min-height: 0;
        height: 100%;
        align-items: stretch;
        justify-content: center;
    }

    /*
     * Der eigentliche Slot-Wrapper und die vier Slot-Labels strecken sich
     * ebenfalls. Damit wächst nicht nur der Kasten, sondern die RAM-/DIMM-
     * Darstellung selbst.
     */
    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__slots {
        height: 100%;
        min-height: 0;
        align-items: stretch;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__slot {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-block-start: 0;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__socket {
        flex: 1 1 auto;
        width: 2rem;
        height: auto !important;
        min-height: 8rem;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__label {
        flex: 0 0 auto;
        margin-top: 0.35rem;
    }
}
/* /Step #1 RAM DIMM visualizer fill V34 */


/* ==========================================================================
   Step #1 RAM visualizer final spacing V37-FIX7
   ========================================================================== */

@media (min-width: 821px) {
    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__board {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: 0.5rem;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__slots {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: stretch;
        justify-content: center;
        gap: 0;
        padding-inline: 0;
        overflow: visible;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__slot {
        flex: 0 0 auto;
        width: clamp(2rem, 12%, 2.7rem);
        max-width: 2.7rem;
        min-width: 2rem;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__slot:nth-child(2),
    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__slot:nth-child(4) {
        margin-left: 10px;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__slot:nth-child(3) {
        margin-left: 20px;
    }

    .hardware-profile-editor__ram-slot-cell .ram-slot-visualizer__socket {
        width: 100% !important;
        max-width: 100%;
        margin-inline: 0;
    }
}
/* /Step #1 RAM visualizer final spacing V37-FIX7 */

/* ==========================================================================
   Benchmark admin compact V40
   ========================================================================== */

.benchmark-admin {
    display: grid;
    gap: 0.85rem;
}

.benchmark-admin__header {
    margin-bottom: 0;
}

.benchmark-admin__summary {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.benchmark-admin__summary > div {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 9rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--panel-border, rgba(113, 184, 255, 0.18));
    border-radius: 0.65rem;
    background: rgba(10, 24, 39, 0.72);
}

.benchmark-admin__summary strong {
    font-size: 1.2rem;
    line-height: 1;
}

.benchmark-admin__summary span {
    font-size: 0.82rem;
    opacity: 0.78;
}

.benchmark-admin__create,
.benchmark-admin__suite,
.benchmark-admin__test {
    border: 1px solid var(--panel-border, rgba(113, 184, 255, 0.18));
    border-radius: 0.7rem;
    background: rgba(10, 24, 39, 0.72);
}

.benchmark-admin__create {
    padding: 0.55rem 0.75rem;
}

.benchmark-admin__create > summary,
.benchmark-admin__edit-block > summary,
.benchmark-admin__test > summary {
    cursor: pointer;
    user-select: none;
}

.benchmark-admin__create > summary,
.benchmark-admin__edit-block > summary {
    font-weight: 700;
}

.benchmark-admin__suite-list {
    display: grid;
    gap: 0.7rem;
}

.benchmark-admin__suite {
    padding: 0.7rem;
}

.benchmark-admin__suite-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.benchmark-admin__suite-title {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    min-width: 0;
}

.benchmark-admin__suite-title h2 {
    margin: 0;
    font-size: 1.05rem;
}

.benchmark-admin__suite-title bdi {
    font-size: 0.78rem;
    opacity: 0.65;
}

.benchmark-admin__suite-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.76rem;
    white-space: nowrap;
}

.benchmark-admin .is-active,
.benchmark-admin .is-inactive {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.42rem;
    border-radius: 999px;
    border: 1px solid currentColor;
}

.benchmark-admin .is-active {
    color: #7ed6a1;
}

.benchmark-admin .is-inactive {
    color: #c5a7a7;
}

.benchmark-admin__edit-block {
    margin-top: 0.5rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(113, 184, 255, 0.12);
}

.benchmark-admin__form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem 0.7rem;
    margin-top: 0.65rem;
}

.benchmark-admin__form-grid--test {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.65rem;
    margin-top: 0;
}

.benchmark-admin__form-grid .admin-field {
    margin: 0;
}

.benchmark-admin__form-grid label {
    margin-bottom: 0.2rem;
}

.benchmark-admin__form-grid input {
    min-height: 2.35rem;
}

.benchmark-admin__check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: end;
    min-height: 2.35rem;
    margin: 0;
}

.benchmark-admin__actions {
    display: flex;
    align-items: end;
}

.benchmark-admin__actions .button {
    min-height: 2.35rem;
}

.benchmark-admin__tests {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.55rem;
}

.benchmark-admin__test {
    overflow: hidden;
}

.benchmark-admin__test > summary {
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) minmax(7rem, 0.8fr) auto auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.45rem 0.6rem;
    font-size: 0.8rem;
}

.benchmark-admin__test-name {
    font-weight: 700;
}

.benchmark-admin__test--create > summary {
    display: block;
    font-weight: 700;
}

.benchmark-admin__history-note {
    margin: 0;
    padding: 0.55rem 0.7rem;
    border-left: 3px solid rgba(77, 185, 255, 0.65);
    background: rgba(10, 24, 39, 0.45);
    font-size: 0.8rem;
    opacity: 0.82;
}

@media (max-width: 900px) {
    .benchmark-admin__form-grid,
    .benchmark-admin__form-grid--test {
        grid-template-columns: 1fr;
    }

    .benchmark-admin__suite-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .benchmark-admin__suite-meta {
        flex-wrap: wrap;
        white-space: normal;
    }

    .benchmark-admin__test > summary {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}
/* /Benchmark admin compact V40 */

/* Benchmark admin visual polish V41 */

.benchmark-admin__suite-title h2 {
    font-size: 1rem;
    line-height: 1.25;
}

.benchmark-admin__suite-title bdi,
.benchmark-admin__suite-meta,
.benchmark-admin__test > summary {
    font-size: 0.78rem;
    line-height: 1.3;
}

.benchmark-admin__form-grid .admin-field > label,
.benchmark-admin__check {
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 600;
}

.benchmark-admin__form-grid input:not([type="checkbox"]) {
    min-height: 2.15rem;
    padding-block: 0.35rem;
    font-size: 0.82rem;
}

.benchmark-admin__actions .button {
    min-height: 2.15rem;
    padding: 0.42rem 0.7rem;
    font-size: 0.78rem;
}

.benchmark-admin input[type="checkbox"] {
    appearance: auto;
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    min-height: 1rem !important;
    max-width: 1rem !important;
    max-height: 1rem !important;
    padding: 0 !important;
    margin: 0;
    border-radius: 0.15rem;
    box-shadow: none;
    flex: 0 0 1rem;
}

.benchmark-admin__check {
    display: inline-flex;
    align-items: center;
    align-self: end;
    gap: 0.4rem;
    min-height: 2.15rem;
    margin: 0;
    white-space: nowrap;
}

.benchmark-admin .is-active,
.benchmark-admin .is-inactive {
    padding: 0.1rem 0.35rem;
    font-size: 0.7rem;
    line-height: 1.2;
}

.benchmark-admin__edit-block > summary,
.benchmark-admin__create > summary {
    font-size: 0.82rem;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .benchmark-admin__check {
        white-space: normal;
    }
}
/* /Benchmark admin visual polish V41 */

/* Benchmark admin image sync V44 */

.benchmark-admin__image-tools {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(113, 184, 255, 0.12);
    font-size: 0.76rem;
}

.benchmark-admin__image-preview {
    width: 4.5rem;
    height: 2.55rem;
    object-fit: cover;
    border-radius: 0.35rem;
    border: 1px solid rgba(113, 184, 255, 0.22);
}

.benchmark-admin__image-tools form {
    margin-left: auto;
}
/* /Benchmark admin image sync V44 */

/* Benchmark update watcher V46 */

.benchmark-update__toolbar {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    font-size: 0.76rem;
}

.benchmark-update__inbox {
    display: grid;
    gap: 0.55rem;
    padding: 0.7rem;
    border: 1px solid rgba(255, 184, 77, 0.28);
    border-radius: 0.7rem;
    background: rgba(48, 31, 8, 0.28);
}

.benchmark-update__inbox header h2,
.benchmark-update__inbox header p {
    margin: 0;
}

.benchmark-update__inbox header h2 {
    font-size: 0.95rem;
}

.benchmark-update__inbox header p {
    margin-top: 0.2rem;
    font-size: 0.76rem;
    opacity: 0.78;
}

.benchmark-update__candidate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, auto);
    gap: 0.7rem;
    align-items: center;
    padding: 0.55rem 0.65rem;
    border: 1px solid rgba(255, 184, 77, 0.18);
    border-radius: 0.55rem;
    background: rgba(10, 24, 39, 0.72);
}

.benchmark-update__candidate-main {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    min-width: 0;
    font-size: 0.76rem;
}

.benchmark-update__candidate-main strong {
    font-size: 0.84rem;
}

.benchmark-update__version {
    font-weight: 700;
}

.benchmark-update__review {
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) auto auto;
    gap: 0.4rem;
    align-items: center;
}

.benchmark-update__review input {
    min-height: 2.1rem;
    font-size: 0.78rem;
}

.benchmark-update__sources {
    margin-top: 0.6rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(113, 184, 255, 0.12);
}

.benchmark-update__sources > summary {
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
}

.benchmark-update__sources > p {
    margin: 0.45rem 0;
    font-size: 0.74rem;
    opacity: 0.75;
}

.benchmark-update__source-form {
    display: grid;
    grid-template-columns: 9rem minmax(14rem, 1.4fr) minmax(13rem, 1fr) 5rem auto auto;
    gap: 0.45rem;
    align-items: center;
    padding: 0.45rem 0;
    border-top: 1px solid rgba(113, 184, 255, 0.08);
}

.benchmark-update__source-form input,
.benchmark-update__source-form select {
    min-height: 2.1rem;
    font-size: 0.76rem;
}

.benchmark-update__source-state {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    font-size: 0.72rem;
    opacity: 0.76;
}

.benchmark-update__error {
    color: #e8a5a5;
    opacity: 1;
}

@media (max-width: 1100px) {
    .benchmark-update__candidate,
    .benchmark-update__source-form {
        grid-template-columns: 1fr;
    }

    .benchmark-update__review {
        grid-template-columns: 1fr;
    }

    .benchmark-update__source-state {
        grid-column: 1;
    }
}
/* /Benchmark update watcher V46 */

/* Benchmark ranking spacing using existing admin classes */
.benchmark-admin__test:not(:has(form)) {
    padding: .75rem .9rem;
}

.benchmark-admin__test:not(:has(form)) > .benchmark-update__toolbar {
    margin-bottom: .45rem;
}

.benchmark-admin__test:not(:has(form)) > .benchmark-admin__suite-meta {
    margin-bottom: .5rem;
}

.benchmark-admin__test:not(:has(form)) > .benchmark-admin__suite-meta + small,
.benchmark-admin__test:not(:has(form)) > .benchmark-admin__suite-meta + h4,
.benchmark-admin__test:not(:has(form)) > .benchmark-admin__suite-meta + table {
    display: block;
    margin-top: .15rem;
}

.benchmark-admin__test:not(:has(form)) > table {
    width: 100%;
}


/* Speedtest product integration */
.speedtest-mode-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-block: 0 1rem;
}

.speedtest-phase {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem;
    margin-block: 1rem;
}

.speedtest-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 0.8rem;
    margin-block: 1rem;
}

.speedtest-metric-value {
    display: block;
    margin-block-start: 0.35rem;
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.speedtest-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
    margin: 0;
}

.speedtest-result-grid div {
    min-width: 0;
}

.speedtest-result-grid dt {
    color: var(--pc-text-soft);
    font-size: 0.86rem;
}

.speedtest-result-grid dd {
    margin: 0.15rem 0 0;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 520px) {
    .speedtest-result-grid {
        grid-template-columns: 1fr;
    }
}


/* Premium-Stability: klare Abschnittstrennung und laufende Messwerte. */
.speedtest-stability-page {
    display: grid;
    gap: clamp(1.35rem, 2.5vw, 2rem);
}

.speedtest-stability-page > * {
    margin-block: 0;
}

.speedtest-stability-section {
    display: grid;
    gap: 1.15rem;
}

.speedtest-stability-live-grid,
.speedtest-stability-section .system-card-grid {
    margin-top: 0.25rem;
}

.speedtest-stability-target-card {
    display: grid;
    gap: 0.8rem;
}

.speedtest-stability-target-status,
.speedtest-stability-clock,
.speedtest-result-state {
    font-weight: 700;
}

.speedtest-stability-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
    gap: 0.75rem;
    margin: 0;
}

.speedtest-stability-metrics > div {
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid rgba(127, 127, 127, 0.25);
    border-radius: 0.65rem;
    background: rgba(127, 127, 127, 0.06);
}

.speedtest-stability-metrics dt {
    margin: 0 0 0.25rem;
    font-size: 0.82rem;
    opacity: 0.75;
}

.speedtest-stability-metrics dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.speedtest-stability-alert {
    margin: 0;
}

.speedtest-result-state {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

[data-speedtest-result].is-loading .speedtest-result-state::before {
    width: 1rem;
    height: 1rem;
    content: "";
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: pcspecs-stability-spin 0.8s linear infinite;
}

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


/* PCSpecs – Messserver-Steuerung: Zustandsauswahl */
.speedtest-target-state-control .admin-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 32rem;
    gap: 0.7rem;
}

.speedtest-target-state-option {
    position: relative;
    align-items: center;
    gap: 0.7rem;
    min-height: 3rem;
    margin: 0;
    padding: 0.72rem 0.9rem;
    border: 1px solid var(--pc-line);
    border-radius: var(--pc-radius-sm);
    background: rgba(7, 13, 23, 0.68);
    color: var(--pc-text-soft);
    cursor: pointer;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        box-shadow 150ms ease,
        color 150ms ease;
}

.speedtest-target-state-option:hover {
    border-color: var(--pc-line-strong);
    background: rgba(18, 27, 43, 0.86);
    color: var(--pc-text);
}

.speedtest-target-state-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1.18rem;
    height: 1.18rem;
    flex: 0 0 1.18rem;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(143, 158, 179, 0.72);
    border-radius: 50%;
    background: var(--pc-bg-soft);
    box-shadow: inset 0 0 0 0.18rem var(--pc-bg-soft);
    cursor: pointer;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        box-shadow 150ms ease;
}

.speedtest-target-state-option input[type="radio"]:focus-visible {
    outline: 2px solid var(--pc-cyan);
    outline-offset: 3px;
}

.speedtest-target-state-option input[type="radio"]:checked {
    border-color: var(--pc-cyan);
    background: var(--pc-cyan);
}

.speedtest-target-state-option span {
    display: block;
    font-weight: 700;
}

.speedtest-target-state-option--enabled:has(input:checked) {
    border-color: rgba(84, 215, 160, 0.62);
    background: rgba(84, 215, 160, 0.10);
    box-shadow: inset 0 0 0 1px rgba(84, 215, 160, 0.08);
    color: var(--pc-text);
}

.speedtest-target-state-option--enabled input[type="radio"]:checked {
    border-color: var(--pc-success);
    background: var(--pc-success);
}

.speedtest-target-state-option--blocked:has(input:checked) {
    border-color: rgba(255, 112, 134, 0.58);
    background: rgba(255, 112, 134, 0.09);
    box-shadow: inset 0 0 0 1px rgba(255, 112, 134, 0.07);
    color: var(--pc-text);
}

.speedtest-target-state-option--blocked input[type="radio"]:checked {
    border-color: var(--pc-danger);
    background: var(--pc-danger);
}

@media (max-width: 36rem) {
    .speedtest-target-state-control .admin-choice-grid {
        grid-template-columns: 1fr;
    }
}


/* PCSpecs – Admin-Dashboard: Aktivierungsschalter */
.admin-dashboard-settings-form {
    display: grid;
    justify-items: start;
    gap: 0.8rem;
    width: 100%;
}

.admin-dashboard-settings-form .button {
    margin-block-start: 0.15rem;
}

.admin-setting-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 100%;
    margin: 0;
    color: var(--pc-text-soft);
    cursor: pointer;
    font-weight: 700;
    line-height: 1.4;
    user-select: none;
}

.admin-setting-toggle__input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: 0;
    opacity: 0;
}

.admin-setting-toggle__switch {
    position: relative;
    display: inline-block;
    inline-size: 3rem;
    block-size: 1.65rem;
    flex: 0 0 3rem;
    border: 1px solid rgba(143, 158, 179, 0.5);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(18, 27, 43, 0.96), rgba(8, 13, 23, 0.96));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 0.2rem 0.55rem rgba(0,0,0,0.18);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-setting-toggle__switch::after {
    position: absolute;
    inset-block-start: 50%;
    inset-inline-start: 0.2rem;
    inline-size: 1.15rem;
    block-size: 1.15rem;
    border-radius: 50%;
    content: "";
    background: var(--pc-muted);
    box-shadow: 0 0.12rem 0.32rem rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.16);
    transform: translateY(-50%);
    transition: inset-inline-start 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.admin-setting-toggle:hover .admin-setting-toggle__switch {
    border-color: var(--pc-line-strong);
}

.admin-setting-toggle__input:focus-visible + .admin-setting-toggle__switch {
    outline: 2px solid var(--pc-cyan);
    outline-offset: 3px;
}

.admin-setting-toggle__input:checked + .admin-setting-toggle__switch {
    border-color: rgba(84, 215, 160, 0.72);
    background: linear-gradient(135deg, rgba(20,126,102,0.94), rgba(38,174,137,0.92));
    box-shadow: inset 0 0 0 1px rgba(173,255,226,0.08), 0 0 0.8rem rgba(84,215,160,0.14);
}

.admin-setting-toggle__input:checked + .admin-setting-toggle__switch::after {
    inset-inline-start: calc(100% - 1.35rem);
    background: #eafff7;
}

.admin-setting-toggle__input:checked ~ .admin-setting-toggle__text {
    color: var(--pc-text);
}

@media (prefers-reduced-motion: reduce) {
    .admin-setting-toggle__switch,
    .admin-setting-toggle__switch::after {
        transition: none;
    }
}


/* PCSpecs – Admin-Dashboard: Systemübersicht */
.admin-dashboard-section + .admin-dashboard-section { margin-block-start: 2rem; }
.admin-dashboard-section__header { margin-block-end: .9rem; }
.admin-dashboard-section__header h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.admin-dashboard-section__header p { max-width: 52rem; margin: .35rem 0 0; color: var(--pc-muted); }
.admin-dashboard-stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; margin-block-end: .9rem; }
.admin-dashboard-stat { display: grid; gap: .25rem; padding: .9rem 1rem; border: 1px solid var(--pc-line); border-radius: var(--pc-radius); background: rgba(9,15,25,.82); }
.admin-dashboard-stat span { color: var(--pc-muted); font-size: .78rem; font-weight: 720; }
.admin-dashboard-stat strong { color: var(--pc-text); font-size: clamp(1.45rem,3vw,2rem); line-height: 1.1; }
.admin-dashboard-card--wide { margin-block-end: .9rem; }
.admin-dashboard-card h3 { margin: 0; font-size: 1.05rem; }
.admin-speedtest-overview { display: grid; gap: .85rem; }
.admin-speedtest-overview__servers,.admin-speedtest-overview__queues { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.admin-speedtest-server,.admin-speedtest-queue { padding: .85rem; border: 1px solid rgba(123,171,216,.14); border-radius: var(--pc-radius-sm); background: rgba(4,9,17,.48); }
.admin-speedtest-server { display: grid; gap: .45rem; }
.admin-operational-state { display: inline-flex; align-items: center; gap: .4rem; width: fit-content; color: var(--pc-muted); font-size: .82rem; font-weight: 680; }
.admin-operational-state::before { width: .55rem; height: .55rem; flex: 0 0 auto; border-radius: 50%; content: ""; background: var(--pc-muted); }
.admin-operational-state.is-healthy { color: #91ead1; }
.admin-operational-state.is-healthy::before { background: var(--pc-success); box-shadow: 0 0 .6rem rgba(84,215,160,.38); }
.admin-operational-state.is-degraded { color: var(--pc-warning); }
.admin-operational-state.is-degraded::before { background: var(--pc-warning); box-shadow: 0 0 .6rem rgba(255,191,99,.28); }
.admin-operational-state.is-unreachable { color: #ff9cac; }
.admin-operational-state.is-unreachable::before { background: var(--pc-danger); box-shadow: 0 0 .6rem rgba(255,112,134,.28); }
.admin-operational-state.is-stale,
.admin-operational-state.is-unknown { color: var(--pc-muted); }
.admin-operational-state.is-stale::before,
.admin-operational-state.is-unknown::before { background: var(--pc-muted); box-shadow: none; }
.admin-speedtest-queue dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; margin: .7rem 0 0; }
.admin-speedtest-queue dt { color: var(--pc-muted); font-size: .72rem; font-weight: 680; }
.admin-speedtest-queue dd { margin: .12rem 0 0; color: var(--pc-text); font-size: 1rem; font-weight: 780; }
.admin-speedtest-queue__note { margin-block-start: .65rem !important; font-size: .76rem; }
.home-operational-notice p { white-space: pre-line; }
@media (max-width: 48rem) {
    .admin-dashboard-stat-grid,.admin-speedtest-overview__servers,.admin-speedtest-overview__queues { grid-template-columns: 1fr; }
}


/* Account – Login-/Sicherheitsprotokoll */
.account-security-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.account-security-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 48rem;
}

.account-security-table th,
.account-security-table td {
    padding: 0.72rem 0.75rem;
    border-bottom: 1px solid rgba(123, 171, 216, 0.14);
    text-align: start;
    vertical-align: top;
}

.account-security-table th {
    color: var(--pc-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.account-security-table__empty {
    color: var(--pc-muted);
    text-align: center !important;
}

.security-result {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.48rem;
    border: 1px solid rgba(123, 171, 216, 0.24);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 780;
}

.security-result--success {
    border-color: rgba(55, 201, 120, 0.38);
    color: #88e8b2;
    background: rgba(55, 201, 120, 0.08);
}

.security-result--failure {
    border-color: rgba(225, 173, 53, 0.4);
    color: #f0cf7d;
    background: rgba(225, 173, 53, 0.08);
}

.security-result--blocked {
    border-color: rgba(239, 98, 98, 0.4);
    color: #ffabab;
    background: rgba(239, 98, 98, 0.08);
}

.account-security-pagination {
    margin-top: 1rem;
}


/* Auth – unsichtbarer Bot-Grundschutz + adaptive Prüfung */
.auth-honeypot {
    position: absolute !important;
    inset-inline-start: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0.001 !important;
    pointer-events: none !important;
}

.auth-human-check {
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(225, 173, 53, 0.34);
    border-radius: 0.8rem;
    background: rgba(225, 173, 53, 0.055);
}

.auth-human-check legend {
    padding-inline: 0.35rem;
    font-weight: 800;
}

.auth-human-check p {
    margin: 0;
    color: var(--pc-muted);
}


/* Additional authentication */
.additional-auth-card {
    gap: 1rem;
}

.additional-auth-notice {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(225, 173, 53, 0.34);
    border-radius: 0.8rem;
    background: rgba(225, 173, 53, 0.07);
}

.additional-auth-setup,
.additional-auth-recovery {
    display: grid;
    gap: 0.8rem;
}

.additional-auth-recovery__intro {
    display: grid;
    gap: 0.3rem;
}

.additional-auth-recovery__intro > * {
    margin: 0;
}

.additional-auth-recovery__warning {
    color: var(--pc-danger);
    font-weight: 700;
}

.additional-auth-recovery__warning strong {
    font-weight: 800;
}

.additional-auth-recovery__explanation {
    color: var(--pc-text-soft);
}

.additional-auth-actions,
.additional-auth-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.additional-auth-recovery textarea {
    width: 100%;
    min-height: 11rem;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.additional-auth-dialog {
    width: min(34rem, calc(100% - 2rem));
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    background: #17191f;
    color: inherit;
    box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.42);
}

.additional-auth-dialog::backdrop {
    background: rgba(0, 0, 0, 0.66);
    backdrop-filter: blur(2px);
}

.additional-auth-dialog__form {
    display: grid;
    gap: 0.9rem;
    padding: 1.25rem;
}

.additional-auth-dialog__form h2,
.additional-auth-dialog__form p {
    margin: 0;
}

.additional-auth-dialog__error {
    margin: 0;
    color: #ffb4b4;
}

/* PCSpecs TOTP QR setup */
.additional-auth-qr {
    display: flex;
    justify-content: flex-start;
    margin: 1rem 0 1.25rem;
}

.additional-auth-qr[hidden] {
    display: none;
}

.additional-auth-qr canvas {
    display: block;
    max-width: 100%;
    height: auto;
    padding: 0.75rem;
    background: #fff;
    border-radius: 0.75rem;
}


/* Datenschutzänderungen: persistenter, nicht blockierender Hinweis. */
.privacy-change-notice__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.35rem;
}

.privacy-change-notice__actions form {
    margin: 0;
}
