.staff-heading,.staff-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.staff-list{display:grid;gap:14px;margin-top:20px}.staff-item{padding:20px}.staff-item h2{font-size:25px;margin:8px 0}.staff-actions{justify-content:flex-start;margin-top:16px}.staff-editor{max-width:850px;margin:auto}.staff-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.staff-fields .full{grid-column:1/-1}.staff-fields textarea{min-height:150px;resize:vertical}.staff-editor input,.staff-editor select,.staff-editor textarea{min-width:0}.staff-preview{margin:18px 0;white-space:pre-wrap;overflow-wrap:anywhere}.staff-participant{padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.staff-participant p{margin:4px 0}.staff-message{white-space:pre-wrap;overflow-wrap:anywhere}.staff-item a{display:inline-flex;align-items:center;min-height:44px}.staff-item .muted{overflow-wrap:anywhere}@media(max-width:650px){.staff-fields{grid-template-columns:1fr}.staff-heading h1{font-size:32px}.staff-actions>*{flex:1 1 140px}.staff-item{padding:16px}}
.cover-editor {margin:12px 0;padding:16px;border:1px solid var(--line);border-radius:14px;min-width:0}
.cover-editor legend {font-weight:700;padding:0 6px}
.cover-editor .cover-upload {margin:0}
.cover-editor .cover-upload input {display:block;width:100%;padding:8px}
.cover-upload input::file-selector-button {font:inherit;color:var(--ink);background:var(--cell);border:1px solid var(--line);border-radius:7px;margin-right:10px;padding:5px 10px;cursor:pointer}
.poster-preview-image {display:block;max-width:100%;width:100%;height:auto;aspect-ratio:16/9;border-radius:10px;margin-top:14px;object-fit:cover}
.crop-stage {display:block;width:100%;height:clamp(240px,48vh,430px);margin-top:14px;background:#17171b;border-radius:10px;touch-action:none;user-select:none;overflow:hidden}
.crop-mask {fill:rgb(0 0 0 / 62%);pointer-events:none}
.crop-frame {fill:transparent;stroke:white;stroke-width:1.5;vector-effect:non-scaling-stroke;cursor:move}
.crop-grid {fill:none;stroke:rgb(255 255 255 / 54%);stroke-width:1;vector-effect:non-scaling-stroke;pointer-events:none}
.crop-grip {fill:none;stroke:#fff;stroke-width:4;stroke-linecap:square;vector-effect:non-scaling-stroke;pointer-events:none}
.crop-stage [data-handle=e],.crop-stage [data-handle=w] {cursor:ew-resize}
.crop-stage [data-handle=n],.crop-stage [data-handle=s] {cursor:ns-resize}
.crop-stage [data-handle=ne],.crop-stage [data-handle=sw] {cursor:nesw-resize}
.crop-stage [data-handle=nw],.crop-stage [data-handle=se] {cursor:nwse-resize}
.cover-workspace p,.cover-notice {color:var(--muted);font-size:14px;margin:8px 0}
.cover-notice:empty{display:none}
.editor-leave {width:min(32rem,calc(100% - 24px));color:var(--ink);background:var(--surface)}
.editor-leave .staff-actions {display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:480px){.editor-leave .staff-actions {display:grid}}
.cover-remove {margin-top:10px}
.staff-filters{display:grid;gap:12px;margin:16px 0 20px}
.staff-filters fieldset{display:flex;flex-wrap:wrap;gap:6px;border:0;margin:0;padding:0;min-width:0}
.staff-filters legend{font-size:14px;color:var(--muted);padding:0;margin-bottom:5px}
.staff-filters button{border-radius:999px;padding:6px 13px;font-size:14px}
.staff-filters button[aria-pressed=true]{color:var(--accent);background:var(--wash);border-color:var(--accent)}
.staff-direction,.staff-filters button[data-direction]:not([data-direction=""]) {
  display:inline-flex;align-items:center;gap:7px;
  background:color-mix(in srgb,var(--signal) 9%,var(--surface));
  color:var(--ink);
}
.staff-direction {border-radius:999px;padding:4px 10px;font-size:13px;font-weight:650}
.staff-direction::before,.staff-filters button[data-direction]:not([data-direction=""])::before {
  content:"";width:9px;height:9px;flex:none;border-radius:50%;background:var(--signal)
}
.staff-filters button[data-direction]:not([data-direction=""])[aria-pressed=true] {
  background:color-mix(in srgb,var(--signal) 22%,var(--surface));border-color:var(--signal);box-shadow:inset 0 0 0 1px var(--signal)
}
