.app{max-width:720px;margin:0 auto;padding:1.25rem 1rem 2.5rem}.header h1{margin:0 0 .25rem;font-size:1.5rem}.privacy{margin:0;font-size:.875rem;color:#555}.status{margin:1rem 0;font-size:.95rem}.statusError{color:#b42318}.dropZone{border:2px dashed #b8c0cc;border-radius:12px;background:#fff;padding:1.25rem;text-align:center;margin-bottom:1rem}.dropZoneActive{border-color:#3b6fd9;background:#eef3fc}.btnPrimary{background:#2563eb;color:#fff;border:none;border-radius:8px;padding:.55rem 1rem;font-weight:600}.btnPrimary:disabled{opacity:.5;cursor:not-allowed}.btnGhost{background:none;border:1px solid #ccc;border-radius:6px;padding:.25rem .5rem;font-size:.85rem}.imageList{background:#fff;border-radius:10px;padding:.75rem;margin-bottom:1rem}.imageListHeader{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.9rem}.imageList ul{list-style:none;margin:0;padding:0;max-height:180px;overflow-y:auto}.imageList li{display:flex;align-items:center;gap:.5rem;padding:.35rem 0;border-bottom:1px solid #eee}.imageList li:last-child{border-bottom:none}.thumb{width:40px;height:40px;object-fit:cover;border-radius:4px;flex-shrink:0}.fileName{flex:1;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rowActions{display:flex;gap:.15rem}.btnIcon{border:1px solid #ddd;background:#fafafa;border-radius:4px;width:28px;height:28px;padding:0}.btnIcon:disabled{opacity:.35}.muted{color:#666;font-size:.9rem}.presetRow{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;font-size:.95rem}.presetRow select{flex:1;padding:.4rem;border-radius:6px;border:1px solid #ccc}.previewWrap{margin-bottom:1.25rem}.previewPage{width:100%;max-width:420px;margin:0 auto;background:#fff;border:1px solid #d0d5dd;border-radius:4px;box-shadow:0 2px 8px #00000014;overflow:hidden}.previewInner{height:100%;box-sizing:border-box}.previewGrid{display:grid;width:100%;height:100%}.previewCell{display:flex;align-items:center;justify-content:center;border:1px dashed #e0e0e0;background:#fafafa;min-height:0;overflow:hidden}.previewCell img{max-width:100%;max-height:100%;object-fit:contain}.previewEmpty{font-size:.75rem;color:#aaa}.previewNote{text-align:center;font-size:.8rem;color:#666;margin:.5rem 0 0}.exportRow{display:flex;flex-direction:column;gap:.75rem;background:#fff;padding:1rem;border-radius:10px}.exportRow label{display:flex;flex-direction:column;gap:.35rem;font-size:.9rem}.exportRow input{padding:.45rem;border:1px solid #ccc;border-radius:6px}:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,Hiragino Sans,Noto Sans JP,sans-serif;line-height:1.5;color:#1a1a1a;background:#f4f5f7}*{box-sizing:border-box}body{margin:0}button{font:inherit;cursor:pointer}input,select{font:inherit}
