@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

.rm {
    --bg: transparent;
    --card: transparent;
    --ink: #0d0d0d;
    --muted: #6b7385;
    --line: #d9dce3;
    max-width: 100%;
    margin: 0 0 42px;
    padding: 0;
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    line-height: 1.55;
    color: var(--ink);
}

.rm h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 600;
    font-size: clamp(24px, 3.6vw, 32px);
    line-height: 1.15;
    margin: 0 0 28px;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.rm .lead {
    display: none;
}

.pipe {
    --pipe-cols: 4;
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--pipe-cols), 1fr);
    margin-bottom: 36px;
}

.pipe::before,
.pipe .fill {
    content: "";
    position: absolute;
    top: 31px;
    left: calc(100% / (var(--pipe-cols) * 2));
    height: 1px;
}

.pipe::before {
    right: calc(100% / (var(--pipe-cols) * 2));
    background: var(--line);
}

.pipe .fill {
    width: 0;
    background: var(--ink);
    transition: width 0.5s ease;
}

.node {
    position: relative;
    z-index: 1;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: center;
}

.n {
    display: block;
    height: 18px;
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
    transition: color 0.25s;
}

.dot {
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--ink);
    transition: box-shadow 0.25s, transform 0.25s;
}

.node .t {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    padding: 0 6px;
    line-height: 1.35;
    transition: color 0.25s;
}

.node.on .n,
.node.on .t {
    color: var(--ink);
}

.node.on .t {
    font-weight: 500;
}

.node.on .dot {
    box-shadow: 0 0 0 4px var(--lc-bg-card, #faf9f6), 0 0 0 5px var(--ink);
}

.node:not(.on):not(.done) .dot {
    background: var(--muted);
    transform: scale(0.8);
}

.node:hover .t {
    color: var(--ink);
}

.node:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 6px;
}

.panel {
    background: transparent;
    border: none;
    padding: 10px 0;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    height: 350px;
    min-height: 350px;
    box-sizing: border-box;
    align-items: stretch;
}

.lc-roadmap-col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
    height: 18px;
    line-height: 18px;
    overflow: hidden;
}

.panel h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 600;
    font-size: 21px;
    line-height: 1.25;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    color: var(--ink);
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.panel p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.5;
    max-width: 52ch;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.panel h4 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    height: 18px;
    line-height: 18px;
}

.checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 160px;
    min-height: 160px;
}

.lc-chk-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 7px 0;
    cursor: pointer;
    user-select: none;
    transition: color 0.15s ease;
    min-height: 35px;
}

.lc-chk-item:hover .lc-chk-text {
    color: #000000;
}

.lc-chk-box {
    flex: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    background: transparent;
    padding: 0;
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-chk-box:hover {
    box-shadow: 0 0 0 3px rgba(13, 13, 13, 0.08);
}

.lc-chk-item.is-checked .lc-chk-box {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
}

.lc-chk-mark {
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: scale(0);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lc-chk-item.is-checked .lc-chk-mark {
    transform: scale(1);
}

.lc-chk-text {
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--ink);
    flex: 1;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.lc-chk-item.is-checked .lc-chk-text {
    opacity: 0.55;
    text-decoration: line-through;
    text-decoration-color: rgba(13, 13, 13, 0.4);
}

.side {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 350px;
}

.lc-inspector-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 170px;
    min-height: 170px;
    max-height: 170px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    overflow: hidden;
}

.lc-inspector-panel.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.lc-inspector-head {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 18px;
    line-height: 18px;
    margin-bottom: 2px;
}

.lc-inspector-badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.lc-inspector-step-tag {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--muted);
}

.lc-inspector-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.35;
    margin: 0;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.lc-inspector-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--muted);
    margin: 2px 0 0;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.lc-inspector-tip {
    border-left: 2px solid var(--ink);
    padding: 2px 0 2px 12px;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ink);
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
}

.lc-side-action-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    height: 110px;
    min-height: 110px;
}

.lc-side-action-wrap .k {
    font-size: 13px;
    color: var(--muted);
}

.side .k {
    font-size: 13px;
    color: var(--muted);
}

.file {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 500;
    font-size: 13.5px;
    color: var(--ink);
    text-decoration: none;
    word-break: break-all;
    transition: 0.2s;
    background: transparent;
    cursor: pointer;
    height: 44px;
    width: 100%;
    box-sizing: border-box;
}

.file:hover {
    background: var(--ink);
    color: #ffffff;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
}

.btn {
    font: inherit;
    font-weight: 500;
    font-size: 13.5px;
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover:not(:disabled) {
    border-color: var(--ink);
}

.btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.btn.primary {
    background: var(--ink);
    border-color: var(--ink);
    color: #ffffff;
}

.btn:focus-visible {
    outline: 1px solid var(--ink);
    outline-offset: 3px;
}

.count {
    font-size: 13px;
    color: var(--muted);
}

@media(max-width: 760px) {
    .panel {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
        padding: 0;
        gap: 24px;
    }
    .panel h3,
    .panel p,
    .checks,
    .side,
    .lc-inspector-panel,
    .lc-inspector-title,
    .lc-inspector-desc,
    .lc-inspector-tip,
    .lc-side-action-wrap {
        height: auto;
        max-height: none;
        min-height: auto;
    }
    .side {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 22px 0 0;
    }
    .node .t {
        font-size: 11.5px;
        padding: 0 2px;
    }
}
