*{margin:0;padding:0;box-sizing:border-box}html{touch-action:manipulation}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans SC,sans-serif;background:#f7f8fa;color:#1a1a1a;line-height:1.6;touch-action:manipulation;-webkit-text-size-adjust:100%}.container{max-width:960px;margin:0 auto;padding:40px 24px}h1{font-size:24px;font-weight:600;color:#1a1a1a;margin-bottom:32px;text-align:center}.upload-zone{border:2px dashed #c8ccd0;border-radius:8px;padding:48px 24px;text-align:center;cursor:pointer;transition:border-color .2s,background-color .2s;background:#fff}.upload-zone:hover,.upload-zone.drag-over{border-color:#666;background:#fafafa}.upload-zone p{color:#666;font-size:15px}.upload-zone p.hint{font-size:13px;color:#999;margin-top:8px}.upload-zone input[type=file]{display:none}.loading{text-align:center;padding:60px 24px}.spinner{display:inline-block;width:32px;height:32px;border:3px solid #e0e0e0;border-top-color:#666;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading p{margin-top:16px;color:#666;font-size:14px}.error{background:#fff5f5;border:1px solid #e8c4c4;border-radius:8px;padding:16px 20px;color:#8b3a3a;font-size:14px;margin-bottom:24px}.file-result{margin-bottom:40px}.file-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #e0e0e0}.file-name{font-size:16px;font-weight:600;color:#1a1a1a}.download-button{background:#1a1a1a;color:#fff;border:none;border-radius:8px;padding:12px 28px;cursor:pointer;font-size:15px;white-space:nowrap;flex-shrink:0;transition:background-color .15s}.download-button:hover{background:#333}.no-records{color:#999;font-size:14px;padding:24px 0}.section{margin-bottom:24px}.section-title{font-size:15px;font-weight:600;margin-bottom:12px;display:flex;align-items:center;gap:8px}.section-title-green{color:#2d6a4f}.section-title-orange{color:#b86e00}.count{font-size:12px;font-weight:500;padding:1px 8px;border-radius:10px;background:#f0f0f0;color:#666}.result-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px;background:#fff;border:1px solid #e0e0e0;border-radius:8px;overflow:hidden}.result-table th:last-child,.result-table td:last-child{width:33%;word-break:break-all}.result-table th{text-align:left;padding:10px 14px;background:#f7f8fa;border-bottom:1px solid #e0e0e0;color:#666;font-weight:500;font-size:11px;white-space:nowrap}.result-table td{padding:10px 14px;border-bottom:1px solid #f0f0f0;color:#333}.result-table tr:last-child td{border-bottom:none}.cell-green{background:#d4edda;color:#1b5e20;font-weight:500}.cell-orange-clickable{background:#fff3cd;color:#b86e00;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .15s}.cell-orange-clickable:hover{background:#ffe8a3}.cell-filled{background:#f0f0f0;color:#333;font-weight:500;cursor:pointer}.cell-filled:hover{background:#e8e8e8}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#0000004d;display:flex;align-items:center;justify-content:center}.modal{background:#fff;border-radius:12px;padding:24px;width:33.33vw;min-width:260px;max-width:400px;box-shadow:0 8px 30px #00000026}.modal-title{font-size:15px;font-weight:600;color:#1a1a1a;margin-bottom:16px}.modal-presets{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.modal-preset{padding:10px 0;border:1px solid #e0e0e0;border-radius:8px;background:#fff;cursor:pointer;font-size:14px;color:#333;transition:background-color .15s,border-color .15s}.modal-preset:hover{background:#f7f8fa;border-color:#ccc}.modal-custom{display:flex;flex-direction:column;gap:8px}.modal-custom input{flex:1;padding:10px 12px;border:1px solid #e0e0e0;border-radius:8px;font-size:14px;outline:none;transition:border-color .15s}.modal-custom input:focus{border-color:#999}.modal-confirm{width:100%;padding:10px 16px;border:none;border-radius:8px;background:#1a1a1a;color:#fff;cursor:pointer;font-size:14px;transition:background-color .15s;white-space:nowrap}.modal-confirm:hover{background:#333}.modal-confirm:disabled{background:#ccc;cursor:default}.reset-button{display:block;margin:32px auto 0;background:none;border:1px solid #d0d0d0;border-radius:6px;padding:8px 24px;cursor:pointer;font-size:14px;color:#666;transition:background-color .15s}.reset-button:hover{background:#f0f0f0}
