:root{font-family:"Microsoft YaHei",system-ui,sans-serif;color:#233d32;background:#f5f6f0;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}main{max-width:1060px;margin:auto;padding:0 28px}header,.heading,.brand{display:flex;align-items:center;gap:14px}header{height:100px;justify-content:space-between;border-bottom:1px solid #dce2d6}.brand img{width:42px;height:42px}.brand strong{display:block;font-size:23px}.brand span{font-size:12px;color:#6c7e6e}h1{font-size:30px;font-weight:600;letter-spacing:-.5px}h2{font-size:20px;margin:0 0 8px}p{line-height:1.7;font-size:14px}.intro{margin:32px 0 24px}.intro p,.muted,small,footer{color:#687b6b}.card{background:#fffef9;border:1px solid #dce3d7;padding:26px;border-radius:12px;margin:22px 0}.login{max-width:580px;margin:60px auto;padding:36px}.eyebrow{font-size:12px;color:#677f62}button{cursor:pointer;border:1px solid #c5d2be;border-radius:7px;background:#fffef9;color:#34533a;padding:11px 18px;font:inherit;font-size:14px}button:hover{background:#eaf1e5}button:disabled{opacity:.5;cursor:default}.primary{background:#446646;color:white;border-color:#446646}.primary:hover{background:#345236}input,textarea{font:inherit;font-size:14px;width:100%;border:1px solid #cdd8c7;background:white;color:#233d32;border-radius:6px;padding:12px}label{display:block;font-size:13px;margin:12px 0 8px}.login button{margin-top:22px;width:100%}.heading{justify-content:space-between;flex-wrap:wrap}.heading p{margin:0;font-size:12px}nav,#submodes{display:flex;gap:8px;flex-wrap:wrap}nav button[aria-pressed=true],#submodes button[aria-pressed=true]{background:#e1ebda;border-color:#77976e;font-weight:600}#submodes{margin-top:12px}.fields{display:grid;grid-template-columns:1fr 2fr;gap:24px;margin:16px 0}.drop{display:block;width:100%;padding:30px 16px;border-style:dashed;border-color:#809d76;background:#f3f7ed;margin-top:18px;font-size:16px}.drop span{display:block;font-size:12px;color:#7c8e76;margin-top:10px}.muted{font-size:12px}.row{display:flex;align-items:center;gap:14px;border-top:1px solid #e0e6da;padding:15px 0}.row img{width:42px;height:64px;object-fit:contain;background:#eff1e9;border-radius:4px}.row .info{flex:1;min-width:0}.row strong{font-size:14px;overflow-wrap:anywhere}.row p{font-size:12px;color:#697d69;margin:5px 0 0}.previews{display:grid;grid-template-columns:1fr 1fr;gap:20px}figure{margin:20px 0;text-align:center;background:#eff1eb;padding:16px;border-radius:8px}figure img{max-width:100%;height:340px;object-fit:contain}figcaption{margin-top:10px;font-size:12px;color:#6d7c67}#downloads{display:flex;flex-wrap:wrap;gap:12px}#downloads a{padding:10px 14px;border:1px solid #c6d6bd;border-radius:6px;color:#395d3a;font-size:13px;text-decoration:none}#message{color:#9b422e;white-space:pre-wrap;overflow-wrap:anywhere}footer{font-size:12px;margin:35px 0}small{font-size:11px;font-weight:400}:focus-visible{outline:2px solid #5d8151;outline-offset:3px}@media(max-width:600px){main{padding:0 16px}header{height:80px}h1{font-size:24px}.card,.login{padding:18px}.fields{grid-template-columns:1fr;gap:0}nav button{flex:1;padding:12px 8px;font-size:12px}.heading button{width:100%}.row button{padding:9px 12px}figure img{height:230px}.previews{gap:10px}figure{padding:8px}.login{margin:26px 0}}

#revision-panel{border-top:1px solid #dce3d7;margin-top:24px;padding-top:16px}#revision-panel .primary{margin-top:14px}#revision-feedback{color:#6e5939;overflow-wrap:anywhere}
#recent-count{font-size:12px;color:#687b6b}.row>.pool-delete{white-space:nowrap}.row>.pool-delete:disabled{opacity:1;color:#687b6b;background:#f1f3ec}.row>button{flex-shrink:0}
@media(max-width:600px){.row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px}.row .info{grid-column:2/-1}.row>button{grid-row:2;justify-self:start}.row>button:not(.pool-delete){grid-column:2}.row>.pool-delete{grid-column:3}.row img{grid-row:1/3}}

.pool-delete{color:#9a493c}.pool-delete:disabled{opacity:.45;cursor:not-allowed}
.psd-method-menu{position:relative;min-width:174px}
.psd-method-menu summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;padding:11px 18px;list-style:none;border:1px solid #c5d2be;border-radius:7px;background:#fffef9;color:#34533a;font-size:14px;cursor:pointer}
.psd-method-menu summary::-webkit-details-marker{display:none}
.psd-method-menu summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px}
.psd-method-menu[open] summary::after{transform:rotate(225deg);margin-top:4px}
.psd-method-menu[data-active=true] summary{background:#e1ebda;border-color:#77976e;font-weight:600}
.psd-method-menu summary:hover{background:#eaf1e5}
.psd-method-menu summary[aria-disabled=true]{opacity:.5;cursor:default}
.psd-method-options{position:absolute;top:calc(100% + 6px);left:0;z-index:5;width:264px;max-width:calc(100vw - 64px);padding:6px;border:1px solid #b9cbb2;border-radius:8px;background:#fffef9}
#submodes .psd-method-options button{display:flex;flex-direction:column;gap:4px;width:100%;min-height:62px;padding:10px 12px;border-color:transparent;text-align:left;font-weight:400}
#submodes .psd-method-options button[aria-pressed=true]{border-color:#77976e;background:#e1ebda;font-weight:600}
.psd-method-options small{color:#486541;font-size:12px}
@media(max-width:600px){.psd-method-menu{flex:1}.psd-method-menu summary{padding:11px 12px}#submodes>button{flex:1;font-size:12px;padding:11px 9px}}
.custom-mode-list{grid-template-columns:1fr}
.custom-mode-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;align-items:center;padding:7px;border:1px solid #cbd7c7;border-radius:7px;background:#fffef9}
.custom-mode-row[data-selected=true]{border-color:#77976e;background:#e7f2e8}
.custom-mode-row button{min-height:34px;padding:6px 7px;text-align:center;line-height:1.35;font-size:11px}
.custom-mode-row .custom-lens-button{grid-column:1/-1;border:0;background:transparent;text-align:left;font-weight:600}
.custom-mode-row .custom-style-button[aria-pressed=true]{border-color:#77976e;background:#d2e6d4;font-weight:700}
.custom-multi-methods{grid-column:1/-1;display:grid;gap:2px;padding:4px;margin:1px 0 2px;border:1px solid #cbd7c7;border-radius:6px;background:#f8faf5}
.custom-mode-row .custom-multi-methods button{min-height:35px;border:0;border-radius:4px;text-align:left;padding:7px 11px;background:transparent;color:#345a42}
.custom-mode-row .custom-multi-methods button:hover{background:#edf3e9}
.custom-mode-row .custom-multi-methods button[aria-pressed=true]{background:#d2e6d4;color:#244b35;font-weight:700}
.custom-mode-row .custom-legacy-button{grid-column:1/-1;justify-self:start;min-height:28px;color:#805b37;background:#fff8ed}
.custom-mode-row .custom-legacy-button[aria-pressed=true]{border-color:#a57842;background:#f3e1c6}
@media(max-width:560px){.custom-mode-row button{font-size:10px}}
.custom-modes{display:grid;grid-template-columns:minmax(0,1fr) 185px;gap:22px}.custom-modes p{margin:0 0 16px;color:#687b6b}.custom-mode-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.custom-mode-list button{text-align:left;min-height:45px}.custom-mode-list button[aria-pressed=true]{background:#e1ebda;border-color:#77976e;font-weight:600}.custom-preview{margin:0;padding:10px;background:#fff;border:1px solid #dce3d7;border-radius:8px}.custom-preview img{display:block;max-width:100%;width:auto;height:260px;margin:auto;object-fit:contain}.custom-preview figcaption{margin-top:8px;color:#687b6b;text-align:center;font-size:11px}@media(max-width:600px){.custom-modes{grid-template-columns:1fr}.custom-preview img{height:220px}.custom-mode-list button{padding:10px;font-size:12px}}
.source-group{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}.source-group a{display:inline-block;font-size:.85rem;max-width:100%;overflow-wrap:anywhere}
.group-draft{margin:14px 0;padding:13px;border:1px solid #b8ceb9;border-radius:8px;background:#f3f8f0}.group-draft strong{font-size:13px}.group-draft p{margin:9px 0;color:#687b6b;font-size:11px;line-height:1.6}.group-draft-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.group-draft-item{display:flex;align-items:center;gap:7px;max-width:100%;padding:5px 8px 5px 5px;border:1px solid #d5e2d1;border-radius:6px;background:#fff;font-size:11px;overflow-wrap:anywhere}.group-draft-item img{width:44px;height:44px;flex:none;object-fit:cover;border-radius:4px}.group-draft-actions{display:flex;flex-wrap:wrap;gap:8px}
.group-draft-remove{flex:none;padding:4px 7px;font-size:11px} .group-draft-item span{min-width:0;overflow-wrap:anywhere}
#drop-label{font-size:16px;color:inherit;margin-top:0}
