
/* Personal collections editor. Preserves the original dark site styles. */
.editor{grid-column:1/-1}
.editor .formrows{display:grid;gap:13px;margin-top:22px}
.editor .field{display:grid;gap:8px;font-size:13px;font-weight:700;color:#f5eefa}
.editor select{appearance:none;width:100%;min-height:51px;border:1px solid #ffffff30;border-radius:999px;background:#211b2e;color:#f9f4fc;padding:12px 38px 12px 14px;font:600 14px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.editor select:focus-visible{outline:2px solid #ffa64c}
.editor .fineprint{font-size:12px;line-height:1.6;color:#a9a4b9;margin:8px 0 0}
.editor .section-title{font-size:15px;font-weight:750;margin:22px 0 10px}
.editor .folders{display:grid;gap:8px}
.editor .folder{border:1px solid #ffffff20;background:#ffffff07;border-radius:15px;overflow:hidden}
.editor .folder-head{padding:11px 12px;display:flex;justify-content:space-between;align-items:center;gap:9px}
.editor .folder-main{display:flex;align-items:center;gap:9px;min-width:0;cursor:pointer;font-size:13px;font-weight:700}
.editor input[type="checkbox"]{appearance:none;-webkit-appearance:none;width:21px;height:21px;min-width:21px;border-radius:50%;border:1.5px solid #a59aad;background:#100e1a;cursor:pointer;transition:background .16s,box-shadow .16s,border-color .16s}
.editor .folder-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor details{border-top:1px solid #ffffff14;padding:0 12px}
.editor summary{font-size:12px;color:#e8baff;cursor:pointer;padding:10px 0;list-style:none}
.editor summary::before{content:"⌄";display:inline-block;margin-right:7px}
.editor details[open] summary::before{transform:rotate(180deg)}
.editor .folder-items{display:grid;gap:0;padding-bottom:8px}
.editor .folder-items label{display:flex;align-items:center;gap:9px;min-height:38px;padding:7px 0;font-size:13px;color:#d8d3e0;cursor:pointer;border-top:1px solid #ffffff0e}
.editor .folder-counter{white-space:nowrap;font-size:11px;color:#aaa0b5}
.editor .editor-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:18px}
.editor .editor-actions .secondary{background:#ffffff10}
.editor .editor-actions a{min-height:50px}
.editor .editor-actions button:disabled{opacity:.5;cursor:not-allowed}
.editor .disabled-feature{border:1px dashed #ffffff29;border-radius:14px;padding:12px 14px;opacity:.75;margin-top:12px}
.editor .disabled-feature strong{font-size:13px}
.editor .disabled-feature p{margin:5px 0 0;font-size:12px;color:#b1a8bc;line-height:1.5}
.editor .editor-instructions{padding:14px;border:1px solid #ffab5750;border-radius:14px;background:#ffab570d;margin-top:18px;font-size:12px;line-height:1.7;color:#e7dfe9}
.editor #cfg-status{min-height:18px;color:#e2bdff;font-size:12px;margin-top:11px}
.editor #cfg-reset{padding:8px 12px;min-height:36px;font-size:12px;border-radius:12px}
@media(min-width:600px){.editor .formrows{grid-template-columns:1fr 1fr}.editor .editor-actions{grid-template-columns:1fr 1fr}}

/* Unified soft shapes on phones and desktop. */
.editor select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d5c5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 18px center;
  padding-left:19px;
  padding-right:49px;
}
.editor select:disabled{opacity:.65}
.editor input[type="checkbox"]:checked{
  background:#d58af3;
  border-color:#d58af3;
  box-shadow:inset 0 0 0 5px #211b2e;
}
.editor input[type="checkbox"]:indeterminate{
  background:#d58af3;
  border-color:#d58af3;
  box-shadow:inset 0 0 0 8px #211b2e;
}
.editor input[type="checkbox"]:focus-visible{outline:2px solid #ffa64c;outline-offset:3px}
.editor .editor-instructions{border-radius:31px;padding:17px 19px}
.editor #cfg-reset{border-radius:999px;padding:9px 18px;min-height:40px}
@media(min-width:600px){.editor .editor-actions a:last-child{grid-column:1/-1}}

/* Reset action: horizontal layout, red outline, unwrapped text */
.editor .editor-reset-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px;margin-top:14px;width:100%}
.editor #cfg-reset{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;white-space:nowrap;border:1.5px solid #ec5463;background:rgba(222,63,85,.08);color:#ff7886;border-radius:999px;padding:9px 17px;min-height:42px;font-size:12px}
.editor #cfg-reset:hover{background:rgba(222,63,85,.15)}
.editor .editor-reset-row #cfg-status{flex:1 1 auto;min-width:0;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:0;color:#b3aabc}

/* Keep category cards at a constant width when the selected count changes. */
.editor{min-width:0;width:100%}
.editor .folders{
  width:100%;
  min-width:0;
  grid-template-columns:minmax(0,1fr);
}
.editor .folder{
  width:100%;
  min-width:0;
  max-width:100%;
}
.editor .folder-head{
  width:100%;
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) 6ch;
  align-items:center;
  column-gap:10px;
}
.editor .folder-main{width:100%;min-width:0}
.editor .folder-counter{
  display:block;
  width:6ch;
  min-width:6ch;
  max-width:6ch;
  text-align:right;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum";
}
.editor .folder-name{min-width:0}
