/* Scoped glass editorial workspace; no overrides of ordinary training/admin forms. */
.editorial-page{max-width:1200px;padding-top:28px;padding-bottom:55px;color:#f3f6ff}
.editorial-page .eyebrow{color:#cbb7ff}
.editorial-page [hidden]{display:none!important}
.editorial-hero{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:20px 0 36px;padding-right:24px}.editorial-hero>div:first-child{min-width:0}
.editorial-hero h1{font-size:clamp(2.3rem,5vw,3.8rem);margin:8px 0}.editorial-hero p{color:#b5c7e0;max-width:620px;font-size:1.1rem}
.editorial-glass{background:linear-gradient(125deg,rgba(45,68,94,.74),rgba(32,37,68,.77));border:1px solid rgba(156,188,235,.25);border-radius:26px;box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 15px 40px #050b1826;backdrop-filter:blur(18px)}
.editorial-magazine{width:125px;height:145px;flex-shrink:0;border-radius:15px;transform:rotate(9deg);background:linear-gradient(145deg,#d1adff,#906aff 50%,#5041bc);border:2px solid #d7bfff;box-shadow:8px 10px 0 #453273,0 15px 35px #936bff44;position:relative;padding:20px 15px;color:#221d50;isolation:isolate}
.editorial-magazine:before{content:'';position:absolute;width:170px;height:70px;border:5px solid #74dfff66;border-radius:50%;left:-24px;top:36px;transform:rotate(-30deg);z-index:-1}.editorial-magazine:after{content:'';position:absolute;width:23px;height:23px;background:radial-gradient(circle at 30% 25%,#effffc,#2fe2db 55%,#338899);border-radius:50%;right:-22px;top:-15px}
.editorial-magazine span,.editorial-magazine strong{display:block;font-size:19px;font-weight:900;letter-spacing:.04em}.editorial-magazine strong{font-size:12px;margin-bottom:15px}.editorial-magazine i{display:block;height:5px;margin:8px 0;border-radius:4px;background:#f3edff77}.editorial-magazine b{position:absolute;bottom:12px;right:17px;color:#e4ff75;font-size:30px}
.editorial-lobby{padding:32px;max-width:980px}.editorial-lobby h2{font-size:1.8rem;margin:10px 0}.editorial-lobby p,.editorial-help p{color:#c0cee2;line-height:1.65}
.editorial-mission-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.editorial-mission-preview>span{padding:17px;background:#10192d55;border:1px solid #92b5df33;border-radius:14px;color:#dfef88}.editorial-mission-preview strong{display:block;margin-top:7px;color:#fff}
.editorial-options{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.editorial-page label{display:block;color:#e0e9ff;font-weight:600}.editorial-page select,.editorial-page input{display:block;width:100%;min-height:48px;border-radius:12px;padding:11px 14px;background:#121d33;color:#f3f6ff;border:1px solid #8b9ec666;margin-top:8px;font:inherit}.editorial-page option{background:#152239;color:#fff}
.editorial-page .button{background:#dfff75;color:#152035;border:1px solid #c9ec62;box-shadow:0 4px 0 #8ea64744;min-height:46px;white-space:normal;justify-content:center}.editorial-page .button-secondary{background:#18263b;color:#dce7fb;border-color:#7c98bd66;box-shadow:none}
.editorial-page button:focus-visible,.editorial-page a:focus-visible,.editorial-page select:focus-visible,.editorial-page input:focus-visible{outline:3px solid #dfff75;outline-offset:4px}.editorial-page button:disabled{cursor:default;opacity:.7}.editorial-page .editorial-small{font-size:.85rem;color:#adbed7;line-height:1.6}.editorial-details{margin-top:24px;color:#bfd0e7}.editorial-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center}.editorial-details p{line-height:1.65}.editorial-resume{padding:18px;border:1px solid #dfff7566;border-radius:16px;margin:20px 0}.editorial-resume .button{margin:5px 10px 5px 0}
.editorial-game-top{display:flex;justify-content:space-between;gap:20px;margin-bottom:20px;align-items:center}.editorial-game-top ol{display:flex;gap:10px;list-style:none;margin:0;padding:0}.editorial-game-top li{border:1px solid #7893b444;background:#17233a;border-radius:12px;padding:12px;color:#a5b5cc;font-size:.9rem}.editorial-game-top li.is-current{border-color:#b2c8ff;color:#fff;background:#6351a944}.editorial-game-top li.is-done{color:#dfff75}.editorial-score{font-size:1rem;white-space:nowrap}.editorial-score strong{font-size:1.5rem;color:#dfff75}.editorial-score span{display:block;color:#aabdd8;font-size:.85rem}
.editorial-workspace{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:22px;align-items:start}.editorial-sheet{padding:30px;min-width:0}.editorial-sheet-heading{display:flex;justify-content:space-between;gap:12px;color:#b6c7e0;font-size:.8rem}.editorial-sheet h2{font-size:clamp(1.6rem,3vw,2.15rem);line-height:1.25;margin:24px 0 15px}.editorial-instruction{color:#c6d4eb;line-height:1.65}
.editorial-article{padding:20px;border-radius:17px;background:#111a2a77;border:1px solid #a1b4df33;font-size:1.13rem;line-height:2.5;overflow-wrap:anywhere;margin:22px 0;color:#f4f6ff}.editorial-token{display:inline-block;white-space:normal}.editorial-word{border:0;background:transparent;color:#f3f6ff;font:inherit;padding:4px 3px;border-bottom:1px dotted #91b6dd;border-radius:5px;cursor:pointer;line-height:1.8;min-height:44px}.editorial-word:hover{background:#7d65be33}.editorial-word.is-edited{color:#e3f7a4;background:#b8d27115}.editorial-word.is-locked{border-bottom-style:solid;color:#b6f4cb}.editorial-highlight{background:#9980eb44;color:#f5eeff;border-bottom:2px solid #b69aff;padding:4px;border-radius:5px}
.editorial-gap{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;width:30px;min-height:44px;padding:0;margin:0 2px;border:1px dashed #a8b9d755;border-radius:8px;background:#25395677;color:#c2d5f5;cursor:pointer;font:inherit;font-size:1rem}.editorial-gap.is-selected{background:#9973ee44;color:#fff;border:1px solid #baa1ff;font-weight:900;font-size:1.5rem}.editorial-gap.is-locked{border-color:#a6e9b8;color:#c3f4d1}
.editorial-word-editor{padding:18px;background:#7760b52b;border:1px solid #af96ee66;border-radius:16px;margin-bottom:20px}.editorial-word-editor>div{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.editorial-word-editor input{flex:1;min-width:130px;width:auto}.editorial-class-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.editorial-class-fields label{min-width:0;overflow-wrap:anywhere}.editorial-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:22px}.editorial-toolbar>span{color:#b8c9df;margin-right:auto;font-size:.9rem}.editorial-help{padding:23px}.editorial-help h3{font-size:1.3rem;margin:12px 0}.editorial-help .button{width:100%}.editorial-text-button{display:inline-block;background:none;border:0;color:#c8d8f2;text-decoration:underline;padding:14px 4px;cursor:pointer;font:inherit;min-height:44px}.editorial-help .editorial-text-button{font-size:.9rem}
.editorial-feedback{margin-top:22px}.editorial-feedback h3{font-size:1.05rem}.editorial-feedback-item{padding:15px;border-radius:12px;background:#151e3388;border-left:3px solid #c4a3ff;margin:12px 0}.editorial-feedback-item.is-correct{border-color:#9ee2b1}.editorial-feedback-item.is-solution{border-color:#ffb580}.editorial-feedback-item p{color:#c2d2e8;line-height:1.6;margin:8px 0}.editorial-feedback-item small{color:#dfff75}.editorial-next{margin-top:14px}
.editorial-result{padding:35px;text-align:center;max-width:850px;margin:0 auto}.editorial-result h2{font-size:2rem}.editorial-result p{color:#c2d2e8;line-height:1.65}.editorial-published{display:block;margin:0 auto 20px;background:#dfff75;color:#213223;border-radius:50%;width:65px;height:65px;line-height:65px;font-size:2rem;animation:editorial-pop .45s ease-out}.editorial-result-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:28px 0}.editorial-result-numbers>div{padding:20px 10px;background:#121d3355;border-radius:15px}.editorial-result-numbers strong{display:block;font-size:2rem;color:#dfff75}.editorial-result-numbers span{color:#b8c9df}.editorial-result .editorial-text-button{margin-left:15px}.editorial-history th,.editorial-history td{color:#d1dff5;padding:12px}.editorial-history table{width:100%}.editorial-error{background:#432e43;color:#ffe5e3}
.editorial-entry-card{display:flex;gap:25px;align-items:center;justify-content:space-between;padding:25px;margin:25px 0;border:1px solid #b49cec55;border-radius:24px;background:linear-gradient(130deg,#343752aa,#222d4aaa);box-shadow:inset 0 1px 0 #fff1}.editorial-entry-card h2{margin:7px 0;font-size:1.7rem}.editorial-entry-card p{color:#bfd0e7;max-width:580px;margin:0}.editorial-entry-card .button{background:#dfff75;color:#182033;flex-shrink:0}
@keyframes editorial-pop{from{transform:scale(.6);opacity:.3}to{transform:scale(1);opacity:1}}
@media(max-width:900px){.editorial-workspace{grid-template-columns:1fr}.editorial-help{display:block}.editorial-game-top{align-items:start;flex-direction:column}.editorial-class-fields{grid-template-columns:1fr}.editorial-help .button{width:auto}}
@media(max-width:600px){.editorial-page{padding-top:18px}.editorial-hero{gap:14px;margin-bottom:25px}.editorial-hero h1{font-size:2.1rem}.editorial-hero p{font-size:.95rem}.editorial-magazine{width:80px;height:106px;padding:14px 10px;transform:rotate(6deg)}.editorial-magazine span{font-size:14px}.editorial-magazine strong{font-size:9px;margin-bottom:7px}.editorial-magazine:before{width:100px;height:50px;left:-10px}.editorial-magazine b{font-size:22px;bottom:5px}.editorial-magazine:after{width:16px;height:16px;right:-9px}.editorial-lobby,.editorial-sheet,.editorial-result{padding:20px 16px;border-radius:20px}.editorial-options{grid-template-columns:1fr}.editorial-mission-preview{gap:7px}.editorial-mission-preview>span{padding:12px 8px;font-size:.8rem}.editorial-game-top ol{width:100%;gap:5px}.editorial-game-top li{font-size:.74rem;padding:9px 7px;flex:1}.editorial-article{padding:13px;font-size:1rem;line-height:2.8}.editorial-toolbar>.button{flex:1;min-width:120px}.editorial-toolbar>span{width:100%}.editorial-sheet-heading{font-size:.7rem}.editorial-result-numbers{gap:8px}.editorial-result-numbers strong{font-size:1.6rem}.editorial-result-numbers span{font-size:.8rem}.editorial-entry-card{flex-direction:column;align-items:start}.editorial-entry-card .button{width:100%}}
@media(prefers-reduced-motion:reduce){.editorial-published{animation:none}.editorial-page *{scroll-behavior:auto}}
.editorial-page .editorial-gap{width:40px}
