/* FILOLOGOS AI – Νεοελληνική Γραμματική native study UI v1.2 */
.ngg-root{--ngg-ink:#223b4a;--ngg-muted:#647888;--ngg-line:#dce8ea;--ngg-teal:#096c73;--ngg-font-size:16px;color:var(--ngg-ink);font:14px/1.6 system-ui,-apple-system,'Segoe UI',Arial,sans-serif;max-width:100%;isolation:isolate}.ngg-root,.ngg-root *{box-sizing:border-box}.ngg-root button,.ngg-root input,.ngg-root select{font:inherit}.ngg-root button{cursor:pointer}.ngg-root button:focus-visible,.ngg-root input:focus-visible,.ngg-root select:focus-visible,.ngg-root summary:focus-visible{outline:3px solid #78bfc1;outline-offset:2px}.ngg-root button[disabled]{opacity:.38;cursor:not-allowed}.ngg-root .ngg-shell{width:100%;background:#fff;border:1px solid #d9e6e7;box-shadow:0 7px 28px #2f53580d;border-radius:17px;overflow:hidden}.ngg-root .ngg-topbar{display:flex;align-items:center;gap:15px;padding:20px 24px;background:linear-gradient(105deg,#0b6573 0%,#187b7f 68%,#2c978e 100%);color:white}.ngg-root .ngg-brand-mark{background:#ffffff20;border:1px solid #ffffff5a;border-radius:13px;width:51px;height:51px;flex:none;font-family:Georgia,serif;font-size:29px;font-weight:700;display:grid;place-items:center}.ngg-root .ngg-brand-text{display:flex;flex-direction:column;min-width:0}.ngg-root .ngg-brand-text strong{color:#fff;font-size:22px;line-height:1.23;letter-spacing:-.5px}.ngg-root .ngg-eyebrow{font-weight:720;font-size:9px;letter-spacing:1.55px;color:#cdf0ed}.ngg-root .ngg-brand-text small{font-size:11px;color:#d2ebe8}.ngg-root .ngg-top-chip{margin-left:auto;white-space:nowrap;font-size:10px;letter-spacing:.7px;border:1px solid #ffffff77;background:#ffffff14;border-radius:999px;padding:7px 12px;font-weight:800}.ngg-root .ngg-tools{display:flex;gap:10px;align-items:center;padding:12px 20px;background:#f8fbfb;border-bottom:1px solid #e1e9e8}.ngg-root .ngg-search-wrap{display:flex;align-items:center;gap:10px;flex:1;min-width:0;max-width:630px;background:white;border:1px solid #d8e4e3;border-radius:11px;padding:6px 13px;color:#607e86}.ngg-root .ngg-search-wrap span{font-size:25px;line-height:1}.ngg-root .ngg-search{width:100%;border:0;outline:none!important;background:transparent;padding:5px 0;min-width:0;font-size:13px;color:#244556}.ngg-root .ngg-tool-home,.ngg-root .ngg-font-tools button{background:white;border:1px solid #d8e4e3;color:#2c6270;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:750;white-space:nowrap}.ngg-root .ngg-font-tools{display:flex;gap:4px}.ngg-root .ngg-font-tools button{padding:9px}.ngg-root .ngg-workspace{display:grid;grid-template-columns:205px minmax(0,1fr);min-height:600px}.ngg-root .ngg-aside{background:#f8fbfa;border-right:1px solid #e3eceb;padding:19px 11px 20px;min-width:0}.ngg-root .ngg-nav-label{font-size:10px;font-weight:800;letter-spacing:.9px;color:#859ba0;padding:7px 9px 13px}.ngg-root .ngg-chapters{display:grid;gap:4px}.ngg-root .ngg-nav-item{display:flex;align-items:center;gap:7px;width:100%;border:1px solid transparent;background:transparent;color:#385668;border-radius:9px;text-align:left;padding:9px 7px;font-weight:640;line-height:1.3;font-size:11.5px}.ngg-root .ngg-nav-item:hover{background:#eaf6f4}.ngg-root .ngg-nav-item.ngg-active{border-color:#bcddda;background:#e2f3ee;color:#03656c}.ngg-root .ngg-nav-number{font-size:10px;border:1px solid #d9e4e4;background:white;border-radius:7px;min-width:27px;height:27px;display:grid;place-items:center;font-weight:800}.ngg-root .ngg-nav-name{flex:1;min-width:0}.ngg-root .ngg-nav-count{font-size:10px;color:#879aa0}.ngg-root .ngg-progress{margin:26px 5px 0;border-top:1px solid #dce6e5;padding:17px 5px;color:#526b78}.ngg-root .ngg-progress-row{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:11px}.ngg-root .ngg-progress-row span{white-space:nowrap}.ngg-root .ngg-progress-bar{height:7px;border-radius:20px;background:#d8e8e6;margin:12px 0;overflow:hidden}.ngg-root .ngg-progress-fill{height:100%;background:#138f82;width:0}.ngg-root .ngg-progress small{color:#799198;line-height:1.4;display:block;font-size:10px}.ngg-root .ngg-main{min-width:0;padding:26px 27px 38px}.ngg-root .ngg-kicker{font-size:10px;letter-spacing:1px;color:#08777b;font-weight:850}.ngg-root .ngg-hero{background:linear-gradient(120deg,#effaf7,#eef6fa);border:1px solid #d2e9e6;border-radius:16px;padding:31px 31px 26px}.ngg-root h1,.ngg-root h2,.ngg-root h3,.ngg-root p{margin-top:0}.ngg-root .ngg-hero h1{font-size:30px;line-height:1.15;letter-spacing:-.8px;margin:11px 0}.ngg-root .ngg-hero p{max-width:680px;color:#566e7a;line-height:1.85;font-size:14px}.ngg-root .ngg-stats{display:flex;gap:24px;flex-wrap:wrap;margin-top:20px}.ngg-root .ngg-stats>div{display:flex;flex-direction:column}.ngg-root .ngg-stats strong{font-size:23px;line-height:1.2;color:#0a6f77}.ngg-root .ngg-stats span{font-size:11px;color:#69828e}.ngg-root .ngg-section-head{margin:30px 0 18px;display:flex;justify-content:space-between;align-items:end;gap:12px}.ngg-root .ngg-section-head h2{margin:0;font-size:23px;letter-spacing:-.4px}.ngg-root .ngg-section-head p{margin:0;font-size:11px;color:#799099}.ngg-root .ngg-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ngg-root .ngg-topic-card{display:flex;flex-direction:column;align-items:start;text-align:left;min-height:182px;gap:7px;background:#fff;border:1px solid #dfebea;border-radius:14px;padding:15px 16px;box-shadow:0 4px 15px #234c5107;transition:transform .16s,border-color .16s}.ngg-root .ngg-topic-card:hover{border-color:#78bab6;transform:translateY(-2px)}.ngg-root .ngg-topic-top{display:flex;width:100%;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.4px;font-weight:800;color:#75929b}.ngg-root .ngg-topic-arrow{color:#137b7e;font-size:17px}.ngg-root .ngg-topic-symbol{display:grid;place-items:center;width:39px;height:39px;background:#e9f6f2;border-radius:10px;color:#087780;font-size:20px;font-weight:800}.ngg-root .ngg-topic-card strong{color:#273f51;font-size:15px;line-height:1.3}.ngg-root .ngg-topic-card small{font-size:11px;color:#718690;line-height:1.45}.ngg-root .ngg-topic-meta{font-size:10px;font-weight:850;color:#078075;margin-top:auto}.ngg-root .ngg-crumb{display:flex;align-items:center;gap:7px;color:#698b94;font-size:11px;margin-bottom:18px}.ngg-root .ngg-crumb button{background:none;border:0;color:#05757b;font-size:11px;padding:0}.ngg-root .ngg-chapter-head{display:flex;justify-content:space-between;align-items:start;gap:16px;border-bottom:1px solid #dce8e8;padding-bottom:17px;margin-bottom:19px}.ngg-root .ngg-chapter-head h1{font-size:28px;letter-spacing:-.6px;line-height:1.2;margin:7px 0}.ngg-root .ngg-chapter-head p{color:#758b93;font-size:13px;margin:0}.ngg-root .ngg-source-btn{white-space:nowrap;color:#097a73;border:1px solid #b7dbd5;background:#f0faf7;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:750}.ngg-root .ngg-topic-index{border:1px solid #dfebe9;background:#fbfdfc;border-radius:11px;margin-bottom:19px;overflow:hidden}.ngg-root .ngg-topic-index-head{display:flex;justify-content:space-between;gap:15px;padding:13px 16px 7px;color:#41616f;font-size:12px}.ngg-root .ngg-topic-index-head span{font-size:11px;color:#879ca3}.ngg-root .ngg-topic-index summary{cursor:pointer;padding:7px 16px 12px;font-size:11px;color:#0d7273;font-weight:700;display:flex;justify-content:space-between}.ngg-root .ngg-topic-index summary::marker{content:''}.ngg-root .ngg-topic-index-list{max-height:265px;overflow:auto;display:grid;gap:2px;border-top:1px solid #e4eeec;padding:8px}.ngg-root .ngg-topic-index-list button{display:flex;gap:12px;text-align:left;background:transparent;border:0;border-radius:7px;padding:7px 11px;font-size:11px;color:#385360;align-items:baseline}.ngg-root .ngg-topic-index-list button.ngg-chosen,.ngg-root .ngg-topic-index-list button:hover{background:#e8f5f2;color:#006b69}.ngg-root .ngg-topic-index-list button span:first-child{font-size:10px;font-weight:800;color:#94a6ad}.ngg-root .ngg-tick{margin-left:auto;color:#0b9478}.ngg-root .ngg-reading-card{border:1px solid #dbe8e6;background:#fff;border-radius:14px;box-shadow:0 4px 21px #204c5209;overflow:hidden;scroll-margin-top:20px}.ngg-root .ngg-reading-top{background:#f2f9f6;border-bottom:1px solid #e1eae9;display:flex;justify-content:space-between;gap:10px;align-items:center;padding:14px 20px;font-size:10px;font-weight:820;letter-spacing:.65px;color:#167977}.ngg-root .ngg-reading-tag{font-size:10px;color:#708f91;letter-spacing:0}.ngg-root .ngg-reading-card>h2{font-size:23px;line-height:1.4;margin:22px 24px 16px;color:#184d5c;overflow-wrap:anywhere}.ngg-root .ngg-reader-controls{display:flex;justify-content:space-between;gap:9px;align-items:center;padding:0 23px 17px}.ngg-root .ngg-switch{display:flex;align-items:center;gap:4px;background:#f0f6f5;border-radius:9px;padding:4px}.ngg-root .ngg-switch button{background:none;border:0;border-radius:7px;padding:8px 10px;font-size:11px;font-weight:720;color:#6b838b}.ngg-root .ngg-switch button.ngg-selected{background:#fff;box-shadow:0 1px 5px #526f7220;color:#047a76}.ngg-root .ngg-copy{border:1px solid #d5e4e1;background:white;border-radius:8px;padding:7px 10px;font-size:11px;color:#0c7473;white-space:nowrap}.ngg-root .ngg-reading-content{padding:5px 24px 25px;font-size:var(--ngg-font-size);line-height:1.8;color:#253d4c;overflow-wrap:anywhere}.ngg-root .ngg-subhead{font-size:calc(var(--ngg-font-size) + 1px);line-height:1.45;color:#066c75;margin:20px 0 11px;padding-bottom:7px;border-bottom:1px solid #e4eeee}.ngg-root .ngg-prose{padding:0 0 5px}.ngg-root .ngg-prose p{margin:0 0 10px}.ngg-root .ngg-table-scroll{max-width:100%;overflow:auto;border:1px solid #dce9e7;border-radius:10px;margin:7px 0 19px;scrollbar-width:thin}.ngg-root .ngg-grammar-table{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:calc(var(--ngg-font-size) - 2px);line-height:1.5;color:#2c4555;text-align:left}.ngg-root .ngg-grammar-table td,.ngg-root .ngg-grammar-table th{padding:11px 13px;min-width:115px;max-width:380px;vertical-align:top;text-align:left;border-right:1px solid #e0e9e8;border-bottom:1px solid #e1e9e8;white-space:normal;overflow-wrap:anywhere}.ngg-root .ngg-grammar-table th{background:#e8f5f2;color:#13535b;font-weight:800}.ngg-root .ngg-grammar-table tr:nth-child(even) td{background:#fbfdfd}.ngg-root .ngg-grammar-table tr:last-child>*{border-bottom:0}.ngg-root .ngg-grammar-table tr>*:last-child{border-right:0}.ngg-root .ngg-reading-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fbfcfc;border-top:1px solid #e5eeee;padding:14px 20px;color:#95a5aa;font-size:10px}.ngg-root .ngg-mark{color:#126971;background:#fff;border:1px solid #c9dbdc;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:800}.ngg-root .ngg-mark.ngg-done{border-color:#97cfb5;background:#e8f8ed;color:#087c57}.ngg-root .ngg-original{padding:0 22px 25px;text-align:center}.ngg-root .ngg-original p{font-size:12px;color:#607e87}.ngg-root .ngg-original img{display:block;width:100%;height:auto;background:white;border:1px solid #e3e9e8;border-radius:9px}.ngg-root .ngg-original button{font-size:11px;font-weight:700;color:#08747a;border:1px solid #ccdfe0;background:#fff;border-radius:8px;padding:7px 12px;margin-top:11px}.ngg-root .ngg-pager{display:flex;gap:9px;justify-content:space-between;align-items:center;margin:18px 0;background:#f5f9f8;border:1px solid #e0ecea;border-radius:12px;padding:10px}.ngg-root .ngg-pager>button{border:1px solid #d2e1df;background:white;border-radius:8px;padding:9px 10px;font-size:11px;white-space:nowrap;font-weight:760;color:#35616e}.ngg-root .ngg-pager>button:last-child{background:#0a7477;border-color:#0a7477;color:#fff}.ngg-root .ngg-pager label{display:flex;gap:6px;align-items:center;color:#79909c;font-size:11px;min-width:0}.ngg-root .ngg-jump{min-width:0;max-width:210px;color:#42616f;border:1px solid #d3e3e0;background:#fff;padding:7px;border-radius:7px;font-size:11px}.ngg-root .ngg-info-note{color:#8a9da4;font-size:10px;line-height:1.65}.ngg-root .ngg-description{font-size:13px;color:#75909a}.ngg-root .ngg-results{display:grid;gap:9px}.ngg-root .ngg-result{display:flex;flex-direction:column;align-items:start;gap:4px;text-align:left;background:white;border:1px solid #dce9e7;border-radius:10px;padding:14px 17px}.ngg-root .ngg-result:hover{border-color:#8bc6bf;background:#fbfefd}.ngg-root .ngg-result small{color:#07817b;font-size:11px;font-weight:800}.ngg-root .ngg-result strong{font-size:15px;color:#294b59}.ngg-root .ngg-result span{font-size:12px;color:#6b8792}.ngg-root .ngg-result em{font-size:11px;color:#08787d;font-style:normal;font-weight:760}.ngg-root .ngg-no-results{padding:30px;text-align:center;color:#80969b;background:#f5faf8;border-radius:12px}.ngg-root .ngg-muted{color:#8a999e}.ngg-root .ngg-toast{pointer-events:none;position:fixed;bottom:20px;right:20px;z-index:2147483643;opacity:0;transform:translateY(10px);transition:.15s;background:#224b59;color:white;border-radius:9px;padding:10px 14px;font-size:12px}.ngg-root .ngg-toast.ngg-show{opacity:1;transform:translateY(0)}.ngg-root .ngg-modal[hidden]{display:none!important}.ngg-root .ngg-modal{position:fixed;inset:0;z-index:2147483645;background:#13232eea;display:flex;flex-direction:column;padding:18px}.ngg-root .ngg-modal-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;color:white;padding:0 10px 15px}.ngg-root .ngg-modal-toolbar button{background:#f4f8f8;border:0;border-radius:8px;padding:9px 12px;font-size:11px}.ngg-root .ngg-modal-scroll{overflow:auto;flex:1}.ngg-root .ngg-modal-image{display:block;margin:auto;max-width:none;width:min(1400px,100%);height:auto;background:white}
@media(max-width:850px){.ngg-root .ngg-workspace{grid-template-columns:168px minmax(0,1fr)}.ngg-root .ngg-nav-item{font-size:10.5px;padding:8px 5px}.ngg-root .ngg-aside{padding:11px 7px}.ngg-root .ngg-main{padding:21px 17px 26px}.ngg-root .ngg-card-grid{grid-template-columns:1fr}.ngg-root .ngg-topic-card{min-height:150px}.ngg-root .ngg-reading-content{padding:3px 16px 20px}.ngg-root .ngg-reading-card>h2{margin:17px 16px;font-size:20px}.ngg-root .ngg-reader-controls{padding:0 15px 16px}.ngg-root .ngg-chapter-head{flex-direction:column}}
@media(max-width:590px){.ngg-root .ngg-topbar{padding:16px 14px}.ngg-root .ngg-brand-text strong{font-size:17px}.ngg-root .ngg-brand-mark{width:40px;height:40px;font-size:24px}.ngg-root .ngg-top-chip{display:none}.ngg-root .ngg-tools{padding:10px;flex-wrap:wrap}.ngg-root .ngg-search-wrap{flex-basis:100%;max-width:none;order:0}.ngg-root .ngg-tool-home{order:1}.ngg-root .ngg-font-tools{order:2;margin-left:auto}.ngg-root .ngg-workspace{display:block}.ngg-root .ngg-aside{border:0;border-bottom:1px solid #e1ebea;padding:12px}.ngg-root .ngg-nav-label{padding:0 3px 7px}.ngg-root .ngg-chapters{display:flex;overflow-x:auto;gap:7px;padding-bottom:8px}.ngg-root .ngg-nav-item{min-width:115px;width:auto;flex:0 0 auto;max-width:178px;white-space:normal;padding:6px 8px;border:1px solid #e1eeeb}.ngg-root .ngg-nav-count{display:none}.ngg-root .ngg-progress{margin:6px 0 0;border:0;padding:5px}.ngg-root .ngg-progress small{display:none}.ngg-root .ngg-progress-bar{margin:5px 0}.ngg-root .ngg-main{padding:20px 14px}.ngg-root .ngg-hero{padding:23px 17px}.ngg-root .ngg-hero h1{font-size:23px}.ngg-root .ngg-section-head h2{font-size:19px}.ngg-root .ngg-section-head p{display:none}.ngg-root .ngg-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ngg-root .ngg-topic-card{padding:12px;min-height:170px}.ngg-root .ngg-topic-card strong{font-size:13px}.ngg-root .ngg-chapter-head h1{font-size:23px}.ngg-root .ngg-reader-controls{flex-wrap:wrap}.ngg-root .ngg-switch{flex:1}.ngg-root .ngg-switch button{padding:7px 5px;font-size:10px;white-space:nowrap}.ngg-root .ngg-reading-content{font-size:var(--ngg-font-size)}.ngg-root .ngg-reading-footer>span{display:none}.ngg-root .ngg-pager{flex-wrap:wrap}.ngg-root .ngg-pager label{order:3;width:100%;justify-content:center}.ngg-root .ngg-jump{max-width:85%}.ngg-root .ngg-grammar-table td,.ngg-root .ngg-grammar-table th{min-width:95px;padding:8px}.ngg-root .ngg-modal{padding:10px}.ngg-root .ngg-modal-image{min-width:850px}}
@media print{.ngg-root .ngg-topbar,.ngg-root .ngg-tools,.ngg-root .ngg-aside,.ngg-root .ngg-topic-index,.ngg-root .ngg-reader-controls,.ngg-root .ngg-reading-footer,.ngg-root .ngg-pager,.ngg-root .ngg-source-btn{display:none!important}.ngg-root .ngg-workspace{display:block}.ngg-root .ngg-shell{border:0;box-shadow:none}.ngg-root .ngg-main{padding:0}.ngg-root .ngg-reading-card{border:0;box-shadow:none}.ngg-root .ngg-table-scroll{overflow:visible}}
