.ldtc-nav, .ldtc-dialog {
    --ldtc-purple: #4a148c;
    --ldtc-gradient: linear-gradient(90deg, #8e24aa, #4a148c);
    --ldtc-border: #ead3ec;
}
.ldtc-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(6px, 2vw, 12px);
    box-sizing: border-box;
    max-width: 720px;
    margin: 32px auto;
    padding: 9px;
    border: 1px solid var(--ldtc-border);
    border-radius: 23px;
    background: #fcf5fc;
    box-shadow: 0 12px 30px rgba(74,20,140,.09);
}
.ldtc-nav .ldtc-step, .ldtc-nav .ldtc-open {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-height: 56px;
    padding: 6px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: var(--ldtc-gradient);
    color: white;
    font: inherit;
    font-size: clamp(.875rem, 3vw, 1.15rem);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.ldtc-nav .ldtc-step[aria-disabled="true"] {
    background: #eee9ef;
    border-color: #e3dce5;
    color: #635969;
}
.ldtc-nav .ldtc-open {
    width: auto;
    border-color: var(--ldtc-border);
    background: white;
    color: var(--ldtc-purple);
    font-size: clamp(.8rem, 2.8vw, 1.05rem);
    cursor: pointer;
}
.ldtc-dialog {
    box-sizing: border-box;
    width: min(950px, calc(100% - 24px));
    max-height: 85vh;
    padding: 0;
    margin: auto;
    border: 1px solid var(--ldtc-border);
    border-radius: 18px;
    background: white;
    color: #231925;
    box-shadow: 0 18px 64px #210c3040;
}
.ldtc-dialog:not([open]) { display: none; }
.ldtc-dialog::backdrop { background: #1e112a99; }
.ldtc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--ldtc-border);
}
.ldtc-header h2 { margin: 0; color: inherit; font-size: clamp(1.1rem, 3vw, 1.6rem); overflow-wrap: anywhere; }
.ldtc-header form { margin: 0; }
.ldtc-header .ldtc-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid var(--ldtc-purple);
    border-radius: 50%;
    background: #fcf5fc;
    color: var(--ldtc-purple);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.ldtc-dialog .ldtc-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
    list-style: none;
    padding: 12px 16px;
    margin: 0;
}
.ldtc-list li { margin: 0; border-bottom: 1px solid var(--ldtc-border); }
.ldtc-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px;
    color: var(--ldtc-purple);
    overflow-wrap: anywhere;
    text-decoration: none;
}
.ldtc-list a[aria-current="page"], .ldtc-list a:hover { background: #f6e6f5; }
.ldtc-list a[aria-current="page"] { font-weight: 700; }
.ldtc-number {
    border-radius: 999px;
    min-width: 2rem;
    padding: 3px 6px;
    background: #ead3ec;
    text-align: center;
}
.ldtc-list a[aria-current="page"] .ldtc-number { background: var(--ldtc-gradient); color: white; }
.ldtc-nav :focus-visible, .ldtc-dialog :focus-visible { outline: 2px solid var(--ldtc-purple); outline-offset: 2px; }
@media (max-width: 620px) {
    .ldtc-dialog .ldtc-list { grid-template-columns: minmax(0, 1fr); }
}

/* FULL STORY button */
.ldtc-nav .ldtc-open {
    padding: 6px clamp(10px, 3vw, 18px);
    letter-spacing: .03em;
    white-space: nowrap;
}
