.gh-speed { background: #f5f5f3; color: #25282c; padding-bottom: 3.5rem; }
.gh-speed [hidden] { display: none !important; }
.gh-speed-hero { background: #fff; border-bottom: 1px solid #dfdfdc; padding: 1.3rem 0 2.5rem; }
.gh-speed-back { display: inline-block; padding: .7rem 0; margin-bottom: 1.2rem; color: #62666b; font-size: .8rem; }
.gh-speed-hero h1 { color: #8d111b; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.045em; margin: .6rem 0 1rem; }
.gh-speed-hero p:not(.gh-eyebrow) { max-width: 44rem; font-size: 1.05rem; margin: 0; }
.gh-speed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: clamp(1.5rem, 3vw, 2.7rem); padding-top: 2.5rem; align-items: start; }
.gh-speed-main { min-width: 0; }
.gh-speed-card { background: #fff; padding: clamp(1.2rem, 3vw, 2.2rem); border: 1px solid #dfdfdc; border-radius: 14px; box-shadow: 0 6px 22px #26252205; }
.gh-speed-card-head { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.7rem; }
.gh-speed-kicker { display: block; text-transform: uppercase; letter-spacing: .09em; font-size: .68rem; font-weight: 700; color: #89111b; margin-bottom: .6rem; }
.gh-speed-card h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -.025em; margin: 0; }
.gh-speed-provider { display: inline-flex; align-items: center; gap: .5rem; color: #555c63; font-size: .69rem; }
.gh-speed-provider > span { color: #8d111b; font-size: .75rem; }
.gh-speed-live { display: grid; grid-template-columns: 195px minmax(0, 1fr); align-items: center; gap: 1.4rem; padding: .5rem 0 1.8rem; margin-bottom: 1.7rem; border-bottom: 1px solid #e0e1dd; }
.gh-speed-gauge { position: relative; width: 195px; height: 195px; }
.gh-speed-gauge > svg { display: block; width: 100%; height: 100%; overflow: visible; }
.gh-speed-gauge circle { fill: none; }
.gh-speed-gauge-track { stroke: #ece4e5; stroke-width: 9; stroke-linecap: round; }
.gh-speed-gauge-value { stroke: #8d111b; stroke-width: 9; stroke-linecap: round; transition: stroke-dasharray .5s ease; }
.gh-speed-gauge-orbit { stroke: #8d111b; stroke-width: 2; opacity: 0; transform-origin: 100px 100px; }
.gh-speed[data-speed-state="running"] .gh-speed-gauge-orbit, .gh-speed[data-speed-state="loading"] .gh-speed-gauge-orbit { opacity: .5; animation: gh-speed-orbit 3.5s linear infinite; }
.gh-speed-gauge-centre { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .2rem; padding-bottom: .2rem; }
.gh-speed-gauge-centre > span { font-size: .68rem; color: #62666b; }
.gh-speed-gauge-centre strong { color: #8d111b; font-size: 2rem; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.gh-speed-gauge-zero, .gh-speed-gauge-max { position: absolute; bottom: 15px; color: #72777c; font-size: .64rem; }
.gh-speed-gauge-zero { left: 27px; }
.gh-speed-gauge-max { right: 22px; }
.gh-speed-live-title { font-size: .92rem; font-weight: 700; margin: 0 0 .45rem; }
.gh-speed-live-caption { font-size: .74rem; color: #62666b; line-height: 1.7; margin-bottom: 1rem; }
.gh-speed-stages { display: flex; flex-wrap: wrap; gap: .5rem .8rem; }
.gh-speed-stages > span { display: inline-flex; align-items: center; gap: .4rem; color: #71767b; font-size: .63rem; font-weight: 600; }
.gh-speed-stages > span::before { content: ''; border: 1px solid #c5c9c7; width: 8px; height: 8px; border-radius: 50%; }
.gh-speed-stages > span[data-state="current"] { color: #8d111b; }
.gh-speed-stages > span[data-state="current"]::before { border-color: #8d111b; background: #8d111b; animation: gh-speed-pulse 1.8s ease-in-out infinite; }
.gh-speed-stages > span[data-state="done"] { color: #343a3e; }
.gh-speed-stages > span[data-state="done"]::before { border-color: #8d111b; background: #8d111b; }
.gh-speed-live .gh-speed-start-row { margin-top: 1.1rem; gap: .8rem; }
.gh-speed-live .gh-speed-connection { flex-basis: 100%; }
.gh-speed-chart { margin-top: 1.1rem; border-top: 1px solid #eadbdd; padding-top: .7rem; }
.gh-speed-chart-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem; color: #73787c; font-size: .59rem; }
.gh-speed-chart > svg { width: 100%; height: auto; display: block; margin-top: .4rem; overflow: visible; }
.gh-speed-chart-grid { stroke: #e7dddd; stroke-width: 1; stroke-dasharray: 3 5; fill: none; }
.gh-speed-chart-area { fill: #8d111b; opacity: .07; }
.gh-speed-chart-line { fill: none; stroke: #8d111b; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.gh-speed-chart-dot { fill: #8d111b; stroke: #fff; stroke-width: 1; }
.gh-speed-chart-halo { fill: #8d111b; opacity: .14; }
.gh-speed-chart[data-active="true"] .gh-speed-chart-halo { animation: gh-speed-pulse 1.8s ease-in-out infinite; }
.gh-speed-chart-caption { display: block; color: #73787c; font-size: .59rem; margin-top: .35rem; }
.gh-speed-chart[data-speed-chart="upload"] .gh-speed-chart-line { stroke: #29676c; }
.gh-speed-chart[data-speed-chart="upload"] :is(.gh-speed-chart-dot, .gh-speed-chart-area, .gh-speed-chart-halo) { fill: #29676c; }
@keyframes gh-speed-orbit { to { transform: rotate(360deg); } }
@keyframes gh-speed-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.gh-speed-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gh-speed-metric { min-width: 0; border: 1px solid #e0e1dd; border-radius: 10px; padding: 1.2rem; }
.gh-speed-bandwidth { background: #faf6f6; border-color: #eadbdd; }
.gh-speed-metric-label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .7rem; color: #484c52; }
.gh-speed-metric-label i { margin-right: .3rem; color: #8d111b; }
.gh-speed-metric > div:not(.gh-speed-chart) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; }
.gh-speed-metric strong { color: #8d111b; font-variant-numeric: tabular-nums; font-size: clamp(2.1rem, 3.4vw, 3.1rem); line-height: 1.2; letter-spacing: -.05em; font-weight: 700; overflow-wrap: anywhere; }
.gh-speed-unit { font-size: .8rem; color: #5d6269; }
.gh-speed-metric p { color: #63686e; font-size: .71rem; margin: .7rem 0 0; line-height: 1.6; }
.gh-speed-latency { padding: 1rem 1.2rem; }
.gh-speed-latency strong { font-size: 1.7rem; color: #25282c; }
.gh-speed-status { margin: 1.5rem 0 .7rem; font-size: .86rem; line-height: 1.7; min-height: 1.5rem; }
.gh-speed[data-speed-state="error"] .gh-speed-status, .gh-speed[data-speed-state="incomplete"] .gh-speed-status { color: #80101a; background: #fff2f2; border-left: 3px solid #8d111b; padding: .75rem; }
.gh-speed-progress { display: block; width: 100%; height: 5px; border: 0; border-radius: 5px; background: #e0e1dd; accent-color: #8d111b; margin-bottom: 1.4rem; }
.gh-speed-progress::-webkit-progress-bar { background: #e0e1dd; border-radius: 5px; }
.gh-speed-progress::-webkit-progress-value { background: #8d111b; border-radius: 5px; transition: width .25s; }
.gh-speed-start-row { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; justify-content: space-between; margin-top: 1.3rem; }
.gh-speed-connection { min-width: 0; flex: 1 1 220px; }
.gh-speed-connection label { font-size: .78rem; font-weight: 600; display: block; margin-bottom: .5rem; }
.gh-speed-connection select { font-size: .86rem; min-height: 48px; }
.gh-speed-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.gh-speed-buttons .btn, .gh-speed-results .btn { font-size: .86rem; font-weight: 600; min-height: 48px; padding: .7rem 1.3rem; }
.gh-speed-consent { font-size: .7rem; line-height: 1.8; color: #62666b; margin: 1.3rem 0 0; }
.gh-speed a { color: #89111b; }
.gh-speed-mobile, .gh-speed-notice { background: #f6f0e1; padding: 1rem; border-radius: 8px; font-size: .82rem; margin-top: 1rem; line-height: 1.7; }
.gh-speed-results { border-top: 1px solid #e0e1dd; margin-top: 1.5rem; padding-top: 1.5rem; }
.gh-speed-results h3 { font-size: 1rem; font-weight: 700; }
.gh-speed-results p { font-size: .8rem; line-height: 1.7; }
.gh-speed-results [data-speed-context] { font-weight: 600; color: #555b61; }
.gh-speed-copy-status { display: block; font-size: .78rem; margin-top: .7rem; }
.gh-speed-result-details { margin-top: 1rem; font-size: .8rem; }
.gh-speed-result-details summary { cursor: pointer; padding: .6rem 0; }
.gh-speed-result-details textarea { width: 100%; box-sizing: border-box; border: 1px solid #c6c9cc; border-radius: 8px; background: #fafafa; padding: 1rem; font-size: .8rem; line-height: 1.7; margin-top: .5rem; resize: vertical; }
.gh-speed-reading { padding: 2rem .25rem 0; }
.gh-speed-reading h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.gh-speed-reading p { font-size: .85rem; line-height: 1.9; }
.gh-speed-sidebar h2 { font-size: 1.08rem; font-weight: 700; line-height: 1.5; }
.gh-speed-tips { border-top: 3px solid #8d111b; padding: 1.5rem 0 0; }
.gh-speed-tips ol { list-style: none; counter-reset: prep; padding: 0; }
.gh-speed-tips li { position: relative; counter-increment: prep; font-size: .8rem; line-height: 1.8; padding: .85rem 0 .85rem 2.5rem; border-bottom: 1px solid #dcded9; }
.gh-speed-tips li::before { content: counter(prep); position: absolute; top: .85rem; left: 0; border: 1px solid #bfc2be; border-radius: 50%; width: 26px; height: 26px; display: grid; place-items: center; color: #8d111b; font-weight: 700; }
.gh-speed-tips strong { display: block; }
.gh-speed-help { margin-top: 2rem; background: #ecece8; border-radius: 10px; padding: 1.4rem; }
.gh-speed-help > i { color: #8d111b; font-size: 1.5rem; margin-bottom: .9rem; }
.gh-speed-help p { font-size: .8rem; line-height: 1.8; }
.gh-speed-help a { display: block; font-weight: 600; font-size: .78rem; padding: .45rem 0; }
.gh-speed-return { display: inline-block; margin-top: 1.3rem; font-size: .8rem; padding: .7rem 0; }
.gh-speed :is(button, a, select, summary, textarea):focus-visible { outline: 3px solid #245cac; outline-offset: 4px; }
@media(max-width: 991px) { .gh-speed-layout { grid-template-columns: minmax(0, 1fr); } .gh-speed-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } .gh-speed-help { margin: 0; } .gh-speed-return { grid-column: 1/-1; margin: 0; } }
@media(max-width: 575px) { .gh-speed-hero { padding-bottom: 2rem; } .gh-speed-metrics { gap: .65rem; } .gh-speed-metric { padding: .85rem; } .gh-speed-metric strong { font-size: clamp(1.2rem, 6vw, 2rem); } .gh-speed-latency strong { font-size: 1.6rem; } .gh-speed-metric-label { font-size: .76rem; } .gh-speed-sidebar { grid-template-columns: minmax(0, 1fr); } .gh-speed-buttons, .gh-speed-buttons .btn { width: 100%; } .gh-speed-provider { margin-bottom: .2rem; } .gh-speed-live { grid-template-columns: minmax(0, 1fr); gap: .5rem; } .gh-speed-gauge { margin: 0 auto; } .gh-speed-chart-label, .gh-speed-chart-caption { font-size: .57rem; } }
@media(prefers-reduced-motion: reduce) { .gh-speed-progress::-webkit-progress-value, .gh-speed-gauge-value { transition: none; } .gh-speed-gauge-orbit, .gh-speed-stages > span[data-state="current"]::before, .gh-speed-chart[data-active="true"] .gh-speed-chart-halo { animation: none !important; } }
