@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700;800&display=swap");
html,body,button,input,textarea,select{font-family:"Quicksand",sans-serif!important;}
:root{--ink:#17334d;--sea:#0f8e9c}body{background:linear-gradient(160deg,#e9f9ff,#f8f5ff);color:var(--ink);min-height:100vh}.tool-header{display:flex;justify-content:space-between;align-items:center;padding:15px 5%;background:white;box-shadow:0 2px 12px #17334d10}.back-link{color:#126c89;text-decoration:none;font-weight:700}.ed-wrap{max-width:1050px;margin:35px auto;padding:0 20px 60px}.ed-wrap h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:6px}.ed-pencil{color:#ea9a36}.ed-intro{color:#49647a}.ed-panel{background:white;border:1px solid #d9e8f0;border-radius:22px;padding:22px;margin:20px 0;box-shadow:0 8px 25px #153b5810}.ed-setup label{font-weight:800;display:block;margin-bottom:9px}.ed-setup select,.ed-setup textarea{width:100%;box-sizing:border-box;border:1px solid #9cb9ca;border-radius:12px;padding:12px;font:inherit;background:white}.ed-setup details{margin-top:16px}.ed-setup summary{cursor:pointer;color:#116e86;font-weight:700}.ed-setup textarea{margin-top:12px}.ed-setup details button{margin-top:10px}.ed-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:9px;background:#e0f4f9;border-radius:16px;padding:13px}.ed-toolbar span{font-weight:700;margin-right:8px}.ed-toolbar button{min-width:46px;min-height:44px;border:2px solid #8cb9c8;border-radius:12px;background:white;font-size:24px;cursor:pointer}.ed-toolbar button.chosen{background:#126f8b;color:white;border-color:#126f8b}.ed-help{color:#597183;margin-bottom:18px}.ed-text{font-size:clamp(21px,2.3vw,27px);line-height:2.15;overflow-wrap:anywhere}.ed-word,.ed-slot{font:inherit;color:inherit;border:0;background:transparent;padding:2px 1px;cursor:pointer;border-radius:6px}.ed-word:hover,.ed-slot:hover{background:#d8f0fa}.ed-slot{display:inline-block;min-width:14px;color:#b0a6b0;border-bottom:2px dotted #9cbbcb;line-height:1.1}.ed-space{white-space:pre-wrap}.ed-correct{background:#c5f3d8!important;color:#145934!important}.ed-missed{background:#ffc5c7!important;color:#9c1426!important}.ed-extra{background:#ffe0b1!important;color:#945100!important}.ed-legend{display:flex;flex-wrap:wrap;gap:18px;font-size:14px}.swatch{display:inline-block;width:13px;height:13px;border-radius:4px;vertical-align:middle;margin-right:4px}.swatch.correct{background:#8cdeb0}.swatch.missed{background:#ff9ea5}.swatch.extra{background:#ffc47a}.ed-actions{display:flex;justify-content:flex-end;gap:12px}.ed-wrap button:not(.ed-word):not(.ed-slot):not([data-mark]),.ed-dialog button{background:#127d96;color:white;border:0;border-radius:12px;padding:13px 19px;font-weight:800;cursor:pointer}.ed-actions .ed-secondary{background:#d9ebf1!important;color:#15536a!important}.ed-modal[hidden]{display:none}.ed-modal{position:fixed;inset:0;background:#102b48a8;display:grid;place-items:center;z-index:50;padding:18px}.ed-dialog{width:min(100%,490px);box-sizing:border-box;background:white;border-radius:26px;padding:32px;text-align:center;box-shadow:0 20px 60px #081d3670}.ed-stars{font-size:clamp(36px,8vw,65px);display:flex;justify-content:center;gap:4px}.ed-stars span{color:#d5dbe3}.ed-stars span.lit{color:#ffc340;animation:edpop .5s both;text-shadow:0 3px 9px #ffc34080}@keyframes edpop{from{opacity:.3;transform:scale(.45)}to{opacity:1;transform:scale(1)}}@media(max-width:550px){.ed-panel{padding:14px}.ed-text{font-size:20px}}

.ed-word.ed-user-change,.ed-slot.ed-user-change{background:#d8f2ff!important;box-shadow:inset 0 -3px #1687b7!important;color:#075073!important;border-radius:5px}.ed-slot.ed-user-change{min-width:22px;font-weight:900}

.ed-dialog{animation:edCelebrate .65s cubic-bezier(.2,1.5,.4,1)}@keyframes edCelebrate{from{transform:scale(.55);opacity:.2}to{transform:scale(1);opacity:1}}
