/* STROBIA Verse 3.0 — networking curriculum visual system
   Accent cyan / blue, layered with existing STROBIA Verse 2.0 theme. */

.net-layout {
    padding-bottom: 42px;
}

.net-banner {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr);
    align-items: center;
    gap: 26px;
    min-height: 350px;
    margin: 22px 0 17px;
    padding: 42px;
    border: 1px solid rgba(34, 211, 238, .28);
    border-radius: 25px;
    background: radial-gradient(circle at 90% 5%, rgba(34, 211, 238, .13), transparent 43%), linear-gradient(110deg, rgba(37, 99, 235, .14), rgba(168, 85, 247, .09));
}

.net-banner h1 {
    font-size: clamp(31px, 4vw, 52px);
    line-height: 1.11;
    letter-spacing: -1.7px;
    margin: 12px 0;
}

.net-banner h1 em {
    font-style: normal;
    background: linear-gradient(100deg, #22d3ee, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.net-banner p {
    color: var(--sv-muted);
    font-size: 15px;
    max-width: 630px;
    line-height: 1.8;
}

.net-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.net-badges span {
    padding: 7px 11px;
    font-size: 11px;
    font-weight: 800;
    color: var(--sv-cyan);
    background: rgba(34, 211, 238, .07);
    border: 1px solid rgba(34, 211, 238, .26);
    border-radius: 100px;
}

.net-hero-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .13));
}

.net-hero-device {
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(34, 211, 238, .5);
    background: var(--sv-card-2);
    padding: 19px 10px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    min-width: 66px;
    box-shadow: 0 0 25px rgba(34, 211, 238, .05);
}

.net-device-switch {
    border-color: rgba(168, 85, 247, .8);
    color: var(--sv-purple)
}

.net-device-router {
    border-color: rgba(52, 211, 153, .65);
    color: var(--sv-mint)
}

.net-hero-edge {
    height: 2px;
    min-width: 10px;
    flex: 1;
    background: repeating-linear-gradient(90deg, var(--sv-cyan) 0 8px, transparent 8px 14px);
    opacity: .7;
    position: relative;
}

.net-hero-edge::after {
    content: '➜';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-58%);
    font-size: 13px;
    color: var(--sv-cyan)
}

.net-notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: rgba(251, 191, 36, .06);
    border: 1px solid rgba(251, 191, 36, .28);
    border-radius: 15px;
    padding: 13px 17px;
    margin: 20px 0 26px;
    color: var(--sv-text)
}

.net-notice p {
    margin: 0;
    font-size: 12px;
    color: var(--sv-muted);
    line-height: 1.7
}

.net-notice strong {
    color: var(--sv-text)
}

.net-notice-icon {
    font-size: 19px;
    color: var(--sv-amber);
    line-height: 1
}

.net-shell {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    scroll-margin-top: 100px
}

.net-sidebar {
    position: sticky;
    top: 105px;
    max-height: calc(100vh - 125px);
    overflow: auto;
    border-radius: 19px;
    background: var(--sv-card);
    border: 1px solid var(--sv-line);
    scrollbar-width: thin;
}

.net-sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 21px 19px 12px
}

.net-sidebar-heading h2 {
    font-size: 19px;
    margin: 6px 0 0;
    letter-spacing: -.3px
}

.net-sidebar-toggle {
    background: var(--sv-card-2);
    border: 1px solid var(--sv-line);
    border-radius: 8px;
    color: var(--sv-text);
    padding: 7px 10px;
    font-size: 12px;
}

.net-search-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--sv-muted);
    margin: 0 19px 7px;
    display: block
}

#net-lesson-search {
    width: calc(100% - 38px);
    border-radius: 11px;
    border: 1px solid var(--sv-line);
    background: var(--sv-card-2);
    color: var(--sv-text);
    padding: 11px 13px;
    margin: 0 19px 18px;
    outline-offset: 3px;
    font-size: 13px
}

#net-lesson-search:focus {
    border-color: var(--sv-cyan)
}

.net-stage {
    border-top: 1px solid var(--sv-line)
}

.net-stage summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 19px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px
}

.net-stage summary::-webkit-details-marker {
    display: none
}

.net-stage summary:hover {
    background: rgba(34, 211, 238, .04)
}

.net-stage-label {
    font-size: 10px;
    font-weight: 850;
    color: var(--sv-cyan);
    letter-spacing: .9px
}

.net-stage-title {
    font-size: 13px;
    font-weight: 760;
    display: block;
    margin-top: 2px;
    line-height: 1.45
}

.net-stage-count {
    font-size: 10px;
    color: var(--sv-muted);
    white-space: nowrap;
    margin-top: 4px
}

.net-stage-lessons {
    display: grid;
    gap: 3px;
    padding: 0 9px 12px
}

.net-lesson-nav {
    width: 100%;
    border: 0;
    border-radius: 9px;
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
    padding: 10px;
    color: var(--sv-muted);
    background: transparent;
    font-size: 12px;
    line-height: 1.5
}

.net-lesson-nav:hover:not(:disabled) {
    background: var(--sv-card-2);
    color: var(--sv-text)
}

.net-lesson-nav[aria-current="page"] {
    background: rgba(34, 211, 238, .1);
    color: var(--sv-text);
    box-shadow: inset 3px 0 var(--sv-cyan)
}

.net-lesson-nav:disabled {
    cursor: not-allowed;
    opacity: .57
}

.net-mini-index {
    display: grid;
    place-items: center;
    min-width: 26px;
    height: 25px;
    font-size: 10px;
    font-weight: 850;
    border-radius: 7px;
    color: var(--sv-cyan);
    background: rgba(34, 211, 238, .1);
}

.net-lesson-nav:disabled .net-mini-index {
    color: var(--sv-soft);
    background: var(--sv-card-2)
}

.net-lesson-nav .net-nav-sub {
    display: block;
    color: var(--sv-soft);
    font-size: 10px;
    margin-top: 3px
}

.net-empty-search {
    padding: 12px 19px;
    color: var(--sv-muted);
    font-size: 12px
}

.net-lesson {
    min-width: 0;
    border: 1px solid var(--sv-line);
    border-radius: 21px;
    background: var(--sv-card);
    padding: clamp(22px, 3vw, 39px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, .05)
}

.net-lesson-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px
}

.net-label {
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .8px;
    border-radius: 8px;
    padding: 6px 9px;
    color: var(--sv-cyan);
    background: rgba(34, 211, 238, .10);
    border: 1px solid rgba(34, 211, 238, .25)
}

.net-label.muted {
    color: var(--sv-muted);
    background: var(--sv-card-2);
    border-color: var(--sv-line)
}

.net-lesson h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.16;
    letter-spacing: -1px;
    margin: 0 0 13px
}

.net-lead {
    font-size: 15px;
    color: var(--sv-muted);
    margin: 0 0 19px;
    line-height: 1.8
}

.net-concept {
    padding: 17px 18px;
    border-left: 3px solid var(--sv-cyan);
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(34, 211, 238, .10), transparent);
    font-weight: 700;
    margin: 0 0 23px;
    font-size: 14px
}

.net-diagram {
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 211, 238, .18);
    border-radius: 16px;
    background: #081426;
    min-height: 160px;
    color: #dbeafe;
    margin-bottom: 28px
}

.net-diagram-caption {
    display: block;
    color: #91abc8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
    margin-bottom: 15px
}

.net-diagram-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 18px 0
}

.net-diagram-node {
    border: 1px solid #365676;
    border-radius: 11px;
    background: #132943;
    color: #e2f4ff;
    padding: 15px 10px;
    min-width: 80px;
    text-align: center;
    font-size: 12px;
    font-weight: 750
}

.net-diagram-node:nth-child(3n) {
    border-color: #22d3ee;
    color: #67e8f9
}

.net-diagram-node:nth-child(5n) {
    border-color: #34d399;
    color: #86efac
}

.net-diagram-arrow {
    font-size: 20px;
    color: #22d3ee;
    font-weight: 800
}

.net-layers {
    display: grid;
    gap: 4px;
    max-width: 370px;
    margin: 0 auto
}

.net-layer {
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 750;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #2f4a69;
    background: #17283f
}

.net-layer:nth-child(even) {
    background: #102a3e;
    border-color: #2e657c
}

.net-layer span:first-child {
    color: #a5b4fc
}

.net-netblocks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px
}

.net-netblock {
    border: 1px solid #31536b;
    background: #13273e;
    border-radius: 10px;
    padding: 13px 8px;
    text-align: center;
    font-size: 12px
}

.net-netblock strong {
    display: block;
    color: #67e8f9;
    font-size: 12px;
    word-break: break-word
}

.net-netblock small {
    color: #a7bdd3;
    font-size: 10px
}

.net-lesson-section {
    margin: 0 0 26px
}

.net-lesson-section h3 {
    font-size: 18px;
    letter-spacing: -.3px;
    margin: 0 0 9px;
    color: var(--sv-text)
}

.net-lesson-section p {
    color: var(--sv-muted);
    font-size: 14px;
    line-height: 1.88;
    margin: 0
}

.net-example {
    margin: 12px 0 30px;
    border-radius: 13px;
    background: var(--sv-card-2);
    border: 1px solid var(--sv-line);
    padding: 15px 17px
}

.net-example span {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--sv-cyan);
    font-weight: 800;
    margin-bottom: 8px
}

.net-example code {
    font-size: 13px;
    color: var(--sv-text);
    font-family: Consolas, Monaco, monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere
}

.net-check {
    border: 1px solid rgba(168, 85, 247, .25);
    border-radius: 15px;
    background: linear-gradient(120deg, rgba(168, 85, 247, .08), rgba(34, 211, 238, .035));
    padding: 20px;
    margin: 0 0 20px
}

.net-check-head {
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1px;
    color: var(--sv-purple)
}

.net-check h3 {
    font-size: 19px;
    line-height: 1.4;
    margin: 8px 0 14px
}

.net-options {
    display: grid;
    gap: 8px
}

.net-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 12px;
    border-radius: 10px;
    background: var(--sv-card-2);
    border: 1px solid var(--sv-line);
    color: var(--sv-text);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer
}

.net-option:hover:not(:disabled) {
    border-color: var(--sv-cyan)
}

.net-option[disabled] {
    cursor: default
}

.net-option.correct {
    border-color: rgba(52, 211, 153, .65);
    background: rgba(52, 211, 153, .10)
}

.net-option.incorrect {
    border-color: rgba(251, 113, 133, .65);
    background: rgba(251, 113, 133, .1)
}

.net-option-index {
    flex: none;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    background: rgba(34, 211, 238, .1);
    color: var(--sv-cyan);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 850
}

.net-feedback {
    border-radius: 10px;
    padding: 13px;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 12px
}

.net-feedback.good {
    border: 1px solid rgba(52, 211, 153, .5);
    background: rgba(52, 211, 153, .09)
}

.net-feedback.bad {
    border: 1px solid rgba(251, 113, 133, .5);
    background: rgba(251, 113, 133, .07)
}

.net-lab-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 17px;
    border-radius: 13px;
    border: 1px solid rgba(34, 211, 238, .25);
    background: rgba(34, 211, 238, .06);
    margin-bottom: 23px
}

.net-lab-cta strong {
    font-size: 14px
}

.net-lab-cta p {
    margin: 3px 0 0;
    color: var(--sv-muted);
    font-size: 12px
}

.net-lab-cta a {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(34, 211, 238, .42);
    color: var(--sv-cyan);
    padding: 10px;
    border-radius: 9px;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 800
}

.net-lesson-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--sv-line);
    padding-top: 22px;
    margin-top: 15px
}

.net-nav-button {
    border: 1px solid var(--sv-line);
    border-radius: 11px;
    background: var(--sv-card-2);
    color: var(--sv-text);
    padding: 12px 15px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer
}

.net-nav-button.primary {
    background: linear-gradient(115deg, #135b82, #7041b5);
    color: white;
    border-color: #5b78cf
}

.net-nav-button:disabled {
    opacity: .45;
    cursor: not-allowed
}

.net-next-path {
    margin: 42px 0 40px;
    border: 1px solid rgba(34, 211, 238, .20);
    padding: 28px;
    border-radius: 17px;
    background: linear-gradient(115deg, rgba(34, 211, 238, .07), rgba(168, 85, 247, .07));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.net-next-path h2 {
    font-size: 24px;
    margin: 8px 0
}

.net-next-path p {
    color: var(--sv-muted);
    font-size: 13px;
    max-width: 600px
}

.net-academy-cta {
    margin-top: 23px;
    padding: 23px;
    border: 1px solid rgba(34, 211, 238, .26);
    border-radius: 16px;
    background: linear-gradient(125deg, rgba(34, 211, 238, .09), rgba(168, 85, 247, .06));
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

.net-academy-cta>div:first-child {
    max-width: 630px
}

.net-academy-cta strong {
    font-size: 16px
}

.net-academy-cta p {
    font-size: 13px;
    color: var(--sv-muted);
    margin: 5px 0 0;
    line-height: 1.8
}

.net-academy-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px
}

.net-button-outline {
    border: 1px solid var(--sv-line);
    border-radius: 9px;
    padding: 12px 17px;
    color: var(--sv-text);
    font-size: 12px;
    font-weight: 800;
}

.net-button-outline:hover {
    border-color: var(--sv-cyan)
}

#net-sidebar-content[hidden] {
    display: none!important
}

@media(max-width:1080px) {
    .net-hero-graphic {
        grid-column: 1/-1;
        max-width: 560px;
        width: 100%;
        justify-self: center
    }
    .net-banner {
        grid-template-columns: 1fr;
        min-height: 0
    }
    .net-shell {
        grid-template-columns: minmax(215px, 260px) minmax(0, 1fr)
    }
}

@media(max-width:820px) {
    .net-shell {
        grid-template-columns: 1fr
    }
    .net-sidebar {
        position: static;
        max-height: none
    }
    .net-banner {
        padding: 26px
    }
    .net-lesson {
        padding: 22px
    }
    .net-next-path {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:520px) {
    .net-banner h1 {
        font-size: 36px
    }
    .net-hero-device {
        padding: 13px 7px;
        font-size: 10px;
        min-width: 0
    }
    .net-hero-edge {
        min-width: 5px
    }
    .net-notice {
        padding: 12px
    }
    .net-lesson {
        padding: 17px
    }
    .net-diagram {
        padding: 13px
    }
    .net-netblocks {
        grid-template-columns: 1fr
    }
    .net-lab-cta {
        flex-direction: column;
        align-items: flex-start
    }
    .net-lesson-footer {
        flex-wrap: wrap
    }
    .net-nav-button {
        flex: 1
    }
    .net-next-path {
        padding: 20px
    }
}

@media(prefers-reduced-motion:reduce) {
    .net-hero-graphic * {
        animation: none!important
    }
}


/* Account-backed Networking progress — 3.1 */

.net-lesson-nav.net-completed .net-mini-index {
    color: #08281c;
    background: #34d399;
}

.net-lesson-nav.net-completed .net-nav-sub {
    color: var(--sv-mint);
}

.net-quiz-history {
    margin: 0 0 14px;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--sv-cyan);
    border-radius: 9px;
    background: rgba(34, 211, 238, .07);
    border: 1px solid rgba(34, 211, 238, .18);
}

.net-quiz-save-message {
    min-height: 18px;
    color: var(--sv-muted);
    font-size: 12px;
    line-height: 1.7;
    margin: 8px 0 0;
}

.net-save-panel {
    border: 1px solid rgba(52, 211, 153, .35);
    border-radius: 16px;
    padding: 22px;
    margin: 16px 0 28px;
    background: linear-gradient(125deg, rgba(52, 211, 153, .08), rgba(34, 211, 238, .035));
}

.net-save-panel h3 {
    font-size: 19px;
    margin: 9px 0 10px;
    line-height: 1.4;
}

.net-save-hint {
    color: var(--sv-muted);
    font-size: 12px;
    line-height: 1.7;
    margin: 10px 0 15px;
}

.net-progress-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-top: 5px;
}

.net-progress-heading strong {
    font-variant-numeric: tabular-nums;
    color: var(--sv-mint);
    font-size: 22px;
}

.net-progress-track {
    height: 9px;
    border-radius: 100px;
    overflow: hidden;
    background: rgba(100, 116, 139, .3);
    border: 1px solid var(--sv-line);
}

.net-progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #34d399);
    transition: width .3s ease;
}

.net-complete-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: linear-gradient(110deg, #0f8ca1, #138a68);
    border: 1px solid rgba(52, 211, 153, .45);
    border-radius: 11px;
    color: white;
    font-size: 12px;
    font-weight: 850;
    padding: 12px 16px;
    cursor: pointer;
}

.net-complete-button:not(:disabled):hover {
    filter: brightness(1.12);
}

.net-complete-button:disabled {
    cursor: default;
    background: rgba(52, 211, 153, .15);
    color: var(--sv-mint);
}

.net-complete-button:focus-visible {
    outline: 3px solid var(--sv-cyan);
    outline-offset: 3px;
}

@media(max-width:520px) {
    .net-save-panel {
        padding: 17px;
    }
    .net-complete-button {
        width: 100%;
    }
}

@media(prefers-reduced-motion:reduce) {
    .net-progress-fill {
        transition: none;
    }
}