/* ===========================================================================
   SIP Train - Learn Platform stylesheet (lp- prefix)
   ===========================================================================
   Bespoke learning runtime CSS. Extends the marketing-preview design
   language. No external framework. Class names are prefixed `lp-` so they
   never collide with marketing-site styles.

   Section index:
     1. Tokens
     2. Body, chrome, footer
     3. Enroll page
     4. Shell (module / lesson landings)
     5. Module list (course home)
     6. Slideshow runtime (player)
     7. Slide layouts
     8. Buttons, pills, cards
     9. Widgets - shared bits
    10. Widgets - matcher / chips
    11. Widgets - fill-in / message-builder
    12. Widgets - call-flow ladder
    13. Widgets - PCAP reader
    14. Widgets - MCQ / quiz
    15. Utility, responsive
   =========================================================================== */


/* ------ 1. Tokens ------ */
:root {
    --lp-navy:           #0B2D5B;
    --lp-navy-2:         #163b6b;
    --lp-amber:          #E8920A;
    --lp-amber-dark:     #8a5500;
    --lp-amber-soft:     #FFF7E8;
    --lp-amber-edge:     #FFE5C2;
    --lp-mint:           #2A9E7E;
    --lp-mint-soft:      #E6F5EF;
    --lp-rose:           #C0392B;
    --lp-rose-soft:      #FCEEEC;
    --lp-ink:            #0B2D5B;
    --lp-ink-soft:       #41526a;
    --lp-muted:          #6b7a90;
    --lp-line:           #C8D3E2;
    --lp-line-soft:      #E3EAF3;
    --lp-bg:             #F6F8FC;
    --lp-surface:        #FFFFFF;
    --lp-shadow-sm:      0 1px 2px rgba(11,45,91,0.08);
    --lp-shadow-md:      0 4px 14px rgba(11,45,91,0.10);
    --lp-shadow-lg:      0 14px 38px rgba(11,45,91,0.16);
    --lp-radius-sm:      6px;
    --lp-radius-md:      10px;
    --lp-radius-lg:      14px;
    --lp-radius-pill:    999px;
    --lp-font-sans:      'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --lp-font-display:   'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --lp-font-mono:      'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --lp-focus:          0 0 0 3px rgba(232,146,10,0.45);
}


/* ------ 2. Body, chrome, footer ------ */
.lp-body {
    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-ink);
    font-family: var(--lp-font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.lp-chrome {
    background: var(--lp-navy);
    color: #fff;
    border-bottom: 1px solid #08234a;
}
.lp-chrome__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.65rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.lp-chrome__crumbs { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.lp-chrome__brand {
    color: #fff;
    text-decoration: none;
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}
.lp-chrome__crumb { color: #cfdcef; font-size: 0.93rem; text-decoration: none; }
.lp-chrome__crumb:hover { color: #fff; }
.lp-chrome__crumb--current { color: #fff; font-weight: 600; }
.lp-chrome__sep { color: #6f87a8; }
.lp-chrome__exit {
    color: #cfdcef;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #2a4773;
    padding: 0.35rem 0.75rem;
    border-radius: var(--lp-radius-sm);
}
.lp-chrome__exit:hover { color: #fff; border-color: #5077a6; }
.lp-chrome__right { display: flex; align-items: center; gap: 0.6rem; }
.lp-chrome__user {
    color: #f1f5fa;
    font-size: 0.88rem;
    background: rgba(255,255,255,0.08);
    padding: 0.3rem 0.7rem;
    border-radius: var(--lp-radius-pill);
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lp-chrome__logout,
.lp-chrome__login {
    color: #cfdcef;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid #324a6e;
    padding: 0.32rem 0.7rem;
    border-radius: var(--lp-radius-sm);
}
.lp-chrome__logout:hover,
.lp-chrome__login:hover { color: #fff; border-color: #5077a6; }

.lp-main { min-height: calc(100vh - 96px); }

.lp-footer {
    background: var(--lp-surface);
    border-top: 1px solid var(--lp-line-soft);
    margin-top: 3rem;
}
.lp-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.1rem 1.25rem;
    font-size: 0.88rem;
    color: var(--lp-muted);
}
.lp-footer__inner p { margin: 0; }


/* ------ 3. Enroll page ------ */
.lp-enroll {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
}
.lp-enroll__inner {
    max-width: 520px;
    width: 100%;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow-md);
    padding: 2rem 1.8rem 1.8rem;
}
.lp-enroll__h1 {
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: 1.55rem;
    margin: 0.6rem 0 0.6rem;
    color: var(--lp-navy);
}
.lp-enroll__lede {
    color: var(--lp-ink-soft);
    margin: 0 0 1.4rem;
}
.lp-enroll__error {
    background: var(--lp-rose-soft);
    color: var(--lp-rose);
    border: 1px solid #f0c6c1;
    border-radius: var(--lp-radius-sm);
    padding: 0.7rem 0.9rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}
.lp-enroll__form { display: flex; flex-direction: column; gap: 0.6rem; }
.lp-enroll__label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--lp-ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.lp-enroll__input {
    font-family: var(--lp-font-mono);
    font-size: 1.1rem;
    padding: 0.75rem 0.9rem;
    border: 1.5px solid var(--lp-line);
    border-radius: var(--lp-radius-sm);
    background: #fff;
    color: var(--lp-navy);
    outline: none;
    text-transform: uppercase;
}
.lp-enroll__input:focus { box-shadow: var(--lp-focus); border-color: var(--lp-amber); }
.lp-enroll__small {
    margin-top: 1.4rem;
    font-size: 0.85rem;
    color: var(--lp-muted);
}
.lp-enroll__small a { color: var(--lp-navy); }


/* ------ 4. Shell ------ */
.lp-shell {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}
.lp-shell__inner { background: transparent; }
.lp-shell__h1 {
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: 1.85rem;
    color: var(--lp-navy);
    margin: 0.6rem 0 0.4rem;
}
.lp-shell__h2 {
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--lp-navy);
    margin: 2.1rem 0 0.9rem;
    letter-spacing: 0.01em;
}
.lp-shell__lede {
    font-size: 1.05rem;
    color: var(--lp-ink-soft);
    margin: 0 0 1.4rem;
    max-width: 680px;
}


/* ------ 5. Module list ------ */
.lp-modlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.lp-modlist__item {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-md);
    padding: 1.05rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: var(--lp-shadow-sm);
    transition: box-shadow 0.18s, transform 0.18s;
}
.lp-modlist__item--ready { border-color: #d8e4f4; }
.lp-modlist__item--ready:hover { box-shadow: var(--lp-shadow-md); transform: translateY(-1px); }
.lp-modlist__item--soon { background: #fbfcfe; opacity: 0.84; }
.lp-modlist__main { flex: 1; min-width: 250px; }
.lp-modlist__num {
    font-family: var(--lp-font-display);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-amber-dark);
    margin: 0 0 0.2rem;
}
.lp-modlist__title {
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--lp-navy);
    margin: 0 0 0.25rem;
}
.lp-modlist__desc { font-size: 0.92rem; color: var(--lp-ink-soft); margin: 0; }
.lp-modlist__soon {
    font-size: 0.83rem;
    color: var(--lp-muted);
    font-style: italic;
}


/* ------ 6. Slideshow runtime ------ */
.lp-app {
    background: var(--lp-bg);
    min-height: calc(100vh - 96px);
    display: flex;
    flex-direction: column;
}
.lp-bar {
    background: #fff;
    border-bottom: 1px solid var(--lp-line-soft);
    padding: 0.6rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 4;
}
.lp-bar__crumb { font-size: 0.9rem; color: var(--lp-ink-soft); }
.lp-bar__crumb a { color: var(--lp-navy); text-decoration: none; }
.lp-bar__progress {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.lp-bar__bar {
    width: 180px;
    height: 6px;
    background: var(--lp-line-soft);
    border-radius: 999px;
    overflow: hidden;
}
.lp-bar__fill {
    height: 100%;
    width: 0;
    background: var(--lp-amber);
    transition: width 0.25s;
}
.lp-bar__count {
    font-size: 0.85rem;
    color: var(--lp-ink-soft);
    font-variant-numeric: tabular-nums;
}

.lp-stage {
    flex: 1;
    padding: 1.5rem 1.25rem 1rem;
    max-width: 980px;
    margin: 0 auto;
    width: 100%;
}

.lp-slide { display: none; }
.lp-slide.is-active { display: block; animation: lpFadeIn 0.25s ease-out; }
@keyframes lpFadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.lp-slide__inner {
    background: #fff;
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-lg);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--lp-shadow-sm);
    min-height: 320px;
}
.lp-slide--wide .lp-slide__inner { min-height: 360px; }
.lp-slide__pill {
    display: inline-block;
    font-family: var(--lp-font-display);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--lp-line-soft);
    color: var(--lp-ink-soft);
    padding: 0.28rem 0.7rem;
    border-radius: var(--lp-radius-pill);
    margin: 0 0 0.8rem;
}
.lp-slide__pill--amber { background: var(--lp-amber-soft); color: var(--lp-amber-dark); }
.lp-slide__pill--mint  { background: var(--lp-mint-soft);  color: #1c6b56; }
.lp-slide__h1 {
    font-family: var(--lp-font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--lp-navy);
    margin: 0 0 0.6rem;
    line-height: 1.25;
}
.lp-slide__h2 {
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--lp-navy);
    margin: 0 0 0.7rem;
}
.lp-slide__h3 {
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--lp-navy);
    margin: 1.2rem 0 0.5rem;
}
.lp-slide__lede {
    font-size: 1.05rem;
    color: var(--lp-ink-soft);
    max-width: 720px;
    margin: 0 0 1rem;
}
.lp-slide__body { font-size: 0.98rem; color: var(--lp-ink); }
.lp-slide__body p { margin: 0 0 0.85rem; }
.lp-slide__body code { font-family: var(--lp-font-mono); font-size: 0.88em; background: #f1f4fa; padding: 0.05rem 0.3rem; border-radius: 3px; }
.lp-slide__body em { font-style: italic; }
.lp-slide__body strong { color: var(--lp-navy); }
.lp-slide__cards {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 1.1rem 0 0.4rem;
}
.lp-slide__card {
    background: var(--lp-amber-soft);
    border: 1px solid var(--lp-amber-edge);
    padding: 0.7rem 1rem;
    border-radius: var(--lp-radius-md);
    color: var(--lp-amber-dark);
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 110px;
    text-align: center;
}
.lp-slide__card strong {
    display: block;
    font-family: var(--lp-font-display);
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--lp-navy);
}
.lp-callout {
    background: var(--lp-amber-soft);
    border-left: 4px solid var(--lp-amber);
    padding: 0.8rem 1rem;
    border-radius: 0 var(--lp-radius-sm) var(--lp-radius-sm) 0;
    margin: 1rem 0;
}
.lp-callout--tip { background: var(--lp-mint-soft); border-color: var(--lp-mint); }
.lp-callout--warn { background: var(--lp-rose-soft); border-color: var(--lp-rose); }
.lp-callout strong { color: var(--lp-navy); }
.lp-callout p { margin: 0; }
.lp-callout p + p { margin-top: 0.4rem; }

.lp-controls {
    max-width: 980px;
    margin: 0 auto;
    padding: 0.4rem 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.lp-dots { display: flex; gap: 0.32rem; flex-wrap: wrap; max-width: 60%; }
.lp-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lp-line);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.15s, background 0.15s;
}
.lp-dot:hover { transform: scale(1.25); }
.lp-dot.is-current { background: var(--lp-amber); transform: scale(1.35); }
.lp-dot.is-done { background: var(--lp-navy); }


/* ------ 8. Buttons / pills ------ */
.lp-btn {
    display: inline-block;
    font-family: var(--lp-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.55rem 1.1rem;
    border-radius: var(--lp-radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.05s;
    background: #fff;
    color: var(--lp-navy);
    line-height: 1.2;
}
.lp-btn:focus-visible { outline: none; box-shadow: var(--lp-focus); }
.lp-btn:active { transform: translateY(1px); }
.lp-btn--primary { background: var(--lp-amber); color: #fff; }
.lp-btn--primary:hover { background: #c87d09; }
.lp-btn--primary:disabled { background: #d8d8d8; color: #fff; cursor: default; }
.lp-btn--ghost { background: transparent; border-color: var(--lp-line); color: var(--lp-navy); }
.lp-btn--ghost:hover { border-color: var(--lp-navy); }
.lp-btn--ghost-light { background: #fff; border-color: var(--lp-line); color: var(--lp-navy); }
.lp-btn--ghost-light:hover { border-color: var(--lp-navy); }
.lp-btn--ghost-light:disabled { color: #c0c8d2; border-color: var(--lp-line-soft); cursor: default; }

.lp-pill {
    display: inline-block;
    font-family: var(--lp-font-display);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--lp-line-soft);
    color: var(--lp-ink-soft);
    padding: 0.3rem 0.75rem;
    border-radius: var(--lp-radius-pill);
}
.lp-pill--amber { background: var(--lp-amber-soft); color: var(--lp-amber-dark); }
.lp-pill--mint  { background: var(--lp-mint-soft);  color: #1c6b56; }


/* ------ 9-14. Widgets ------ */

/* Matcher */
.lp-matcher__board { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 0.6rem; }
@media (min-width: 720px) { .lp-matcher__board { grid-template-columns: 1.1fr 1fr; } }
.lp-matcher__bins {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
}
.lp-bin {
    background: #fbfcfe;
    border: 2px dashed var(--lp-line);
    border-radius: var(--lp-radius-md);
    padding: 0.6rem 0.75rem;
    min-height: 88px;
    transition: border-color 0.15s, background 0.15s;
}
.lp-bin.is-over { border-color: var(--lp-amber); background: var(--lp-amber-soft); }
.lp-bin.is-correct { border-color: var(--lp-mint); background: var(--lp-mint-soft); border-style: solid; }
.lp-bin.is-wrong { border-color: var(--lp-rose); background: var(--lp-rose-soft); border-style: solid; }
.lp-bin h4 { margin: 0 0 0.15rem; font-family: var(--lp-font-display); font-size: 1rem; color: var(--lp-navy); }
.lp-bin__sub { margin: 0 0 0.4rem; font-size: 0.78rem; color: var(--lp-muted); }
.lp-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-content: flex-start;
}
.lp-chip {
    background: #fff;
    border: 1.5px solid var(--lp-line);
    border-radius: var(--lp-radius-md);
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    color: var(--lp-ink);
    cursor: grab;
    user-select: none;
    box-shadow: var(--lp-shadow-sm);
    transition: transform 0.1s, box-shadow 0.15s, border-color 0.15s;
}
.lp-chip:hover { border-color: var(--lp-navy); box-shadow: var(--lp-shadow-md); }
.lp-chip.is-dragging { opacity: 0.4; }
.lp-chip.is-placed { background: var(--lp-amber-soft); border-color: var(--lp-amber-edge); }
.lp-matcher__actions { margin-top: 0.9rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.lp-matcher__feedback {
    margin-top: 0.8rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--lp-radius-sm);
    font-size: 0.93rem;
}
.lp-matcher__feedback.is-good { background: var(--lp-mint-soft); color: #1c6b56; border: 1px solid #b7dcce; }
.lp-matcher__feedback.is-partial { background: var(--lp-amber-soft); color: var(--lp-amber-dark); border: 1px solid var(--lp-amber-edge); }

/* Fill-in */
.lp-fill { margin-top: 0.4rem; }
.lp-fill__template {
    font-family: var(--lp-font-mono);
    font-size: 0.95rem;
    background: #fbfcfe;
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-sm);
    padding: 0.8rem 1rem;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-x: auto;
}
.lp-fill__blank {
    font-family: var(--lp-font-mono);
    font-size: 0.95rem;
    padding: 0.2rem 0.5rem;
    border: 1.5px solid var(--lp-line);
    border-radius: 4px;
    background: #fff;
    color: var(--lp-navy);
    min-width: 6ch;
    text-align: center;
}
.lp-fill__blank:focus { outline: none; box-shadow: var(--lp-focus); border-color: var(--lp-amber); }
.lp-fill__blank.is-correct { border-color: var(--lp-mint); background: var(--lp-mint-soft); }
.lp-fill__blank.is-wrong { border-color: var(--lp-rose); background: var(--lp-rose-soft); }
.lp-fill__actions { margin-top: 0.8rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.lp-fill__feedback {
    margin-top: 0.7rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--lp-radius-sm);
    font-size: 0.92rem;
}
.lp-fill__feedback.is-good { background: var(--lp-mint-soft); color: #1c6b56; border: 1px solid #b7dcce; }
.lp-fill__feedback.is-partial { background: var(--lp-amber-soft); color: var(--lp-amber-dark); border: 1px solid var(--lp-amber-edge); }

/* SIP message display */
.lp-sip {
    font-family: var(--lp-font-mono);
    font-size: 0.92rem;
    background: var(--lp-navy);
    color: #f1f5fa;
    padding: 0.9rem 1.1rem;
    border-radius: var(--lp-radius-sm);
    line-height: 1.65;
    margin: 0.6rem 0;
    overflow-x: auto;
    white-space: pre;
}
.lp-sip .lp-sip-method { color: #ffcc66; font-weight: 600; }
.lp-sip .lp-sip-uri { color: #92e6c8; }
.lp-sip .lp-sip-version { color: #cfdcef; }
.lp-sip .lp-sip-h { color: #92c5ff; }
.lp-sip .lp-sip-v { color: #f1f5fa; }
.lp-sip .lp-sdp { color: #b9d6ff; }

/* Call-flow ladder */
.lp-flow {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 1fr;
}
@media (min-width: 800px) { .lp-flow { grid-template-columns: 2fr 1fr; } }
.lp-flow__stage {
    background: #fbfcfe;
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-md);
    padding: 0.5rem;
    overflow-x: auto;
}
.lp-flow__svg { width: 100%; height: auto; min-width: 520px; }
.lp-flow__msg { cursor: pointer; }
.lp-flow__msg:hover .lp-flow__line { stroke-width: 3; }
.lp-flow__msg.is-current .lp-flow__line { stroke: var(--lp-amber); stroke-width: 3; }
.lp-flow__msg.is-current .lp-flow__label { fill: var(--lp-amber-dark); font-weight: 700; }
.lp-flow__msg .lp-flow__line { stroke: var(--lp-navy); stroke-width: 2; fill: none; }
.lp-flow__msg.is-prov .lp-flow__line { stroke-dasharray: 5 4; stroke: var(--lp-amber); }
.lp-flow__msg.is-resp .lp-flow__line { stroke: var(--lp-mint); }
.lp-flow__msg.is-ack .lp-flow__line { stroke: #735ab5; }
.lp-flow__msg.is-media .lp-flow__line { stroke: var(--lp-rose); stroke-dasharray: 8 6; }
.lp-flow__panel {
    background: #fbfcfe;
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-md);
    padding: 0.85rem 1rem;
}
.lp-flow__controls { display: flex; gap: 0.4rem; margin-bottom: 0.7rem; flex-wrap: wrap; }
.lp-flow__inspector {
    background: #fff;
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-sm);
    padding: 0.65rem 0.85rem;
    min-height: 120px;
    font-size: 0.88rem;
}
.lp-flow__inspector h5 { font-family: var(--lp-font-display); margin: 0 0 0.3rem; font-size: 0.95rem; color: var(--lp-navy); }
.lp-flow__hint { color: var(--lp-muted); margin: 0; font-style: italic; font-size: 0.85rem; }

/* PCAP reader */
.lp-pcap {
    background: #fbfcfe;
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-md);
    overflow: hidden;
    margin: 0.5rem 0 0.8rem;
}
.lp-pcap__head {
    background: var(--lp-navy);
    color: #fff;
    display: grid;
    grid-template-columns: 50px 80px 90px 1fr 110px;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    font-family: var(--lp-font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.lp-pcap__rows { max-height: 220px; overflow-y: auto; }
.lp-pcap__row {
    display: grid;
    grid-template-columns: 50px 80px 90px 1fr 110px;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    font-family: var(--lp-font-mono);
    font-size: 0.83rem;
    cursor: pointer;
    border-bottom: 1px solid var(--lp-line-soft);
    color: var(--lp-ink);
}
.lp-pcap__row:hover { background: #f1f4fa; }
.lp-pcap__row.is-selected { background: var(--lp-amber-soft); }
.lp-pcap__row.is-sip { color: var(--lp-navy); }
.lp-pcap__row.is-rtp { color: #735ab5; }
.lp-pcap__row.is-dns { color: #1c6b56; }
.lp-pcap__detail {
    background: #fff;
    padding: 0.8rem 1rem;
    border-top: 1px solid var(--lp-line-soft);
    font-family: var(--lp-font-mono);
    font-size: 0.85rem;
    min-height: 80px;
}
.lp-pcap__detail-empty { color: var(--lp-muted); font-style: italic; }
.lp-pcap__q {
    margin: 0.7rem 0 0.4rem;
    padding: 0.6rem 0.8rem;
    background: var(--lp-amber-soft);
    border: 1px solid var(--lp-amber-edge);
    border-radius: var(--lp-radius-sm);
    font-size: 0.9rem;
}
.lp-pcap__q strong { color: var(--lp-amber-dark); }

/* MCQ / quiz */
.lp-mcq { margin: 0.4rem 0 0.6rem; }
.lp-mcq__stem { font-weight: 600; margin: 0 0 0.6rem; color: var(--lp-navy); }
.lp-mcq__opts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.lp-mcq__opts li label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    background: #fff;
    border: 1.5px solid var(--lp-line);
    border-radius: var(--lp-radius-sm);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    font-size: 0.93rem;
}
.lp-mcq__opts li label:hover { border-color: var(--lp-navy); }
.lp-mcq__opts li input { margin-top: 0.18rem; }
.lp-mcq__opts li.is-correct label { border-color: var(--lp-mint); background: var(--lp-mint-soft); }
.lp-mcq__opts li.is-wrong label { border-color: var(--lp-rose); background: var(--lp-rose-soft); }
.lp-mcq__opts li.is-shown-correct label { border-color: var(--lp-mint); background: var(--lp-mint-soft); }
.lp-mcq__exp {
    margin-top: 0.7rem;
    padding: 0.65rem 0.85rem;
    background: #fbfcfe;
    border-left: 3px solid var(--lp-amber);
    border-radius: 0 var(--lp-radius-sm) var(--lp-radius-sm) 0;
    font-size: 0.9rem;
    color: var(--lp-ink-soft);
    display: none;
}
.lp-mcq__exp.is-visible { display: block; }
.lp-mcq__actions { margin-top: 0.7rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }


/* End-of-lesson & quiz wrap-up */
.lp-end {
    background: #fff;
    border: 1px solid var(--lp-line-soft);
    border-radius: var(--lp-radius-lg);
    padding: 1.6rem;
    margin-top: 1rem;
    text-align: center;
}
.lp-end h3 {
    font-family: var(--lp-font-display);
    color: var(--lp-navy);
    margin: 0 0 0.5rem;
}
.lp-end__score {
    font-family: var(--lp-font-display);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--lp-amber);
    margin: 0.4rem 0;
}
.lp-end__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}


/* ------ 15. Responsive ------ */
@media (max-width: 640px) {
    .lp-bar { padding: 0.5rem 0.9rem; }
    .lp-stage { padding: 1rem 0.9rem; }
    .lp-slide__inner { padding: 1.1rem 1rem; }
    .lp-slide__h1 { font-size: 1.25rem; }
    .lp-shell { padding: 1.2rem 0.9rem 3rem; }
    .lp-shell__h1 { font-size: 1.45rem; }
}
