:root{--paper:#f8fbfc;--ink:#18313d;--blue:#184b62;--water:#e6f1f4;--line:#b5cbd3;--amber:#915f14}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.75 "Microsoft YaHei","Segoe UI",sans-serif}h1,h2{font-family:SimSun,"Songti SC",serif;line-height:1.3}html[lang=en] body{font-family:"Segoe UI",sans-serif}html[lang=en] :is(h1,h2){font-family:Georgia,serif}a{color:var(--blue);text-underline-offset:4px}main,.pack-aux,footer{max-width:960px;margin:auto;padding:20px 24px}h1{font-size:clamp(2rem,5vw,2.7rem);margin:12px 0 18px}h2{font-size:1.45rem;margin:0 0 20px}p{max-width:74ch}section{margin:30px 0;padding:24px;background:white;border-top:2px solid var(--line)}label{display:block;font-weight:600;margin:18px 0 6px}input[type=text],textarea,select{width:100%;max-width:100%;min-height:48px;padding:12px;border:1px solid #8faeba;border-radius:3px;color:var(--ink);background:white;font:inherit}textarea{min-height:100px;resize:vertical}button{font-family:inherit;font-size:16px;font-weight:600;line-height:1.6;min-height:48px;padding:12px 20px;border:1px solid var(--blue);background:white;color:var(--blue);cursor:pointer;border-radius:3px}.primary{background:var(--blue);color:white}button:disabled{opacity:.55;cursor:default}.hint{font-size:14px;color:#49616d;margin:6px 0 16px}.memory{padding:14px 18px;background:var(--water);border-left:3px solid var(--blue);font-size:15px}.pack-aux{display:flex;gap:18px;justify-content:space-between;border-bottom:1px solid var(--line)}.pack-aux a{display:inline-flex;align-items:center;min-height:44px}#selection ol,#previewFiles{padding-left:24px;margin:0}#selection li,#previewFiles li{padding:12px 4px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}#selection strong,#selection span{display:block}#selection span{font-size:14px;color:#49616d}#previewPanel{background:var(--water);padding:20px;margin:20px 0}.preview-note{white-space:pre-wrap;overflow-wrap:anywhere}.check{display:flex;gap:12px;align-items:flex-start;font-weight:400;padding:12px 0}.check input{min-width:22px;width:22px;height:22px;flex-shrink:0;margin:4px 0}.pack-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}#error{color:#824e0e;white-space:pre-wrap}#status{white-space:pre-wrap;min-height:1.75em}#files{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:focus-visible{outline:3px solid var(--amber);outline-offset:4px}[hidden]{display:none!important}.skip{position:absolute;top:-100px;left:12px}.skip:focus{top:12px;z-index:10;padding:12px;background:white}.site-nav{max-width:1100px}.pack-intro{padding-top:8px}footer{font-size:14px;border-top:1px solid var(--line)}@media(max-width:600px){main,.pack-aux,footer{padding-inline:20px}section{padding:20px 16px}.pack-actions button{width:100%}.pack-aux{flex-wrap:wrap;gap:8px}h1{font-size:2rem}}

#documentBodies{margin:24px 0 12px;min-width:0}#documentBodies h3{margin:0 0 8px;font-size:1.15rem}#documentBodies>p{font-size:15px;color:#49616d}.document-body{min-width:0;margin:14px 0;background:white;border:1px solid var(--line);border-radius:3px}.document-body summary{min-height:48px;padding:12px 14px;cursor:pointer;overflow-wrap:anywhere;font-size:15px;font-weight:600}.document-body[open] summary{border-bottom:1px solid var(--line)}.document-body pre{margin:0;padding:16px;max-height:24rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:4;font:15px/1.75 Consolas,"SFMono-Regular",monospace;color:var(--ink)}.document-body>p{margin:0;padding:16px;overflow-wrap:anywhere}.document-body :focus-visible{outline:3px solid var(--amber);outline-offset:2px}@media(max-width:600px){.document-body summary{padding:12px 10px}.document-body pre{padding:12px;font-size:14px}}

/* PCM-F09: per-file secondary action in the existing list. */
#additionalFiles{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#selection .pack-file-row{display:flex;gap:12px 20px;align-items:center;justify-content:space-between}#selection .pack-file-info{min-width:0;flex:1}#selection .remove-file{flex-shrink:0;min-height:44px;padding:8px 4px;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;font-weight:400}#add{margin:8px 0 0 12px}@media(max-width:600px){#selection .pack-file-row{flex-direction:column;align-items:flex-start;gap:4px}#add{margin-left:0}}

/* PCM-F10: secondary explicit filename choice and readable suggestion. */
.name-zip-choice{min-height:44px;margin-bottom:0}.zip-filename-preview{overflow-wrap:anywhere;word-break:normal}#downloadFileName{white-space:pre-wrap}

/* PCM-F12: adjacent native actions;keep readable names and natural narrow wrapping. */
#selection .pack-file-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;flex:0 1 auto}#selection .move-file-up,#selection .move-file-down{min-height:44px;padding:8px 10px;font-size:16px;font-weight:400}#selection .pack-file-actions .remove-file{min-height:44px}@media(max-width:600px){#selection .pack-file-actions{width:100%}}
