.measure-guide {
    --ink: #142743;
    --berry: #a31659;
    --line: #e6d9dd;
    font-family: "Vivid Brand", "Plus Jakarta Sans", system-ui, sans-serif;
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 36px) clamp(14px, 3vw, 40px) 48px;
    color: var(--ink);
}
.measure-guide [hidden] { display: none !important; }
.measure-guide h1, .measure-guide h2, .measure-guide h3 { color: var(--ink); font-weight: 800; }
.measure-guide p { line-height: 1.65; }
.measure-guide a { color: var(--berry); text-underline-offset: 3px; }
.measure-hero {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(20px, 3vw, 44px);
    padding: clamp(20px, 3vw, 40px);
    border-radius: 18px;
    background: #fbecf0;
}
.measure-intro h1 { font-size: clamp(2rem, 4.1vw, 3.75rem); line-height: 1.06; letter-spacing: -.045em; }
.measure-intro p { margin: 18px 0; }
.measure-intro a { font-weight: 700; }
.measure-player { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fffaf7; }
.measure-stage img, .measure-stage iframe, .measure-steps img { display: block; width: 100%; height: auto; }
.measure-stage iframe { border: 0; aspect-ratio: 800 / 760; }
.measure-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.measure-bar button { background: var(--berry); color: white; border: 0; border-radius: 24px; padding: 8px 16px; min-height: 42px; font-weight: 700; }
.measure-bar button span { margin-right: 3px; font-size: .8em; }
.measure-duration, .measure-time { font-size: .85rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.measure-seek { flex: 1; min-width: 0; accent-color: var(--berry); }
.measure-error { padding: 0 12px; }
.measure-steps { margin-top: clamp(36px, 6vw, 72px); scroll-margin-top: 1rem; }
.measure-guide h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); letter-spacing: -.035em; }
.measure-steps > :is(ol, ul) { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); margin: 24px 0 0; padding: 0; }
.measure-steps li { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.measure-instruction { padding: clamp(16px, 2vw, 24px); }
.measure-instruction h3 { font-size: clamp(1.12rem, 2vw, 1.4rem); }
.measure-instruction p, .measure-example p:last-child { margin: 0; }
.measure-example, .measure-faq { margin: 42px auto 0; max-width: 780px; }
.measure-converter { margin: 42px auto 0; max-width: 780px; padding: clamp(16px, 3vw, 28px); background: #fbecf0; border-radius: 14px; }
.measure-units { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.measure-units label { font-weight: 700; }
.measure-units input { display: block; width: 100%; margin-top: 4px; padding: 9px 12px; border: 1px solid #8d8085; border-radius: 6px; background: white; color: var(--ink); font: inherit; }
.measure-units input:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
#converter-status { margin: 0; }
#converter-status:not(:empty) { margin-top: 12px; }
@media (max-width: 560px) {
    .measure-units { grid-template-columns: 1fr; }
}
.measure-example table { width: 100%; border-collapse: collapse; font-size: clamp(.86rem, 2vw, 1rem); }
.measure-example th, .measure-example td { padding: 12px 9px; text-align: left; border-bottom: 1px solid var(--line); }
.measure-example thead { background: #fbecf0; }
.measure-example tbody td { white-space: nowrap; }
.measure-example .measure-check { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--berry); background: #fbecf0; }
.measure-faq details { border-bottom: 1px solid var(--line); }
.measure-faq summary { padding: 15px 0; font-weight: 700; cursor: pointer; }
.measure-faq details p { margin: 0 0 16px; }
.measure-guide .guide-diagram { display: block; width: 100%; max-width: 420px; height: auto; margin: 12px 0 20px; }
@media (max-width: 740px) {
    .measure-hero, .measure-steps > :is(ol, ul) { grid-template-columns: 1fr; }
    .measure-bar { gap: 8px; }
}
