.ews-self-study-dropdown{position:relative;display:block;max-width:500px;text-align:left;z-index:35}.ews-self-study-dropdown summary{cursor:pointer;background:#12643c;color:#fff;padding:12px 18px;border-radius:12px;font-weight:800;border:2px solid #12643c;list-style-position:inside;line-height:1.5}.ews-self-study-dropdown summary small{display:block;padding-left:18px;font-size:.8rem;font-weight:400;line-height:1.8}.ews-self-study-dropdown[open] summary{border-color:#f1c83b}.ews-self-study-options{position:absolute;left:0;top:calc(100% + 7px);min-width:100%;width:max-content;max-width:min(340px,85vw);padding:8px;background:#fff;border:1px solid #b9d3c0;border-radius:12px;box-shadow:0 12px 32px #0c34272b;z-index:80}.ews-self-study-dropdown:not([open])>.ews-self-study-options{display:none!important}.ews-self-study-dropdown[open]>.ews-self-study-options{display:grid;gap:5px}.ews-self-study-options a{display:block;padding:11px 13px;background:#eff7ed;color:#153f2b!important;border-radius:8px;text-decoration:none;font-weight:700;line-height:1.5}.ews-self-study-options a small{display:block;font-size:.8rem;font-weight:400;line-height:1.9}.ews-self-study-options a:hover{background:#fff0b5}.reader-header nav{align-items:center;flex-wrap:wrap;gap:16px}.reader-header nav>a small{display:block}.reader-header .ews-self-study-options{left:auto;right:0}.ews-courses-promo{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(240px,330px);align-items:center;gap:28px!important}.ews-courses-promo h2 small,.ews-topic-heading h2 small,.ews-topic-section h2 small,.ews-course-card h2 small,.reader-intro h1 small{display:block;font-size:.5em;line-height:1.8;font-weight:600;margin-top:10px;letter-spacing:normal}.ews-courses-promo>.ews-study-course-actions{display:grid;gap:16px}.ews-courses-promo .ews-study-tag span{display:block;font-size:.85em;letter-spacing:normal}.ews-courses-promo .ews-self-study-dropdown{max-width:330px;margin-top:20px}.ews-courses-promo .ews-self-study-dropdown summary{background:#fff5c6;color:#17452d;border:1px solid #c9af4b}.ews-study-course-actions .ews-grammar-open{background:#ffdc53;color:#173a27!important;border-bottom-color:#12643c}.ews-study-course-actions .ews-grammar-open:hover{background:#ffe787!important}.ews-study-course-actions .ews-study-open{font-size:1.05rem}.ews-study-course-actions small{font-weight:600}.ews-course-cards{max-width:1180px;margin:0 auto 42px;padding:0 24px;display:grid;grid-template-columns:1fr 1fr;gap:24px}.ews-course-card{padding:30px;background:#e9f5e8;border:2px solid #327548;border-radius:22px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 10px 30px #1735260a}.ews-course-card h2{font-size:1.8rem;line-height:1.25;margin:18px 0}.ews-course-card h2 small{font-size:.6em}.ews-course-card .start-button{margin-top:auto}.ews-course-card .start-button small,.start-button small{display:block;font-size:.8rem;line-height:1.9;font-weight:600}.ews-course-label{font-size:.75rem;font-weight:800;letter-spacing:.09em;color:#1a5b33}.ews-grammar-card{background:#fff5cf;border-color:#b59a2b}.ews-grammar-card .ews-course-label{color:#6e5311}.ews-course-status{display:block;margin-top:20px;font-size:.85rem;font-weight:700}.ews-course-status small{display:block;font-weight:400}.ews-pending{color:#6a5518}.ews-topic-section{max-width:1180px;padding:28px;margin:20px auto 36px;background:#fff;border:1px solid #c8d8c8;border-radius:20px;scroll-margin-top:24px}.ews-topic-section h2{font-size:1.75rem;line-height:1.3;margin:10px 0 15px;color:#164b2d}.ews-topic-section h2 small{font-size:.6em}.ews-topic-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.ews-count{display:inline-block;flex-shrink:0;padding:10px 14px;background:#fff0b5;border-radius:12px;font-size:.85rem;font-weight:800;text-align:center}.ews-count small{display:block;font-weight:400;line-height:1.8}.ews-topic-search-label{display:block;font-weight:700;margin:18px 0 8px;color:#17452d}.ews-topic-search-label span{display:inline-block;font-size:.85em;margin-left:8px}.ews-topic-search{width:100%;padding:14px 16px;background:#f8fcf6;border:2px solid #7ba583;border-radius:10px;color:#163f2a;font:inherit;font-family:Arial,EWSSinhala,sans-serif;min-height:48px}.ews-filter-status{font-size:.85rem;color:#3d5947;margin:12px 0}.ews-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:490px;overflow:auto;padding:4px 5px 12px 2px;scrollbar-gutter:stable}.ews-topic-button{display:flex;flex-direction:column;align-items:flex-start;text-decoration:none;background:#edf6ea;border:1px solid #9dbfa5;border-left:5px solid #39814d;border-radius:12px;padding:15px;min-height:136px;color:#143f28;line-height:1.4}.ews-topic-button strong{font-size:1rem}.ews-topic-button>span{font-size:.85rem;line-height:1.85;margin:6px 0}.ews-topic-button>small{font-size:.75rem;color:#3d5947;margin-top:auto}.ews-topic-button>small span{display:inline}.ews-topic-button:hover,.ews-topic-button:focus-visible{background:#fff1b8;border-color:#ad8924}.ews-topic-button[hidden]{display:none!important}.ews-no-results{padding:18px;background:#fff6d6;border-radius:10px}.ews-no-results[hidden]{display:none}.ews-no-results span{display:block}.ews-grammar-topic{background:#fff9e4;border-left-color:#bd9c23;border-color:#d9c574}.ews-grammar-intro .eyebrow{background:#fff0b5}.ews-availability{max-width:720px;margin:28px auto 0;padding:18px 24px;background:#fff4cc;border:1px solid #c8b15d;border-radius:14px;text-align:left}.ews-availability p{margin:8px 0;font-size:.9rem}.ews-availability p[lang=si]{background:transparent;border:0;padding:0;color:#5a4c20}.ews-grammar-note-state{background:#fff9e3;border:2px solid #c9ae42}.ews-grammar-note-state h3{color:#19482c;font-size:1.3rem}.ews-grammar-note-state h3 span{display:block;font-size:.85em;line-height:1.9}.ews-grammar-note-state:focus{outline:3px solid #25643a;outline-offset:4px}.ews-support-note{background:#edf6ea}.reader-intro h1{font-size:clamp(2.15rem,4.7vw,3.5rem);max-width:980px;margin:25px auto}.reader-intro h1 small{font-size:.5em}.intro-tags span small{display:block;font-family:EWSSinhala,Arial,sans-serif;line-height:1.9}.reader-controls small,.reader-location small,.reader-bottom small,.reading-note>span{display:block;font-size:.78rem;font-weight:400;line-height:1.9}.reader-controls select{font-family:Arial,EWSSinhala,sans-serif}.reader-controls label small{color:#fff}.reader-controls .chapter-field{flex-basis:100%}.reader-controls .chapter-field select{width:100%}.reader-location{gap:15px}.reader-location>span:last-child{max-width:600px}.reader-bottom button small{color:#fff}.reader-bottom button{line-height:1.5}.reader-bottom a small{color:#17452d}.reader-intro .practice-tip summary span{display:block;font-size:.8rem;line-height:1.9}.reading-note>span{margin-top:8px}.ews-self-study-options a:focus-visible,.ews-topic-button:focus-visible{outline:3px solid #b58817;outline-offset:3px}@media(max-width:900px){.ews-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ews-course-cards{grid-template-columns:1fr}.ews-courses-promo{grid-template-columns:1fr!important}.ews-study-course-actions{grid-template-columns:1fr 1fr}.ews-topic-section{margin:18px 20px 30px}}@media(max-width:650px){.reader-header nav{width:100%;justify-content:space-between;align-items:center}.reader-header nav .ews-self-study-dropdown{flex:1;max-width:290px}.reader-header nav>a{font-size:.75rem}.ews-self-study-dropdown summary{font-size:.9rem;padding:10px 12px}.ews-self-study-dropdown summary small{font-size:.73rem;padding-left:14px}.ews-topic-section{padding:20px 15px;margin:18px 10px 28px}.ews-topic-heading{align-items:flex-start;flex-direction:column;gap:6px}.ews-count{font-size:.75rem;padding:7px 10px}.ews-count small{display:inline;margin-left:8px}.ews-topic-section h2{font-size:1.5rem}.ews-topic-grid{gap:9px;max-height:480px}.ews-topic-button{padding:12px 10px;min-height:145px}.ews-topic-button strong{font-size:.92rem}.ews-topic-button>span{font-size:.8rem}.ews-topic-button>small{font-size:.7rem}.ews-topic-search-label span{display:block;margin-left:0}.ews-course-cards{padding:0 14px;gap:18px}.ews-course-card{padding:24px 20px}.ews-course-card h2{font-size:1.55rem}.ews-study-course-actions{grid-template-columns:1fr}.ews-courses-promo .ews-study-open{margin-top:0}.ews-courses-promo .ews-study-tag{font-size:.7rem}.reader-controls{gap:14px}.reader-location>span{width:100%}.reader-intro h1{font-size:2.2rem;line-height:1.17}.reader-intro h1 small{font-size:.5em;margin-top:16px}.ews-availability{padding:16px}.reader-intro .intro-tags span{font-size:.78rem}}@media print{html,body,.ews-topic-section{display:none!important}}.page-loading{font-family:Arial,EWSSinhala,sans-serif;text-align:center;padding:18px;line-height:1.9}
