.template-entry{display:flex;align-items:center;gap:24px;padding:22px;border:1px solid #acd5c9;border-radius:16px;background:#eff9f5;margin:20px 0}.template-entry p{margin:0}.template-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.template-drop{display:grid;gap:12px;border:2px dashed #a9c6ba;border-radius:12px;padding:22px;background:#f8fcfa}.template-drop span{font-size:.9rem;color:#51655e}.template-drop input{width:100%}.template-scroll{overflow:auto;max-height:480px;margin:16px 0}.template-table{border-collapse:collapse;width:100%;font-size:.9rem}.template-table th,.template-table td{padding:12px;border-bottom:1px solid #d5e6de;text-align:left;vertical-align:top}.template-table th{background:#edf6f1;position:sticky;top:0}.template-table select{min-width:150px}.template-page{max-width:100%;max-height:600px;object-fit:contain}.template-private-banner{padding:12px 20px;background:#563e83;color:white;text-align:center;font-weight:600}.template-error{color:#9c2435}.template-download{display:block;margin:12px 0}.template-field{display:block;margin:16px 0}#template-panel{max-width:1100px;margin:24px auto}#template-panel button{margin:6px 4px 6px 0}#template-panel select{display:block;padding:9px;max-width:100%}#template-panel input[type=checkbox]{width:20px;height:20px}#template-message{min-height:30px}@media(max-width:650px){.template-upload-grid{grid-template-columns:1fr}.template-entry{display:block}.template-entry p{margin-top:12px}.template-table th,.template-table td{padding:8px}}

.template-ai-panel{border:1px solid #a9c6ba;border-radius:12px;padding:20px;margin:16px 0;background:#f3faf7}.template-ai-panel ul{padding-left:22px;overflow-wrap:anywhere}.template-ai-status{display:block;margin-top:8px;color:#51655e;overflow-wrap:anywhere}#template-panel [data-ai-apply]{font-size:.85rem;padding:8px 10px}#template-panel .template-ai-panel h5{font-size:1rem;margin:8px 0}
