.edui{--paper:oklch(98.8% .005 245);--lino:oklch(96.2% .013 80);--lino-deep:oklch(92.8% .02 78);--rule:oklch(88% .018 75);--ink:oklch(26% .008 60);--text:oklch(35% .01 60);--muted:oklch(49% .012 60);--blue:oklch(47% .06 245);--blue-deep:oklch(36% .055 248);--blue-soft:oklch(93% .025 240);--ochre:oklch(66% .11 72);--ochre-ink:oklch(49% .1 62);--ochre-soft:oklch(93% .05 82);--green:oklch(45% .09 150);--green-soft:oklch(94% .04 150);--red:oklch(50% .15 28);--red-soft:oklch(95% .03 28);--serif:"Newsreader", Georgia, serif;--sans:"Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;--radius:10px;--ease:cubic-bezier(.22, 1, .36, 1);font:17px/1.55 var(--sans);color:var(--text);letter-spacing:normal;text-transform:none}.edui *,.edui :before,.edui :after{box-sizing:border-box}.edui :where(h1,h2,h3,h4,p,ul,ol,li,dl,dd,figure,fieldset,legend){margin:0;padding:0}.edui :where(ul,ol){list-style:none}.edui img,.edui svg{max-width:100%;display:block}.edui a{color:var(--blue-deep);text-underline-offset:3px}.edui :where(button,input,textarea,select){font:inherit;color:inherit;letter-spacing:normal}.edui :focus-visible{outline:2.5px solid var(--blue);outline-offset:2px;border-radius:4px}.edui [hidden]{display:none!important}.edui .muted{color:var(--muted)}.edui .icon{flex:none;place-items:center;width:20px;height:20px;display:inline-grid}.edui .icon svg{width:100%;height:100%}.edui .btn{border-radius:var(--radius);min-height:44px;font:600 16px/1.1 var(--sans);white-space:nowrap;letter-spacing:normal;border:1.5px solid var(--ink);background:var(--paper);color:var(--ink);cursor:pointer;box-shadow:none;transition:background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);justify-content:center;align-items:center;gap:8px;margin:0;padding:0 18px;text-decoration:none;display:inline-flex}.edui .btn:hover{background:var(--lino);transform:none}.edui .btn:disabled{opacity:.5;cursor:default}.edui .btn-primary{background:var(--ink);color:var(--paper)}.edui .btn-primary:hover:not(:disabled){background:var(--blue-deep);border-color:var(--blue-deep)}.edui .btn-quiet{background:0 0;border-color:#0000}.edui .btn-quiet:hover{background:var(--lino-deep)}.edui .btn-danger{background:var(--red);border-color:var(--red);color:#fff}.edui .btn-danger:hover{background:oklch(42% .14 28)}.edui .btn-danger-quiet{color:var(--red);background:0 0;border-color:#0000}.edui .btn-danger-quiet:hover{background:var(--red-soft)}.edui .btn-small{min-height:38px;padding:0 12px;font-size:15px}.edui .btn-wide{width:100%;min-height:52px;font-size:17px}.edui .link-btn{color:var(--blue-deep);text-underline-offset:3px;cursor:pointer;text-align:left;background:0 0;border:0;justify-self:start;padding:6px 0;font-size:15px;text-decoration:underline}.edui .field{gap:4px;display:grid}.edui .field label{color:var(--ink);font-size:15px;font-weight:600}.edui .hint{color:var(--muted);font-size:14px}.edui :where(input[type=text],input[type=email],input[type=password],input[type=url],input[type=number],textarea,select){border:1.5px solid var(--rule);background:var(--paper);width:100%;color:var(--ink);border-radius:8px;padding:11px 13px}.edui :where(input,textarea,select):focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px oklch(47% .06 245/.18)}.edui textarea{resize:vertical}.edui .field-check{align-items:center;gap:10px;display:flex}.edui .field-check input{width:20px;height:20px;accent-color:var(--blue-deep)}.edui .field-check label{font-weight:500}.edui .mini-editor{border:1.5px solid var(--rule);background:var(--paper);border-radius:8px}.edui .mini-editor:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px oklch(47% .06 245/.18)}.edui .mini-tools{border-bottom:1px solid var(--rule);gap:2px;padding:3px;display:flex}.edui .mini-surface{padding:10px 13px}.edui .mini-prose{color:var(--ink);white-space:pre-wrap;word-wrap:break-word;outline:none;min-height:1.6em}.edui .mini-prose p+p{margin-top:.8em}.edui .mini-prose a{color:var(--blue-deep);text-decoration:underline}.edui .mini-prose strong{font-weight:700}.edui .tool{cursor:pointer;min-height:40px;color:var(--text);background:0 0;border:0;border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;font-size:14px;font-weight:600;display:inline-flex}.edui .tool:hover{background:var(--lino);color:var(--ink)}.edui .tool[aria-pressed=true]{background:var(--blue-soft);color:var(--blue-deep)}.edui .tool:disabled{opacity:.35;cursor:default;background:0 0}.edui .tool-icon .tool-label{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.edui .ProseMirror{white-space:pre-wrap;word-wrap:break-word}.edui .chip{letter-spacing:.01em;border-radius:99px;padding:2px 9px;font-size:13px;font-weight:700;display:inline-block}.edui .chip-draft{background:var(--lino-deep);color:var(--text)}.edui .chip-published{background:var(--green-soft);color:var(--green)}.edui .chip-pending{background:var(--ochre-soft);color:var(--ochre-ink)}.edui .note{background:var(--blue-soft);color:var(--blue-deep);border-radius:var(--radius);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;padding:12px 14px;font-size:15px;display:flex}.edui .note p{flex:280px}.edui .note-warn{background:var(--ochre-soft);color:var(--ochre-ink);display:block}.edui .note-error{background:var(--red-soft);color:var(--red);display:block}.edui .dialog{background:var(--paper);width:min(520px,100% - 24px);max-height:calc(100dvh - 24px);color:var(--text);border:0;border-radius:16px;margin:auto;padding:0;box-shadow:0 24px 60px oklch(30% .03 60/.25)}.edui .dialog-wide{width:min(760px,100% - 24px)}.edui .dialog::backdrop{background:oklch(26% .008 60/.45)}.edui .dialog-body{gap:16px;padding:24px;display:grid}.edui .dialog h2{font:450 26px/1.2 var(--serif);color:var(--ink);letter-spacing:normal}.edui .dialog-text{color:var(--text)}.edui .dialog-error{color:var(--red);font-weight:600}.edui .dialog-error:empty{display:none}.edui .dialog-actions{background:var(--paper);border-top:1px solid var(--rule);flex-wrap:wrap;justify-content:flex-end;gap:8px;margin:4px -24px -24px;padding:14px 24px 18px;display:flex;position:sticky;bottom:-24px}@media (width<=480px){.edui .dialog-body{padding:20px 16px}.edui .dialog-actions{margin:4px -16px -20px;padding:12px 16px 16px;bottom:-20px}.edui .dialog-actions .btn{flex:auto}}.edui .fixes{gap:8px;max-height:50vh;display:grid;overflow:auto}.edui .fix label{background:var(--lino);cursor:pointer;border-radius:10px;align-items:flex-start;gap:12px;padding:12px;display:flex}.edui .fix input{width:20px;height:20px;accent-color:var(--blue-deep);flex:none;margin-top:3px}.edui .fix-body{gap:4px;min-width:0;display:grid}.edui .fix-where{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:13px;font-weight:700}.edui .fix-text{color:var(--ink);overflow-wrap:anywhere}.edui .fix-text del{color:var(--red);background:var(--red-soft);border-radius:3px;padding:0 2px;text-decoration-thickness:2px}.edui .fix-text ins{color:var(--green);background:var(--green-soft);border-radius:3px;margin-left:3px;padding:0 2px;font-weight:700;text-decoration:none}.edui .fix-why{color:var(--muted);font-size:14px}.edui .fix input:not(:checked)~.fix-body{opacity:.55}.edui .toasts{z-index:1000;gap:8px;width:min(520px,100% - 24px);display:grid;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}.edui .toast{background:var(--ink);color:var(--paper);border-radius:10px;padding:12px 16px;font-weight:500;box-shadow:0 10px 30px oklch(30% .03 60/.25)}.edui .toast-error{background:var(--red);color:#fff}.edui .toast-success{background:var(--green);color:#fff}.edui .overlay{z-index:900;background:oklch(26% .008 60/.5);place-items:center;padding:16px;display:grid;position:fixed;inset:0}.edui .overlay-card{background:var(--paper);text-align:center;border-radius:18px;justify-items:center;gap:12px;width:min(480px,100%);padding:32px 28px;display:grid}.edui .overlay-card h2{font:450 28px/1.2 var(--serif);color:var(--ink)}.edui .overlay-step{color:var(--blue-deep);font-weight:600}.edui .overlay-ok{background:var(--green-soft);width:56px;height:56px;color:var(--green);border-radius:50%;place-items:center;display:grid}.edui .overlay-ok .icon{width:30px;height:30px}.edui .overlay-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.edui .spinner{border:4px solid var(--lino-deep);border-top-color:var(--ochre);border-radius:50%;width:44px;height:44px;animation:.9s linear infinite ed-spin}@keyframes ed-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.edui .spinner{animation-duration:3s}}.edui :is(.ed-prose,.mini-prose):focus-visible{outline:none}
