.dup-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.dup-heading h2{margin:0 0 10px}.dup-heading p,.dup-note{color:#64748b;line-height:1.7;font-size:13px}.dup-heading>button{white-space:nowrap}.dup-selected{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;max-width:960px}.dup-chip{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #dfe7f2;background:#f7faff;border-radius:10px}.dup-chip>div{flex:1;min-width:0}.dup-chip small{display:block;font-size:12px;color:#64748b;margin-top:5px;overflow-wrap:anywhere}.dup-chip button{border:0;background:transparent;font-size:22px;min-width:34px;min-height:34px}.dup-save{display:flex;align-items:center;gap:16px;margin-top:24px}.dup-empty{color:#76859a;font-size:13px;padding:16px;line-height:1.7}.dup-dialog{box-sizing:border-box;width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 40px);border:1px solid #dce5f0;border-radius:16px;padding:22px;color:#172942;background:#fff;box-shadow:0 24px 80px #10213935}.dup-dialog::backdrop{background:#10213970}.dup-dialog-head{display:flex;justify-content:space-between;gap:16px}.dup-dialog h2{font-size:20px;margin:0 0 8px}.dup-dialog p{font-size:13px;color:#64748b;margin:0 0 16px}.dup-dialog-head>button{align-self:flex-start;border:0;background:transparent;font-size:26px;min-width:38px}.dup-dialog .dup-search{box-sizing:border-box;width:100%;min-height:42px;margin:0 0 14px;border:1px solid #cdd9e8;border-radius:8px;padding:9px 12px;font:inherit}.dup-picker{display:grid;grid-template-columns:minmax(210px,34%) minmax(0,1fr);height:min(430px,48dvh);border:1px solid #e1e7f0;border-radius:10px;overflow:hidden}.dup-picker nav{overflow:auto;padding:8px 0;background:#f6f8fc;border-right:1px solid #e1e7f0}.dup-tree-line{display:flex;align-items:center;padding-left:calc(6px + var(--depth)*16px);min-width:max-content}.dup-dialog .dup-tree-line button{background:none;border:0;box-shadow:none;font:inherit;font-size:13px;border-radius:6px;min-height:37px;padding:6px 8px}.dup-dialog .dup-tree-line .dup-toggle{width:30px;padding:5px;flex:0 0 auto}.dup-dialog .dup-node[aria-pressed=true]{background:#e3edff;color:#1d55a0;font-weight:600}.dup-right{display:flex;flex-direction:column;min-width:0;min-height:0}.dup-right>[data-people-title]{padding:12px 14px;border-bottom:1px solid #e5ebf3}.dup-right small{display:block;font-size:12px;color:#697b91;margin-top:4px;overflow-wrap:anywhere}.dup-right>[data-people]{overflow:auto;min-height:0;flex:1}.dup-dialog label.dup-person{display:flex;align-items:center;gap:10px;padding:12px 14px;margin:0;border-bottom:1px solid #edf1f6;font-weight:400;cursor:pointer}.dup-person input{width:18px;height:18px;flex:0 0 auto}.dup-person>span{min-width:0}.dup-dialog-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:16px}.dup-dialog-foot>span{margin-right:auto;color:#64748b;font-size:13px}.dup-dialog button{cursor:pointer}.dup-dialog button:focus-visible{outline:2px solid #2b67ca;outline-offset:2px}.dup-dialog button:disabled{cursor:default;opacity:.5}.dup-dialog-foot button,.dup-heading>button,.dup-save>button{min-height:40px;padding:8px 14px;border:1px solid #cad8e9;border-radius:8px;background:#fff;font:inherit;font-size:13px}.dup-dialog-foot .primary,.dup-save .primary{background:#275da8;color:#fff;border-color:#275da8}@media(max-width:600px){.dup-heading{flex-wrap:wrap;gap:8px}.dup-selected{grid-template-columns:1fr}.dup-dialog{padding:16px;width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.dup-picker{grid-template-columns:minmax(120px,42%) minmax(0,1fr);height:48dvh}.dup-dialog h2{font-size:17px}.dup-dialog .dup-search{font-size:16px}.dup-dialog .dup-tree-line button{font-size:12px}.dup-dialog label.dup-person{padding:12px 8px}.dup-save{flex-wrap:wrap}.dup-dialog-foot button{min-height:42px}}

.dup-warning{padding:10px 12px;border:1px solid #e7c97c;border-radius:8px;background:#fffbeb;color:#8a6615}.dup-node small{font-size:11px;display:inline;color:#876b30}
@media(max-width:600px){.dup-tree-line{min-width:0;padding-left:calc(2px + min(var(--depth),3)*8px)}.dup-dialog .dup-tree-line .dup-toggle{width:24px}.dup-dialog .dup-node{min-width:0;flex:1;text-align:left;overflow-wrap:anywhere;white-space:normal;padding:6px 4px}}
