.is-editor{background:var(--grey)}.ed{width:100%;max-width:40rem;margin:0 auto;padding:1.25rem var(--gutter)4rem}.ed h1{font-size:1.8rem;margin-bottom:.75rem}.ed h2{font-size:1.35rem;margin:.5rem 0 1rem}.ed [hidden]{display:none!important}.ed-lock,.ed-view{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.25rem;margin-bottom:1rem}.ed-lock{margin-top:2rem}.ed-field-group{display:flex;flex-direction:column;gap:1rem}.ed-field{display:flex;flex-direction:column;gap:.35rem;font-weight:600;color:var(--blue-dark)}.ed-optional{font-weight:300;color:var(--text-2)}.ed input[type=text],.ed input[type=password],.ed input[type=search],.ed input[type=date],.ed select,.ed textarea{font:inherit;font-weight:300;color:var(--text);width:100%;font-size:1rem;padding:.7rem .8rem;border:1px solid #b8c2d0;border-radius:.5rem;background:#fff}.ed textarea{min-height:12rem;resize:vertical;line-height:1.5}.ed input[type=date]{display:block;max-width:100%;min-width:0;box-sizing:border-box;-webkit-appearance:none;appearance:none;height:calc(3.05rem + 2px);line-height:1.65}.ed input[type=date]::-webkit-date-and-time-value{text-align:left}.ed .ed-field{min-width:0}.ed input:focus,.ed select:focus,.ed textarea:focus{outline:2px solid var(--blue);outline-offset:1px;border-color:var(--blue)}.ed-checkbox{display:flex;gap:.6rem;align-items:center;min-height:2.75rem}.ed-checkbox input{width:1.3rem;height:1.3rem}.ed-help{color:var(--text-2);font-size:.9rem;margin:0}.ed-button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:2.9rem;padding:.6rem 1.2rem;border-radius:999px;border:2px solid transparent;font:inherit;font-weight:600;cursor:pointer;text-align:center;text-decoration:none;background:var(--blue-light);color:var(--blue-dark)}.ed-button:disabled{opacity:.55;cursor:wait}.ed-button:focus-visible,.ed-file:focus-within{outline:3px solid var(--blue);outline-offset:2px}.ed-button--blue{background:var(--blue);color:#fff}.ed-button--blue:hover:not(:disabled){background:var(--blue-dark)}.ed-button--outline{background:#fff;border-color:var(--blue);color:var(--blue)}.ed-button--quiet{background:0 0;color:var(--text-2);border-color:var(--line)}.ed-button--danger{background:#fff;color:var(--red);border-color:var(--red)}.ed-button--small{min-height:2.5rem;padding:.35rem .9rem;font-size:.9rem}.ed-buttons{display:flex;flex-wrap:wrap;gap:.75rem}.ed-buttons>.ed-button--blue{flex:1 1 14rem}.ed-buttons--danger{border-top:1px solid var(--line);padding-top:1rem;margin-top:.5rem}.ed-message{margin:0;min-height:0}.ed-message:empty{display:none}.ed-message--error{color:var(--red);font-weight:600}.ed-message--ok{color:#1c6b34;font-weight:600}.ed-message--test{background:#fff6d6;border:1px solid #e5c55a;border-radius:var(--radius);padding:.9rem 1rem;margin-bottom:1rem}.ed-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.ed-header h1{margin:0}.ed-person{margin:0 0 1rem;color:var(--blue-dark)}.ed-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:.35rem;margin-bottom:1rem}.ed-tabs button{font:inherit;font-size:.9rem;font-weight:600;min-height:3rem;padding:.4rem .3rem;line-height:1.2;border:2px solid var(--blue);border-radius:.6rem;background:#fff;color:var(--blue);cursor:pointer}.ed-tabs button[aria-current]{background:var(--blue);color:#fff}.ed-photos{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.ed-photos legend{font-weight:600;color:var(--blue-dark);padding:0;margin-bottom:.35rem}.ed-photo-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.75rem}.ed-photo-list--small{margin:1rem 0}.ed-photo{margin:0;display:flex;flex-direction:column;gap:.35rem;background:var(--grey);border-radius:.5rem;padding:.4rem}.ed-photo__frame{position:relative;width:100%;aspect-ratio:1;overflow:hidden;border-radius:.35rem;background:var(--line)}.ed-photo__frame img{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover;display:block}.ed-photo__frame img.is-cropped{height:auto;max-width:none;object-fit:fill}.ed-photo__frame img.is-whole{object-fit:contain}.ed-photo__frame.is-blur{background-size:cover;background-position:50%}.ed-photo__frame.is-blur::before{content:"";position:absolute;inset:0;backdrop-filter:blur(10px)brightness(.8);-webkit-backdrop-filter:blur(10px)brightness(.8)}.ed-photo__number{font-size:.85rem;font-weight:600;color:var(--blue-dark)}.ed-photo__buttons{display:flex;flex-direction:column;gap:.35rem}.ed-photo figcaption{font-size:.8rem;color:var(--text-2)}.ed-file{position:relative;align-self:flex-start}.ed-file input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.ed-list{list-style:none;margin:1rem 0;padding:0;display:flex;flex-direction:column;gap:.5rem}.ed-entry{display:flex;gap:.8rem;align-items:center;width:100%;text-align:left;cursor:pointer;font:inherit;background:#fff;border:1px solid var(--line);border-radius:.6rem;padding:.45rem;color:var(--text)}.ed-entry:hover,.ed-entry:focus-visible{border-color:var(--blue)}.ed-entry img,.ed-list__empty{width:4.5rem;height:3.4rem;object-fit:cover;border-radius:.35rem;flex:none;background:var(--grey);display:block}.ed-entry__text{display:flex;flex-direction:column;line-height:1.3;hyphens:manual}.ed-entry__text small{color:var(--text-2)}.ed-card{border:1px solid var(--line);border-radius:.6rem;padding:.8rem;display:flex;flex-direction:column;gap:.3rem}.ed-card small{color:var(--text-2)}.ed-card p{margin:0}.ed-status{font-weight:600}.ed-status--published{color:#1c6b34}.ed-status--rejected,.ed-status--error{color:var(--red)}.ed-status--note,.ed-status--waiting{color:var(--blue)}.ed-note{background:var(--blue-light);border-radius:.4rem;padding:.5rem .7rem;white-space:pre-wrap}.ed-code{background:var(--grey);border-radius:.5rem;padding:.8rem;overflow-x:auto;font-size:.8rem;white-space:pre-wrap;word-break:break-word}.ed-switch{display:flex;gap:.75rem;align-items:flex-start;padding:.75rem .9rem;border:1px solid var(--line);border-radius:.6rem;cursor:pointer}.ed-switch input{width:1.3rem;height:1.3rem;margin-top:.15rem;flex:none}.ed-switch:has(input:checked){border-color:var(--blue);background:var(--blue-light)}.ed-crop{width:min(36rem,calc(100vw - 1.5rem));max-height:calc(100dvh - 1.5rem);border:0;border-radius:var(--radius);padding:1rem;box-shadow:var(--shadow)}.ed-crop::backdrop{background:rgba(10,20,40,.6)}.ed-crop[open]{display:flex;flex-direction:column;gap:.8rem}.ed-crop h2{margin:0;font-size:1.25rem}.ed-crop__stage{position:relative;align-self:center;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:move;line-height:0;border-radius:.35rem}.ed-crop__stage img{display:block;max-width:100%;max-height:55dvh;width:auto;height:auto;pointer-events:none}.ed-crop__box{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px rgba(0,0,0,.55);pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.35) 1px,transparent 1px);background-size:33.333% 33.333%;background-position:-1px -1px}.ed-crop input[type=range]{width:100%;accent-color:var(--blue)}