:root{--plum:#7a3b69;--plum-d:#4e2443;--rose:#c98fa7;--blush:#f3d9e1;--cream:#fbf4ee;--gold:#e9c46a;--ink:#3a2433}
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--cream);line-height:1.45;font-size:16px}
a{color:var(--plum)}h1,h2{font-family:Georgia,serif;color:var(--plum-d)}h1{font-size:1.6rem;margin:.2rem 0 .6rem}
.anav{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;align-items:center;padding:.7rem 4vw;background:#fff;border-bottom:2px dashed var(--rose)}
.brand{font-family:Georgia,serif;font-weight:700;color:var(--plum-d);text-decoration:none}.anav nav{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;font-size:.95rem}
.amain{max-width:760px;margin:auto;padding:1rem 4vw 6rem}
.box{background:#fff;border-radius:18px;padding:1.4rem;border:2px solid var(--blush)}.narrow{max-width:420px;margin:2rem auto}
label{display:block;margin:.7rem 0;font-weight:600;font-size:.92rem}
input[type=text],input[type=email],input[type=password],input:not([type]),textarea,select{display:block;width:100%;margin-top:.3rem;padding:.65rem .7rem;border:2px solid var(--blush);border-radius:10px;font:inherit;font-weight:400;background:#fff}
textarea{resize:vertical}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--rose)}
.help{display:block;font-weight:400;color:#7d6676;font-size:.8rem}.muted{color:#7d6676}.small{font-size:.85rem}
.btn{display:inline-block;border:0;cursor:pointer;padding:.7rem 1.3rem;border-radius:999px;background:var(--plum);color:#fff;text-decoration:none;font-weight:700;font-size:1rem}
.btn.ghost{background:#fff;color:var(--plum);border:2px solid var(--plum)}.btn.sm{padding:.5rem 1rem;font-size:.92rem}
.linkbtn{background:none;border:0;color:var(--plum);font:inherit;font-weight:600;cursor:pointer;padding:0}.inline{display:inline}
.flash{background:var(--gold);padding:.7rem 1rem;border-radius:10px;font-weight:600}
.savebar{position:sticky;top:0;z-index:4;display:flex;gap:.5rem;align-items:center;justify-content:flex-end;flex-wrap:wrap;background:var(--cream);padding:.6rem 0;border-bottom:1px solid var(--blush);margin-bottom:.8rem}
.savebar span{margin-right:auto;font-weight:600;font-size:.9rem}.ok{color:#2f7a3b}.warn{color:#b4436c}
.panel{background:#fff;border:2px solid var(--blush);border-radius:16px;padding:.2rem 1rem;margin:.8rem 0}
.panel>summary{cursor:pointer;font-weight:700;padding:.8rem 0;color:var(--plum-d);font-size:1.05rem}
.panel .panel{background:var(--cream)}
.item{border:1px dashed var(--rose);border-radius:12px;padding:.4rem .8rem;margin:.6rem 0}
.sub{margin:.8rem 0}.lbl{font-weight:700;margin-top:.9rem;font-size:.92rem}.sech{margin:1.6rem 0 .2rem}
.tools{display:flex;gap:.4rem;justify-content:flex-end;margin-top:.4rem;flex-wrap:wrap}
.mini{border:1px solid var(--rose);background:#fff;border-radius:8px;padding:.35rem .7rem;cursor:pointer;font:inherit;font-size:.85rem}
.mini.del{color:#b4436c}
.add{display:block;width:100%;margin:.6rem 0;padding:.7rem;border:2px dashed var(--plum);background:#fff;color:var(--plum);border-radius:12px;font:inherit;font-weight:700;cursor:pointer}
.chk{font-weight:500}.chk input{width:1.1rem;height:1.1rem;vertical-align:middle}
.imgf{margin:.8rem 0}.thumb{display:block;max-width:220px;max-height:160px;border-radius:10px;margin:.4rem 0}
.filebtn{display:inline-block;background:var(--blush);padding:.55rem 1rem;border-radius:999px;cursor:pointer;font-weight:700}.filebtn input{display:none}
.hrow{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap;padding:.7rem 0;border-bottom:1px dashed var(--blush)}.hbtns{display:flex;gap:.4rem}
.tabs{flex-basis:100%;display:flex;gap:.3rem;overflow-x:auto}.tabs button{flex:1;white-space:nowrap;border:2px solid var(--blush);background:#fff;border-radius:999px;padding:.45rem .7rem;font:inherit;font-weight:700;font-size:.85rem;color:var(--plum-d);cursor:pointer}
.tabs button.on{background:var(--plum);color:#fff;border-color:var(--plum)}
.lrow{display:flex;align-items:center;gap:.5rem;background:#fff;border:2px solid var(--blush);border-radius:14px;margin:.5rem 0;padding:.3rem .6rem}
.lmain{flex:1;text-align:left;background:none;border:0;font:inherit;padding:.7rem .2rem;cursor:pointer;color:var(--ink)}
.back{background:none;border:0;color:var(--plum);font:inherit;font-weight:700;padding:.3rem 0;cursor:pointer}
.row{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin:.3rem 0}
button.filebtn{border:0;font:inherit;font-weight:700}
.pick,.addsel{margin-top:.4rem}.addsel{padding:.8rem;border:2px dashed var(--plum);color:var(--plum);font-weight:700;border-radius:12px;width:100%;background:#fff;font:inherit}
.modal{position:fixed;inset:0;background:rgba(58,36,51,.5);z-index:50;display:flex;align-items:center;justify-content:center;padding:1rem}
.mbox{background:#fff;border-radius:16px;padding:1rem;max-width:700px;width:100%;max-height:85vh;overflow:auto}.mhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem}
.mgrid,.mlib{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.6rem;margin-top:.8rem}
.mitem{border:2px solid var(--blush);border-radius:10px;padding:0;background:#fff;cursor:pointer;overflow:hidden}.mitem img,.mcard img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.mcard{background:#fff;border:2px solid var(--blush);border-radius:12px;padding:.4rem;overflow:hidden}.mcard img{border-radius:8px}
.colors .crow{display:flex;align-items:center;gap:.6rem;font-weight:500}.colors input[type=color]{width:3rem;height:2.2rem;border:0;padding:0;background:none}
.msg.unread{border-left:4px solid #e9c46a}.msgtext{white-space:pre-wrap}
.sites{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.site-card h2{margin:.2rem 0}.site-card h2 a{color:inherit;text-decoration:none}
.badge{display:inline-block;background:#e9c46a;color:#4e2443;font-weight:700;border-radius:99px;padding:.2rem .7rem;text-decoration:none}
