
*{
    box-sizing:border-box;
}

:root{
    --bg:#f5f9fc;
    --navy:#123a59;
    --blue:#2d91c7;
    --cyan:#36b8d7;
    --green:#2fb98b;
    --gold:#e7a632;
    --red:#d85e69;
    --text:#23485f;
    --muted:#718a9a;
    --line:#dce8ef;
    --card:#ffffff;
    --soft:#eef6fa;
}

html{
    font-family:"Sarabun",system-ui,sans-serif;
    background:var(--bg);
    color:var(--text);
}

body{
    margin:0;
    min-height:100vh;
    background:
        radial-gradient(circle at top left,#e8f6ff 0,transparent 35%),
        linear-gradient(180deg,#f8fbfd,#f2f7fa);
}

a{
    color:inherit;
}

button,
input,
textarea{
    font:inherit;
}

.parent-shell{
    min-height:100vh;
}

.parent-topbar{
    position:sticky;
    top:0;
    z-index:20;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:76px;
    padding:12px 28px;
    border-bottom:1px solid rgba(178,205,220,.72);
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(12px);
}

.parent-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.parent-brand-mark{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:14px;
    color:#fff;
    font-size:21px;
    background:
        linear-gradient(
            135deg,
            #287caf,
            #28b7ae
        );
    box-shadow:
        0 8px 20px
        rgba(38,130,167,.20);
}

.parent-brand strong,
.parent-brand span{
    display:block;
}

.parent-brand strong{
    font-size:17px;
    color:#1e4a64;
}

.parent-brand span{
    margin-top:2px;
    color:#7d94a3;
    font-size:11px;
    font-weight:700;
    letter-spacing:.05em;
}

.parent-nav{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.parent-nav a{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:0 13px;
    border-radius:12px;
    color:#58788b;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
}

.parent-nav a:hover,
.parent-nav a.active{
    color:#1f668e;
    background:#eaf5fb;
}

.parent-nav a.logout{
    color:#b24f59;
    background:#fff2f3;
}

.parent-main{
    width:min(1400px,calc(100% - 32px));
    margin:0 auto;
    padding:28px 0 50px;
}

.page-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:16px;
    margin-bottom:20px;
}

.page-head h1{
    margin:0;
    color:#173f59;
    font-size:clamp(26px,3vw,34px);
    line-height:1.2;
}

.page-head p{
    margin:6px 0 0;
    color:var(--muted);
    font-size:14px;
}

.eyebrow{
    display:block;
    margin-bottom:5px;
    color:#2f9abe;
    font-size:12px;
    font-weight:800;
    letter-spacing:.09em;
}

.parent-chip{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:38px;
    padding:6px 11px;
    border:1px solid #dce9f0;
    border-radius:999px;
    background:#fff;
    color:#638092;
    font-size:12px;
    font-weight:700;
}

.hero-parent{
    display:grid;
    grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);
    gap:18px;
    margin-bottom:20px;
}

.hero-card{
    position:relative;
    overflow:hidden;
    padding:24px;
    border-radius:24px;
    color:#fff;
    background:
        linear-gradient(
            135deg,
            #174e75,
            #2387a8 56%,
            #27aa9b
        );
    box-shadow:
        0 20px 45px
        rgba(26,98,131,.17);
}

.hero-card:after{
    content:"";
    position:absolute;
    right:-80px;
    top:-90px;
    width:280px;
    height:280px;
    border-radius:50%;
    border:45px solid rgba(255,255,255,.07);
}

.hero-card h2{
    position:relative;
    z-index:1;
    margin:0;
    font-size:27px;
}

.hero-card p{
    position:relative;
    z-index:1;
    max-width:700px;
    margin:8px 0 0;
    color:#d8f4fb;
    font-size:14px;
    line-height:1.7;
}

.hero-metrics{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-top:20px;
}

.hero-metric{
    min-width:0;
    padding:13px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:15px;
    background:rgba(255,255,255,.10);
}

.hero-metric span,
.hero-metric strong{
    display:block;
}

.hero-metric span{
    color:#d5eff7;
    font-size:11px;
}

.hero-metric strong{
    margin-top:3px;
    font-size:22px;
}

.info-card,
.panel,
.student-card,
.attempt-card{
    border:1px solid var(--line);
    background:rgba(255,255,255,.96);
    box-shadow:
        0 10px 28px
        rgba(70,112,137,.07);
}

.info-card{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:20px;
    border-radius:22px;
}

.info-card strong{
    color:#1e536e;
    font-size:17px;
}

.info-card span{
    margin-top:4px;
    color:#7b92a0;
    font-size:12px;
}

.info-card .code{
    display:inline-flex;
    align-self:flex-start;
    margin-top:12px;
    padding:7px 10px;
    border-radius:9px;
    color:#39758f;
    background:#edf7fb;
    font-size:12px;
    font-weight:800;
}

.section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:14px;
    margin:26px 0 12px;
}

.section-head h2{
    margin:0;
    color:#1e4c66;
    font-size:20px;
}

.section-head p{
    margin:4px 0 0;
    color:#8396a2;
    font-size:12px;
}

.student-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:14px;
}

.student-card{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:15px;
    padding:18px;
    border-radius:19px;
}

.student-photo{
    width:76px;
    height:76px;
    overflow:hidden;
    display:grid;
    place-items:center;
    border-radius:20px;
    color:#4d839e;
    background:#e7f4fa;
    font-size:30px;
}

.student-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.student-copy{
    min-width:0;
}

.student-copy h3{
    margin:0;
    color:#1d4d67;
    font-size:18px;
}

.student-code{
    margin-top:3px;
    color:#7a93a2;
    font-size:12px;
}

.progress-line{
    height:9px;
    overflow:hidden;
    margin-top:12px;
    border-radius:999px;
    background:#e7eff4;
}

.progress-line i{
    display:block;
    height:100%;
    border-radius:inherit;
    background:
        linear-gradient(
            90deg,
            #31bd91,
            #34a6d5
        );
}

.student-stats{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:7px;
    margin-top:11px;
}

.student-stat{
    padding:8px;
    border-radius:11px;
    background:#f5f9fb;
}

.student-stat span,
.student-stat strong{
    display:block;
}

.student-stat span{
    color:#8498a4;
    font-size:10px;
}

.student-stat strong{
    margin-top:2px;
    color:#385f76;
    font-size:13px;
}

.card-actions{
    grid-column:1/-1;
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.btn{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:0 15px;
    border:0;
    border-radius:12px;
    text-decoration:none;
    cursor:pointer;
    font-weight:800;
    font-size:13px;
}

.btn.primary{
    color:#fff;
    background:
        linear-gradient(
            135deg,
            #277fae,
            #2aa6b7
        );
}

.btn.soft{
    color:#34738f;
    background:#edf7fb;
}

.btn.gold{
    color:#805719;
    background:#fff5db;
}

.btn.danger{
    color:#a34f57;
    background:#fff0f1;
}

.empty-state{
    padding:38px 20px;
    border:1px dashed #cbdde7;
    border-radius:18px;
    color:#718a99;
    background:#fff;
    text-align:center;
}

.panel{
    border-radius:20px;
    padding:18px;
}

.summary-grid{
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:12px;
    margin-bottom:16px;
}

.summary-card{
    padding:14px;
    border:1px solid #e0ebf1;
    border-radius:16px;
    background:#fff;
}

.summary-card span,
.summary-card strong,
.summary-card small{
    display:block;
}

.summary-card span{
    color:#8398a5;
    font-size:11px;
}

.summary-card strong{
    margin-top:4px;
    color:#24536e;
    font-size:22px;
}

.summary-card small{
    margin-top:2px;
    color:#91a1aa;
    font-size:10px;
}

.attempt-tabs{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-bottom:4px;
    margin-bottom:14px;
}

.attempt-tab{
    flex:0 0 auto;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border:1px solid #dce8ef;
    border-radius:12px;
    color:#628092;
    background:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:800;
}

.attempt-tab.active{
    color:#fff;
    border-color:#2e8db2;
    background:#2e8db2;
}

.stage-list{
    display:grid;
    gap:8px;
}

.stage-row-parent{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    gap:11px;
    align-items:center;
    padding:11px;
    border:1px solid #e0eaf0;
    border-radius:14px;
    background:#fff;
}

.stage-number-parent{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    color:#397895;
    background:#eaf5fa;
    font-weight:800;
}

.stage-copy-parent{
    min-width:0;
}

.stage-copy-parent strong{
    display:block;
    color:#365d73;
    font-size:13px;
}

.stage-copy-parent small{
    display:block;
    margin-top:3px;
    color:#8b9ca6;
    font-size:10px;
}

.stage-score-parent{
    min-width:96px;
    text-align:right;
}

.stage-score-parent strong{
    display:block;
    color:#2c5e77;
    font-size:15px;
}

.stage-score-parent small{
    display:block;
    margin-top:2px;
    color:#8799a4;
    font-size:10px;
}

.stage-row-parent.completed{
    border-color:#cce9dc;
    background:#fbfffd;
}

.stage-row-parent.completed
.stage-number-parent{
    color:#287b5b;
    background:#e5f7ef;
}

.stage-row-parent.pending{
    opacity:.70;
}

.two-column{
    display:grid;
    grid-template-columns:
        minmax(0,1.35fr)
        minmax(280px,.65fr);
    gap:16px;
}

.comparison-table{
    width:100%;
    border-collapse:collapse;
}

.comparison-table th,
.comparison-table td{
    padding:10px 8px;
    border-bottom:1px solid #e8eff3;
    text-align:left;
    font-size:12px;
}

.comparison-table th{
    color:#6f8796;
    background:#f6fafc;
}

.comparison-table td{
    color:#46677a;
}

.growth-positive{
    color:#24906a;
    font-weight:800;
}

.growth-negative{
    color:#c25660;
    font-weight:800;
}

.rating-box{
    padding:16px;
    border-radius:17px;
    border:1px solid #f1dfad;
    background:#fffaf0;
}

.rating-stars-view{
    margin:8px 0;
    color:#e5a329;
    font-size:26px;
    letter-spacing:3px;
}

.rating-stars-view span{
    color:#dfebf0;
}

.notice{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin-bottom:14px;
    padding:12px;
    border-radius:13px;
    font-size:12px;
}

.notice.success{
    color:#286f57;
    border:1px solid #cceadd;
    background:#effaf5;
}

.notice.error{
    color:#a14d55;
    border:1px solid #f0d2d5;
    background:#fff4f5;
}

.rating-form{
    display:grid;
    gap:14px;
}

.star-inputs{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.star-choice{
    position:relative;
}

.star-choice input{
    position:absolute;
    opacity:0;
}

.star-choice label{
    width:50px;
    height:50px;
    display:grid;
    place-items:center;
    border:1px solid #e4e9ec;
    border-radius:13px;
    color:#c9d4da;
    background:#fff;
    cursor:pointer;
    font-size:25px;
}

.star-choice input:checked + label{
    color:#e5a12a;
    border-color:#efc569;
    background:#fff7df;
}

.field label{
    display:block;
    margin-bottom:6px;
    color:#4b6d80;
    font-size:12px;
    font-weight:800;
}

.field textarea{
    width:100%;
    min-height:120px;
    resize:vertical;
    padding:12px;
    border:1px solid #d8e5ec;
    border-radius:12px;
    color:#365d73;
    background:#fff;
    outline:none;
}

.field textarea:focus{
    border-color:#62afd0;
    box-shadow:
        0 0 0 3px
        rgba(63,151,189,.10);
}

/* LOGIN */
.parent-login-page{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:24px;
    background:
        radial-gradient(circle at 15% 15%,rgba(67,181,217,.19),transparent 32%),
        radial-gradient(circle at 85% 80%,rgba(52,185,139,.18),transparent 30%),
        linear-gradient(135deg,#0e3552,#175d78);
}

.parent-login-card{
    width:min(1040px,100%);
    display:grid;
    grid-template-columns:1.05fr .95fr;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.18);
    border-radius:28px;
    background:#fff;
    box-shadow:
        0 30px 80px
        rgba(4,31,48,.28);
}

.parent-login-visual{
    position:relative;
    min-height:600px;
    padding:34px;
    color:#fff;
    background:
        linear-gradient(
            145deg,
            rgba(24,80,111,.95),
            rgba(27,123,132,.92)
        );
}

.parent-login-visual:before,
.parent-login-visual:after{
    content:"";
    position:absolute;
    border-radius:50%;
    border:38px solid rgba(255,255,255,.06);
}

.parent-login-visual:before{
    width:300px;
    height:300px;
    right:-100px;
    top:-90px;
}

.parent-login-visual:after{
    width:230px;
    height:230px;
    left:-100px;
    bottom:-100px;
}

.parent-login-visual > *{
    position:relative;
    z-index:1;
}

.parent-login-visual h1{
    margin:100px 0 10px;
    max-width:420px;
    font-size:42px;
    line-height:1.15;
}

.parent-login-visual p{
    max-width:440px;
    color:#d8f6f4;
    font-size:15px;
    line-height:1.8;
}

.login-feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:9px;
    margin-top:28px;
}

.login-feature{
    padding:12px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:14px;
    background:rgba(255,255,255,.08);
}

.login-feature strong,
.login-feature span{
    display:block;
}

.login-feature strong{
    font-size:18px;
}

.login-feature span{
    margin-top:3px;
    color:#d2f0ef;
    font-size:10px;
}

.parent-login-form{
    padding:50px 46px;
    align-self:center;
}

.parent-login-form h2{
    margin:0;
    color:#1d4e69;
    font-size:28px;
}

.parent-login-form > p{
    margin:7px 0 25px;
    color:#7a91a0;
    font-size:13px;
}

.login-field{
    margin-bottom:14px;
}

.login-field label{
    display:block;
    margin-bottom:6px;
    color:#506f82;
    font-size:12px;
    font-weight:800;
}

.login-field input{
    width:100%;
    height:50px;
    padding:0 13px;
    border:1px solid #d8e4eb;
    border-radius:13px;
    color:#315a71;
    outline:none;
    font-size:15px;
}

.login-field input:focus{
    border-color:#50a3c4;
    box-shadow:
        0 0 0 3px
        rgba(54,154,193,.10);
}

.login-submit{
    width:100%;
    height:52px;
    margin-top:5px;
    border:0;
    border-radius:14px;
    color:#fff;
    background:
        linear-gradient(
            135deg,
            #267fac,
            #2aae9a
        );
    cursor:pointer;
    font-size:15px;
    font-weight:800;
}

.login-back{
    display:inline-flex;
    margin-top:17px;
    color:#6d8797;
    text-decoration:none;
    font-size:12px;
    font-weight:700;
}

@media(max-width:900px){
    .hero-parent,
    .two-column{
        grid-template-columns:1fr;
    }

    .student-grid{
        grid-template-columns:1fr;
    }

    .summary-grid{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .parent-login-card{
        grid-template-columns:1fr;
    }

    .parent-login-visual{
        min-height:auto;
    }

    .parent-login-visual h1{
        margin-top:55px;
    }
}

@media(max-width:680px){
    .parent-topbar{
        position:relative;
        align-items:flex-start;
        flex-direction:column;
        padding:14px 16px;
    }

    .parent-nav{
        width:100%;
    }

    .parent-nav a{
        flex:1 1 auto;
    }

    .parent-main{
        width:min(100% - 20px,1400px);
        padding-top:18px;
    }

    .page-head{
        align-items:flex-start;
        flex-direction:column;
    }

    .hero-metrics,
    .student-stats{
        grid-template-columns:1fr;
    }

    .summary-grid{
        grid-template-columns:1fr;
    }

    .student-card{
        grid-template-columns:1fr;
    }

    .student-photo{
        width:68px;
        height:68px;
    }

    .stage-row-parent{
        grid-template-columns:38px minmax(0,1fr);
    }

    .stage-score-parent{
        grid-column:2;
        text-align:left;
    }

    .parent-login-page{
        padding:10px;
    }

    .parent-login-card{
        border-radius:20px;
    }

    .parent-login-visual,
    .parent-login-form{
        padding:25px 20px;
    }

    .parent-login-visual h1{
        margin-top:25px;
        font-size:34px;
    }

    .login-feature-grid{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   PARENT RATING — EXPLICIT 1–5 STAR CHOICES V2
   ========================================================= */

.star-rating-options{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:9px;
}

.star-rating-choice{
    position:relative;
    min-width:0;
}

.star-rating-choice input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.star-rating-choice label{
    min-height:86px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:10px 7px;
    border:1px solid #dfe8ed;
    border-radius:14px;
    background:#fff;
    cursor:pointer;
    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

.star-rating-choice label:hover{
    transform:translateY(-1px);
    border-color:#efc66c;
    background:#fffaf0;
}

.star-rating-choice input:checked + label{
    border-color:#e4aa32;
    background:#fff6dc;
    box-shadow:
        0 0 0 3px
        rgba(229,161,42,.13);
}

.star-rating-choice input:focus-visible + label{
    outline:3px solid rgba(45,145,199,.25);
    outline-offset:2px;
}

.star-rating-stars{
    display:block;
    color:#d1dce1;
    font-size:19px;
    line-height:1;
    letter-spacing:1px;
    white-space:nowrap;
}

.star-rating-choice input:checked + label
.star-rating-stars,
.star-rating-choice label:hover
.star-rating-stars{
    color:#e4a225;
}

.star-rating-label{
    display:block;
    color:#698391;
    font-size:12px;
    font-weight:800;
}

.star-rating-choice input:checked + label
.star-rating-label{
    color:#8b611b;
}

.star-rating-help{
    margin-top:8px;
    color:#8497a2;
    font-size:11px;
}

@media(max-width:760px){
    .star-rating-options{
        grid-template-columns:1fr;
    }

    .star-rating-choice label{
        min-height:58px;
        flex-direction:row;
        justify-content:flex-start;
        padding:10px 12px;
    }

    .star-rating-stars{
        min-width:120px;
    }
}


/* =========================================================
   PARENT RESULTS CHARTS V3
   ========================================================= */

.parent-chart-grid{
    display:grid;
    grid-template-columns:
        minmax(0,1.1fr)
        minmax(0,.9fr);
    gap:16px;
    margin-bottom:16px;
}

.parent-chart-panel{
    min-width:0;
    overflow:hidden;
}

.parent-chart-head{
    margin-top:0;
    margin-bottom:14px;
}

.stage-bar-chart{
    height:300px;
    display:grid;
    grid-template-columns:
        repeat(10,minmax(38px,1fr));
    gap:8px;
    align-items:end;
    padding:18px 10px 4px;
    border:1px solid #e3edf2;
    border-radius:16px;
    background:
        linear-gradient(
            180deg,
            #fbfdfe,
            #f6fafc
        );
    overflow-x:auto;
}

.stage-bar-column{
    position:relative;
    min-width:38px;
    height:260px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-end;
}

.stage-bar-value{
    min-height:22px;
    margin-bottom:5px;
    color:#41687d;
    font-size:10px;
    font-weight:800;
}

.stage-bar-track{
    position:relative;
    width:32px;
    height:190px;
    display:flex;
    align-items:flex-end;
    overflow:hidden;
    border-radius:10px 10px 5px 5px;
    background:
        linear-gradient(
            180deg,
            #eef4f7,
            #e3edf2
        );
}

.stage-bar-track:before,
.stage-bar-track:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    height:1px;
    background:
        rgba(91,126,145,.13);
}

.stage-bar-track:before{
    top:50%;
}

.stage-bar-track:after{
    top:25%;
}

.stage-bar-track i{
    position:relative;
    z-index:1;
    display:block;
    width:100%;
    min-height:0;
    border-radius:
        9px 9px 4px 4px;
    background:
        linear-gradient(
            180deg,
            #34a8d3,
            #31bd91
        );
    transition:
        height .35s ease;
}

.stage-bar-label{
    margin-top:6px;
    text-align:center;
}

.stage-bar-label strong,
.stage-bar-label span{
    display:block;
}

.stage-bar-label strong{
    color:#2f6179;
    font-size:13px;
}

.stage-bar-label span{
    margin-top:1px;
    color:#91a1aa;
    font-size:8px;
}

.stage-bar-tooltip{
    width:100%;
    margin-top:4px;
    overflow:hidden;
    color:#8b9ca6;
    font-size:8px;
    line-height:1.2;
    text-align:center;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.chart-scale-note{
    display:flex;
    justify-content:space-between;
    padding:6px 8px 0;
    color:#91a3ad;
    font-size:9px;
}

.attempt-line-chart{
    min-height:300px;
    padding:8px 6px 0;
    border:1px solid #e3edf2;
    border-radius:16px;
    background:
        linear-gradient(
            180deg,
            #fbfdfe,
            #f7fafc
        );
}

.attempt-line-chart svg{
    display:block;
    width:100%;
    height:auto;
    min-height:250px;
}

.chart-grid-line{
    stroke:#dce7ed;
    stroke-width:1;
}

.chart-axis-text{
    fill:#8a9da8;
    font-family:"Sarabun",sans-serif;
    font-size:11px;
}

.chart-attempt-label{
    font-weight:700;
    fill:#627e8e;
}

.chart-series-line{
    fill:none;
    stroke-width:4;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.chart-series-line.pre{
    stroke:#4a9ec7;
}

.chart-series-line.post{
    stroke:#31b489;
}

.chart-series-point{
    stroke:#fff;
    stroke-width:3;
}

.chart-series-point.pre{
    fill:#4a9ec7;
}

.chart-series-point.post{
    fill:#31b489;
}

.chart-value-text{
    font-family:"Sarabun",sans-serif;
    font-size:11px;
    font-weight:800;
}

.chart-value-text.pre{
    fill:#347da2;
}

.chart-value-text.post{
    fill:#278a69;
}

.line-chart-legend{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding:0 10px 13px;
    color:#607d8d;
    font-size:11px;
    font-weight:700;
}

.line-chart-legend span{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.legend-dot{
    width:10px;
    height:10px;
    display:inline-block;
    border-radius:50%;
}

.legend-dot.pre{
    background:#4a9ec7;
}

.legend-dot.post{
    background:#31b489;
}

@media(max-width:1100px){
    .parent-chart-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:760px){
    .stage-bar-chart{
        grid-template-columns:
            repeat(10,48px);
        justify-content:start;
        overflow-x:auto;
    }

    .stage-bar-track{
        width:34px;
    }

    .attempt-line-chart{
        overflow-x:auto;
    }

    .attempt-line-chart svg{
        width:680px;
        max-width:none;
    }
}


/* =========================================================
   PARENT LOGIN HERO IMAGE V4
   ========================================================= */

.parent-login-visual-photo{
    position:relative;
    min-height:620px;
    padding:0;
    overflow:hidden;
    background:#174e75;
}

.parent-login-visual-photo:before,
.parent-login-visual-photo:after{
    display:none;
}

.parent-login-hero-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:22% center;
    display:block;
}

.parent-login-image-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(
            180deg,
            rgba(7,35,52,.12) 0%,
            rgba(7,35,52,.02) 45%,
            rgba(7,35,52,.55) 100%
        );
    pointer-events:none;
}

.parent-login-back-home{
    position:absolute;
    top:22px;
    left:22px;
    z-index:3;
    min-height:39px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 13px;
    border:1px solid rgba(255,255,255,.42);
    border-radius:12px;
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
    background:rgba(10,42,61,.44);
    backdrop-filter:blur(7px);
}

.parent-login-back-home:hover{
    background:rgba(10,42,61,.64);
}

.parent-login-image-caption{
    position:absolute;
    left:24px;
    right:24px;
    bottom:24px;
    z-index:3;
    padding:15px 17px;
    border:1px solid rgba(255,255,255,.30);
    border-radius:16px;
    color:#fff;
    background:rgba(12,53,72,.56);
    backdrop-filter:blur(8px);
    box-shadow:0 12px 30px rgba(7,34,48,.18);
}

.parent-login-image-caption span,
.parent-login-image-caption strong{
    display:block;
}

.parent-login-image-caption span{
    color:#d9f8f4;
    font-size:11px;
    font-weight:700;
    letter-spacing:.03em;
}

.parent-login-image-caption strong{
    margin-top:3px;
    font-size:18px;
    line-height:1.35;
}

@media(max-width:900px){
    .parent-login-visual-photo{
        min-height:420px;
    }

    .parent-login-hero-image{
        object-position:24% 38%;
    }
}

@media(max-width:680px){
    .parent-login-visual-photo{
        min-height:360px;
    }

    .parent-login-hero-image{
        object-position:24% 34%;
    }

    .parent-login-image-caption{
        left:14px;
        right:14px;
        bottom:14px;
        padding:12px 13px;
    }

    .parent-login-image-caption strong{
        font-size:16px;
    }

    .parent-login-back-home{
        top:14px;
        left:14px;
    }
}
