/* ALZIO_COM2PILL_SHARED_STYLES_V1_20260906 */
:root{--navy:#122942;--blue:#2667e8;--mint:#087f8c;--text:#182b43;--muted:#586b81;--line:#dce4ee;--bg:#f4f7fb;--white:#fff;--red:#aa293b;--green:#14683d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"Malgun Gothic","Apple SD Gothic Neo","Noto Sans KR",system-ui,sans-serif;line-height:1.65}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #bb7000;outline-offset:4px}button{border:0}a{color:#1c53b4}h1,h2,h3,p{margin:0 0 16px}h1{font-size:clamp(28px,4.4vw,50px);line-height:1.35;letter-spacing:-1.5px}h2{font-size:25px;line-height:1.5}em{font-style:normal;color:var(--blue)}.skip{position:fixed;left:20px;top:-70px;z-index:99;padding:10px;background:white}.skip:focus{top:10px}.topbar{background:var(--navy);color:#fff;min-height:84px;padding:16px max(24px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:12px}.brand strong{display:block;font-size:18px}.brand small{display:block;font-size:12px;color:#c3d6eb}.logo{display:grid;place-items:center;border:1px solid #6890be;border-radius:12px;width:46px;height:46px;font-size:21px;font-weight:800}.tools{display:flex;gap:15px;align-items:center;white-space:nowrap}#timer{font-variant-numeric:tabular-nums;font-size:19px;font-weight:700}.urgent{color:#ffd2aa}.small-btn{padding:8px 12px;border-radius:8px;background:#e7effb;color:var(--navy);font-size:13px}.small-btn b{margin-left:6px}#screen{max-width:1200px;margin:auto;padding:42px 24px;min-height:70vh}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.6px;color:var(--blue);display:block;margin-bottom:20px}.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center;margin-bottom:35px}.lead{font-size:18px;color:var(--muted)}.metrics{display:flex;gap:38px;margin-top:27px}.metrics b{display:block;font-size:32px;line-height:1.3}.metrics span{font-size:12px;color:var(--muted)}.map{background:var(--navy);color:#fff;border-radius:18px;padding:33px}.map .eyebrow{color:#89dce0}.map p{font-size:15px;padding:16px 0;margin:0;border-bottom:1px solid #365068}.map p:last-child{border:0}.map b{color:#6bd2d8;margin-right:13px}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mode-card,.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:28px}.mode-card p{color:var(--muted);min-height:56px;font-size:15px}.mode-card button{width:100%}.pill{display:inline-block;border-radius:5px;background:#e5edff;color:#1d54b9;padding:4px 10px;font-size:12px;font-weight:700;margin-bottom:14px}.pill.light{background:#edf2f7;color:#42576e}.primary,.secondary{border-radius:9px;padding:12px 19px;font-weight:700;font-size:15px;line-height:1.6}.primary{background:var(--blue);color:white}.secondary{background:white;color:var(--navy);border:1px solid #aebed1}.primary:hover:not(:disabled){background:#1b53bf}.secondary:hover:not(:disabled){background:#edf3fc}.text-btn{background:none;color:#205ac6;font-size:14px;font-weight:700;padding:10px 0}.bottom-actions{text-align:center;margin-top:16px}.notice{background:#edf2f8;color:#42566d;padding:14px 17px;border-radius:8px;font-size:12px;margin-top:20px}.site-footer{padding:20px 24px 36px;text-align:center;color:var(--muted);font-size:11px}.storage-notice{padding:8px;background:#fff1cf;color:#624b06;text-align:center;font-size:13px}.quiz-layout{display:grid;grid-template-columns:204px 1fr;gap:24px}.quiz-nav{align-self:start;position:sticky;top:24px}.quiz-nav>strong{font-size:16px}.quiz-nav nav{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:18px 0}.nav-num{aspect-ratio:1;border:1px solid #c7d5e4;border-radius:7px;background:white;color:#384e67;font-size:13px}.nav-num.done{background:#dfebfd}.nav-num.current{background:var(--blue);color:white;border-color:var(--blue)}.quiz-nav p:not(.eyebrow){font-size:12px;color:var(--muted)}.quiz-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);flex-wrap:wrap}.quiz-meta .pill{margin:0}.qindex{color:var(--blue);font-weight:800;font-size:18px;white-space:nowrap}.progress{height:5px;background:#e6edf5;border-radius:8px;overflow:hidden;margin:20px 0 25px}.progress i{display:block;height:100%;background:var(--blue);border-radius:8px}.question{font-size:23px;line-height:1.65;word-break:keep-all;overflow-wrap:anywhere}.options{border:0;margin:22px 0;padding:0}.option{display:flex;gap:14px;align-items:center;padding:15px 16px;border:1px solid #cfdbe8;border-radius:10px;margin:11px 0;cursor:pointer;line-height:1.6;font-size:16px;background:#fff}.option input{position:absolute;width:1px;height:1px;opacity:0}.option:has(input:focus-visible){outline:3px solid #bb7000;outline-offset:3px}.option.selected{border:2px solid var(--blue);padding:14px 15px;background:#f0f5ff}.opt-number{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;background:#eaf0f7;font-weight:700;flex-shrink:0}.option.correct{border:2px solid var(--green);padding:14px 15px;background:#ebf7ef}.option.incorrect{border:2px solid var(--red);padding:14px 15px;background:#fff0f1}.mark{display:block;font-size:12px;margin-top:4px}.question-actions{display:flex;justify-content:space-between;gap:10px;margin-top:25px}.question-actions>div{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.keyboard-help{font-size:11px;color:var(--muted);margin-top:22px}.feedback{border-top:2px solid var(--line);padding-top:24px;margin-top:30px}.feedback-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:16px;margin-bottom:18px}.feedback-head span{color:var(--blue);font-weight:bold}.keyline{font-size:16px;font-weight:700}.cue{background:#eaf1ff;color:#14376a;padding:13px 16px;border-radius:8px;margin:15px 0;font-size:14px;font-weight:700}details{font-size:14px;margin:16px 0}summary{cursor:pointer;font-weight:700}details li{padding:7px 0}.trap{border-left:3px solid #bb7000;padding:10px 14px;background:#fff8e9;font-size:13px}.link-note{color:var(--muted);font-size:12px;margin-top:16px}.sources a{display:block;font-size:11px;overflow-wrap:anywhere;margin:8px 0}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.result-hero{display:flex;align-items:center;gap:36px;margin-bottom:28px}.score{font-size:82px;line-height:1.2;color:var(--blue);font-weight:800;min-width:160px}.score small{font-size:22px}.result-hero h1{font-size:28px;letter-spacing:-1px}.result-hero p{font-size:13px;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat-grid article{border:1px solid var(--line);border-radius:10px;padding:17px}.stat-grid strong{display:block;font-size:25px;margin-top:9px}.stat-grid b{font-size:13px}.stat-grid .progress{margin:8px 0 0}.result-panel>h2{font-size:20px;margin-top:32px}.result-row{display:grid;grid-template-columns:64px 1fr 65px 65px;align-items:center;gap:12px;text-align:left;width:100%;padding:14px 6px;background:white;border-bottom:1px solid var(--line);font-size:14px}.result-row small{display:block;color:var(--muted);font-size:11px}.result-row>:last-child{font-size:12px;color:var(--muted)}.ok{color:var(--green)}.bad{color:var(--red)}dialog{border:0;border-radius:16px;width:min(1100px,94vw);max-height:92vh;padding:25px;color:var(--text);box-shadow:0 20px 100px #12294266}dialog::backdrop{background:#132944bb}.dialog-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:12px}#dialogBody h2{font-size:23px}.correct-label{color:var(--blue);font-weight:700}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:800px){.topbar{padding:14px 18px}.brand small{font-size:10px}.logo{width:38px;height:38px}.tools{gap:8px}#timer{font-size:16px}#screen{padding:26px 18px}.hero{grid-template-columns:1fr;gap:22px}.map{padding:23px}.map p{padding:10px 0}.mode-grid{grid-template-columns:1fr}.mode-card p{min-height:0}.quiz-layout{grid-template-columns:1fr;gap:18px}.quiz-nav{position:static}.quiz-nav nav{grid-template-columns:repeat(10,1fr);gap:5px;margin:12px 0}.quiz-nav .eyebrow{margin-bottom:6px}.quiz-nav>p:not(.eyebrow),.quiz-nav>.text-btn{display:none}.question-panel{padding:22px}.question{font-size:21px}.stat-grid{grid-template-columns:repeat(2,1fr)}.result-hero{gap:20px}.score{font-size:62px;min-width:120px}.result-hero h1{font-size:23px}.result-row{grid-template-columns:46px 1fr 47px 48px;gap:7px}.result-row .qindex{font-size:15px}}
@media(max-width:430px){.brand strong{font-size:15px}.brand small{max-width:190px}.tools{gap:6px}.small-btn{padding:7px 9px;font-size:11px}.logo{display:none}.topbar{padding:12px}.mode-card,.panel{padding:20px 16px}.question{font-size:19px}.option{font-size:15px;gap:10px;padding:12px}.option.selected,.option.correct,.option.incorrect{padding:11px}.primary,.secondary{padding:10px 13px;font-size:13px}.result-hero{display:block}.score{margin-bottom:18px}.actions button{flex:1 1 auto}.quiz-meta{gap:8px;font-size:11px}.metrics{gap:30px}dialog{padding:18px}#dialogBody h2{font-size:19px}}
@media print{body>*:not(dialog){display:none!important}dialog{display:block!important;position:static!important;max-height:none!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;box-shadow:none!important;overflow:visible!important}dialog:not([open]){display:none!important}.dialog-top,.no-print,.sources{display:none!important}.print-content{display:block!important}details>*{display:block!important}summary{display:none!important}.option-details{font-size:11px}.keyline,.cue{font-size:12px}.trap{font-size:11px}h2{font-size:16px!important}@page{size:A4;margin:14mm}}
/* Programmatic heading focus is for reading order; keep visible focus on controls. */
#screen h1[tabindex="-1"]:focus,#screen h2[tabindex="-1"]:focus{outline:none}
.skip:not(:focus){clip-path:inset(50%);width:1px;height:1px;overflow:hidden;padding:0}

.answer-line{margin:14px 0;padding:14px 16px;border:1px solid var(--line);border-radius:9px;background:#fff;font-size:15px;line-height:1.7}.answer-line strong{color:var(--blue)}.course-link{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:#fff!important;border-radius:9px;padding:12px 18px;font-weight:700;text-decoration:none!important;line-height:1.5}.course-link:hover{opacity:.9}

/* =========================================================
   COM2PILL SHARED CSS
   Base UI : lesson 05
   ========================================================= */

/* 03~11 narrow-screen/accessibility compatibility */
.stat-grid article b {
    overflow-wrap: anywhere;
}

.question-panel {
    min-width: 0;
}

.option input:disabled {
    cursor: default;
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* =========================================================
   LESSON 06~11
   Lesson 05 visual language compatibility
   ========================================================= */

body.com2pill-layout-modern .sublead {
    color: var(--muted);
    font-size: 15px;
    font-weight: 400;
}

body.com2pill-layout-modern .intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 12px;
}

body.com2pill-layout-modern .quiz-nav nav {
    max-height: 470px;
    overflow: auto;
    padding-right: 3px;
}

body.com2pill-layout-modern .option.wrong {
    border: 2px solid var(--red);
    padding: 14px 15px;
    background: #fff0f1;
}

body.com2pill-layout-modern .feedback.bad {
    border-color: #efc5ca;
    background: #fff5f6;
}

body.com2pill-layout-modern .dialog-lead {
    color: var(--muted);
    font-size: 13px;
}

body.com2pill-layout-modern .wrong-list {
    border-top: 1px solid var(--line);
}

body.com2pill-layout-modern .wrong-row {
    width: 100%;
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 6px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    text-align: left;
}

body.com2pill-layout-modern .wrong-row b {
    color: var(--blue);
}

body.com2pill-layout-modern .wrong-row span {
    font-size: 13px;
}

body.com2pill-layout-modern .wrong-row strong {
    color: #205ac6;
    font-size: 12px;
    white-space: nowrap;
}

body.com2pill-layout-modern .review-card h2 {
    font-size: 22px;
    line-height: 1.6;
}

@media (max-width: 800px) {
    body.com2pill-layout-modern .wrong-row {
        grid-template-columns: 48px 1fr;
    }

    body.com2pill-layout-modern .wrong-row strong {
        grid-column: 2;
    }
}


/* =========================================================
   LESSON 01~02 LEGACY LAYOUT COMPATIBILITY
   Original 01 styling is scoped so it cannot affect 03~11.
   ========================================================= */

body.com2pill-layout-legacy{--navy:#10243e;--navy2:#173654;--blue:#246bfd;--cyan:#20c7d9;--bg:#f5f8fc;--white:#fff;--dark:#152238;--muted:#607089;--pale:#e9f2ff;--green:#12a676;--red:#e85656;--yellow:#fff3c4;--border:#d9e3f0}
body.com2pill-layout-legacy *{box-sizing:border-box}
html{scroll-behavior:smooth}
body.com2pill-layout-legacy{margin:0;background:linear-gradient(135deg,#eef5ff,#f8fbff 50%,#edfafa);font-family:"Noto Sans KR","Malgun Gothic",Arial,sans-serif;color:var(--dark);min-height:100vh}
body.com2pill-layout-legacy button{font:inherit}
body.com2pill-layout-legacy .app-shell{width:min(1120px,calc(100% - 32px));margin:22px auto}
body.com2pill-layout-legacy .topbar{background:var(--navy);color:white;padding:24px 28px;border-radius:26px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:0 18px 45px #10243e24}
body.com2pill-layout-legacy .eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--cyan)}
body.com2pill-layout-legacy h1{font-size:25px;margin:5px 0 0}
body.com2pill-layout-legacy .top-actions{display:flex;gap:12px;align-items:center}
body.com2pill-layout-legacy .ghost,body.com2pill-layout-legacy .timer{border:1px solid #ffffff35;background:#ffffff10;color:white;border-radius:14px;padding:11px 15px}
body.com2pill-layout-legacy .ghost{cursor:pointer}
body.com2pill-layout-legacy .ghost b{display:inline-grid;place-items:center;background:var(--red);min-width:22px;height:22px;border-radius:999px;margin-left:6px}
body.com2pill-layout-legacy .timer{font-variant-numeric:tabular-nums;font-weight:800;min-width:72px;text-align:center}
body.com2pill-layout-legacy main{margin-top:18px}
body.com2pill-layout-legacy .panel{background:white;border:1px solid var(--border);border-radius:28px;padding:34px;box-shadow:0 18px 50px #17365412}
body.com2pill-layout-legacy .hero{display:grid;grid-template-columns:1.3fr .7fr;gap:22px}
body.com2pill-layout-legacy .hero h2{font-size:38px;line-height:1.25;margin:10px 0}
body.com2pill-layout-legacy .hero p{color:var(--muted);font-size:17px;line-height:1.8}
body.com2pill-layout-legacy .pill{display:inline-block;background:var(--pale);color:var(--blue);padding:8px 12px;border-radius:999px;font-weight:800;font-size:13px}
body.com2pill-layout-legacy .info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}
body.com2pill-layout-legacy .info{padding:16px;border-radius:18px;background:var(--bg)}
body.com2pill-layout-legacy .info b{display:block;font-size:21px;color:var(--navy)}
body.com2pill-layout-legacy .info span{font-size:13px;color:var(--muted)}
body.com2pill-layout-legacy .visual-card{background:var(--navy);border-radius:24px;padding:26px;color:white;display:flex;flex-direction:column;justify-content:center}
body.com2pill-layout-legacy .visual-card .loop{display:grid;gap:10px;margin-top:14px}
body.com2pill-layout-legacy .visual-card .loop span{background:#ffffff11;border:1px solid #ffffff22;padding:12px 14px;border-radius:14px}
body.com2pill-layout-legacy .primary{border:0;background:var(--blue);color:white;border-radius:15px;padding:14px 22px;font-weight:900;cursor:pointer;box-shadow:0 8px 22px #246bfd40}
body.com2pill-layout-legacy .primary:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
body.com2pill-layout-legacy .secondary{border:1px solid var(--border);background:white;color:var(--navy);border-radius:15px;padding:13px 18px;font-weight:800;cursor:pointer}
body.com2pill-layout-legacy .actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
body.com2pill-layout-legacy .notice{margin-top:18px;padding:14px 16px;border-radius:15px;background:var(--yellow);font-size:14px;color:var(--navy)}
body.com2pill-layout-legacy .quiz-head{display:flex;justify-content:space-between;gap:20px;align-items:end}
body.com2pill-layout-legacy .progress-wrap{flex:1}
body.com2pill-layout-legacy .progress-line{height:10px;background:#edf1f7;border-radius:99px;overflow:hidden;margin-top:8px}
body.com2pill-layout-legacy .progress{height:100%;background:linear-gradient(90deg,var(--blue),var(--cyan));width:0;transition:.3s}
body.com2pill-layout-legacy .qnum{font-weight:900;color:var(--blue)}
body.com2pill-layout-legacy .tags{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
body.com2pill-layout-legacy .tag{background:var(--pale);color:var(--blue);border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800}
body.com2pill-layout-legacy .tag.neutral{background:#eef1f5;color:var(--muted)}
body.com2pill-layout-legacy .question{font-size:27px;line-height:1.45;margin:28px 0 22px;color:var(--navy)}
body.com2pill-layout-legacy .options{display:grid;gap:12px}
body.com2pill-layout-legacy .option{border:2px solid var(--border);background:white;border-radius:18px;padding:17px 18px;text-align:left;cursor:pointer;display:flex;gap:14px;align-items:flex-start;transition:.15s;font-size:16px;color:var(--dark)}
body.com2pill-layout-legacy .option:hover{border-color:#8db3ff;transform:translateY(-1px)}
body.com2pill-layout-legacy .option.selected{border-color:var(--blue);background:var(--pale)}
body.com2pill-layout-legacy .option.correct{border-color:var(--green);background:#e9fbf5}
body.com2pill-layout-legacy .option.wrong{border-color:var(--red);background:#fff0f0}
body.com2pill-layout-legacy .option i{font-style:normal;width:28px;height:28px;border-radius:9px;background:var(--bg);display:grid;place-items:center;font-weight:900;flex:0 0 auto}
body.com2pill-layout-legacy .quiz-actions{margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:15px}
body.com2pill-layout-legacy .hint{color:var(--muted);font-size:13px}
body.com2pill-layout-legacy .feedback{margin-top:22px;border-radius:22px;padding:22px;background:#effaf6;border:1px solid #b9ead8}
body.com2pill-layout-legacy .feedback.bad{background:#fff3f3;border-color:#ffd0d0}
body.com2pill-layout-legacy .feedback-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:8px}
body.com2pill-layout-legacy .feedback-title span{font-size:22px;font-weight:900;color:var(--green)}
body.com2pill-layout-legacy .feedback.bad .feedback-title span{color:var(--red)}
body.com2pill-layout-legacy .feedback-title b{color:var(--navy);background:white;border-radius:999px;padding:7px 11px}
body.com2pill-layout-legacy .feedback p{margin:0;color:var(--dark);line-height:1.7}
body.com2pill-layout-legacy .answer-line{margin-top:12px!important;padding:14px 16px;border-radius:14px;background:#fff;border:1px solid var(--border)}
body.com2pill-layout-legacy .answer-line strong{color:var(--blue)}
body.com2pill-layout-legacy .course-link{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--navy);color:#fff!important;border-radius:15px;padding:13px 18px;font-weight:900;text-decoration:none!important;line-height:1.4}
body.com2pill-layout-legacy .course-link:hover{text-decoration:underline!important}
body.com2pill-layout-legacy .feedback-actions{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
body.com2pill-layout-legacy .result-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:22px}
body.com2pill-layout-legacy .score-card{background:var(--navy);color:white;border-radius:24px;padding:30px;text-align:center}
body.com2pill-layout-legacy .score{font-size:72px;font-weight:900;line-height:1}
body.com2pill-layout-legacy .score small{font-size:24px;color:#a9bed7}
body.com2pill-layout-legacy .stat-row{display:flex;justify-content:center;gap:12px;margin-top:20px}
body.com2pill-layout-legacy .stat{background:#ffffff12;border-radius:14px;padding:12px 16px}
body.com2pill-layout-legacy .result-copy{color:var(--muted);line-height:1.8}
body.com2pill-layout-legacy .section-title{margin:28px 0 14px}
body.com2pill-layout-legacy .category-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
body.com2pill-layout-legacy .category-card{background:var(--bg);border:1px solid var(--border);border-radius:17px;padding:16px;position:relative;overflow:hidden}
body.com2pill-layout-legacy .category-card>div:first-child{display:flex;justify-content:space-between;gap:12px}
body.com2pill-layout-legacy .category-card span{color:var(--muted);font-size:13px}
body.com2pill-layout-legacy .category-card strong{font-size:25px;color:var(--navy);display:block;margin-top:8px}
body.com2pill-layout-legacy .mini-line{height:7px;background:#e3eaf4;border-radius:99px;margin-top:10px;overflow:hidden}
body.com2pill-layout-legacy .mini-line i{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--cyan))}
body.com2pill-layout-legacy .result-list{display:grid;gap:10px;margin-top:18px}
body.com2pill-layout-legacy .result-item{padding:14px;border-radius:14px;background:var(--bg);display:flex;justify-content:space-between;gap:14px}
body.com2pill-layout-legacy .result-item.bad{background:#fff0f0}
body.com2pill-layout-legacy .result-item b{color:var(--navy)}
body.com2pill-layout-legacy .modal{position:fixed;inset:0;background:#10243ecc;display:grid;place-items:center;padding:18px;z-index:10}
body.com2pill-layout-legacy .hidden{display:none}
body.com2pill-layout-legacy .modal-card{width:min(760px,100%);max-height:82vh;overflow:auto;background:white;border-radius:24px;padding:28px;position:relative}
body.com2pill-layout-legacy .close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:34px;cursor:pointer;color:var(--muted)}
body.com2pill-layout-legacy .wrong-item{border:1px solid var(--border);border-radius:16px;padding:15px;margin:10px 0}
body.com2pill-layout-legacy .wrong-item small{color:var(--muted);display:block;line-height:1.6}
body.com2pill-layout-legacy .wrong-item a{display:inline-block;margin-top:9px;color:var(--blue);font-weight:800;text-decoration:none}
body.com2pill-layout-legacy footer{text-align:center;color:var(--muted);font-size:12px;padding:16px}
@media(max-width:760px){body.com2pill-layout-legacy .app-shell{width:min(100% - 18px,1120px);margin:10px auto}
body.com2pill-layout-legacy .topbar{padding:19px;border-radius:20px;align-items:flex-start}
body.com2pill-layout-legacy .topbar h1{font-size:18px}
body.com2pill-layout-legacy .top-actions{flex-direction:column-reverse;align-items:stretch}
body.com2pill-layout-legacy .hero,body.com2pill-layout-legacy .result-grid,body.com2pill-layout-legacy .category-grid{grid-template-columns:1fr}
body.com2pill-layout-legacy .panel{padding:22px;border-radius:22px}
body.com2pill-layout-legacy .hero h2{font-size:29px}
body.com2pill-layout-legacy .info-grid{grid-template-columns:1fr}
body.com2pill-layout-legacy .question{font-size:21px}
body.com2pill-layout-legacy .option{font-size:15px;padding:14px}
body.com2pill-layout-legacy .ghost{font-size:12px}
body.com2pill-layout-legacy .timer{text-align:center}
body.com2pill-layout-legacy .quiz-head{align-items:flex-start}
body.com2pill-layout-legacy .quiz-actions,body.com2pill-layout-legacy .feedback-title{align-items:stretch;flex-direction:column}}
body.com2pill-layout-legacy .subject-score-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:16px 0}
body.com2pill-layout-legacy .subject-score{border:1px solid var(--border);background:var(--bg);border-radius:18px;padding:16px}
body.com2pill-layout-legacy .subject-score>div{display:flex;justify-content:space-between;gap:12px;align-items:center}
body.com2pill-layout-legacy .subject-score b{font-size:16px;color:var(--navy)}
body.com2pill-layout-legacy .subject-score strong{font-size:27px;color:var(--blue)}
body.com2pill-layout-legacy .subject-score span{display:block;color:var(--muted);font-size:13px;margin-top:4px}
body.com2pill-layout-legacy .pass-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#e9fbf5;color:var(--green);font-size:13px;font-weight:900}
body.com2pill-layout-legacy .pass-chip.risk{background:#fff0f0;color:var(--red)}
body.com2pill-layout-legacy .exam-rule{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
body.com2pill-layout-legacy .exam-rule div{background:#ffffff12;border:1px solid #ffffff20;padding:13px;border-radius:14px}
body.com2pill-layout-legacy .exam-rule b{display:block;font-size:18px}
body.com2pill-layout-legacy .exam-rule span{font-size:12px;color:#c6d6e8}
body.com2pill-layout-legacy .subject-badge{display:inline-block;background:#eaf8fb;color:#08788a;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:900}
body.com2pill-layout-legacy .prescription{margin-top:18px;border-left:5px solid var(--blue);background:var(--pale);border-radius:13px;padding:14px 16px;color:var(--navy);line-height:1.65}
body.com2pill-layout-legacy .result-headline{margin:10px 0 8px}
body.com2pill-layout-legacy .result-headline .pass-chip{vertical-align:middle;margin-right:8px}
@media(max-width:760px){body.com2pill-layout-legacy .subject-score-grid,body.com2pill-layout-legacy .exam-rule{grid-template-columns:1fr}}
/* /ALZIO_COM2PILL_SHARED_STYLES_V1_20260906 */
