.owner-editor{box-sizing:border-box;width:min(740px,calc(100vw - 24px));max-height:90dvh;padding:0;overflow:auto;background:var(--white);color:var(--ink)}.owner-editor form{display:grid;gap:18px;padding:clamp(18px,4vw,32px)}.owner-editor header,.owner-editor footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.owner-editor header button{border:0;background:transparent;font-size:26px;cursor:pointer}.owner-editor label{font-size:14px;min-width:0}.owner-editor input,.owner-editor select,.owner-editor textarea{width:100%;min-width:0;font:inherit;font-size:16px;min-height:44px}.owner-editor .owner-check{display:flex;gap:10px;align-items:flex-start;font-weight:500}.owner-editor .owner-check input{width:18px;min-height:18px;flex:0 0 18px;margin-top:3px}.owner-notes{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px;background:var(--paper);border-radius:10px}.owner-editor [data-error]{color:#a12929}.owner-editor [data-error]:empty{display:none}.owner-editor :focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.owner-editor{--white:var(--surface);--blue:var(--action);border:1px solid var(--line);border-radius:18px}.owner-editor::backdrop{background:rgb(0 0 0 / .55)}.owner-editor textarea{resize:vertical}.owner-editor input,.owner-editor textarea,.owner-editor select{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px}.owner-editor .button{padding:12px 18px;border-radius:10px;background:var(--action);color:var(--on-action);border:1px solid var(--line);font:inherit;cursor:pointer}.owner-editor .secondary{background:var(--surface);color:var(--ink)}.owner-editor label{display:grid;gap:6px}.owner-editor .helper{color:var(--muted)}

.owner-editor [data-client-fields]{display:grid;gap:18px;min-width:0}.owner-editor [data-client-fields][hidden]{display:none}.owner-editor [data-client-fields] label{min-width:0}.owner-editor [data-client-fields] input,.owner-editor [data-client-fields] textarea,.owner-editor [data-client-fields] select{min-width:0;max-width:100%}
.owner-editor form>header{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:12px;align-items:start}.owner-editor form>header>div{min-width:0}.owner-editor form>header h2{overflow-wrap:anywhere}.owner-editor form>header [data-close]{width:44px;height:44px;min-width:44px;margin:0;padding:0;position:static;display:grid;place-items:center}

.owner-editor [data-knowledge-preview]{display:grid;gap:20px;min-width:0}.owner-editor [data-knowledge-preview] article{min-width:0;overflow-wrap:anywhere;border-top:1px solid var(--line);padding-top:16px}.owner-editor fieldset{min-width:0;border:1px solid var(--line);border-radius:12px;padding:16px}.owner-editor summary{cursor:pointer;min-height:44px;padding:12px 0}
.bulk-library{width:min(740px,calc(100vw - 24px));padding:0;height:min(780px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);overflow:hidden}.bulk-shell{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;height:100%;min-height:0}.bulk-shell>header,.bulk-shell>footer{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.bulk-shell>header button{width:44px;height:44px;flex:0 0 44px;font-size:1.5rem;color:var(--ink)}.bulk-shell>header h2{margin:0;font-size:1.3rem}.bulk-shell nav{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 20px}.bulk-shell nav button{min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit}.bulk-shell nav [aria-pressed=true]{background:var(--ink);color:var(--paper)}.bulk-content{overflow:auto;min-height:0;padding:0 20px 16px;display:grid;align-content:start;gap:14px}.bulk-content p{line-height:1.6;margin:0;overflow-wrap:anywhere}.bulk-upload{padding:18px;border:1px dashed var(--line);border-radius:14px;background:var(--paper);font-weight:650}.bulk-upload input{padding:10px 0;font-weight:400;border:0;background:transparent}.bulk-content [data-status]{white-space:pre-wrap;font-size:.875rem}.bulk-content article{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.bulk-content article p{white-space:pre-wrap;font-size:.875rem;margin-top:6px;max-height:180px;overflow:auto}.bulk-shell>footer{border-top:1px solid var(--line);border-bottom:0;flex-wrap:wrap}.bulk-shell>footer .button{flex:1 1 180px;min-height:44px}.bulk-library button:disabled{opacity:.5;cursor:default}@media(max-width:480px){.bulk-shell>header,.bulk-shell>footer{padding:12px}.bulk-shell nav{padding:10px 12px}.bulk-content{padding:0 12px 12px}.bulk-shell>footer .button{font-size:.8125rem;flex-basis:130px}}

.bulk-shell>header{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:start}.bulk-shell>header>div{min-width:0}.bulk-shell>header h2{overflow-wrap:anywhere}.bulk-upload input::file-selector-button{min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--ink);color:var(--paper);font:inherit;padding:8px 10px;margin-right:8px;cursor:pointer}
