/* 常時ライトモード固定定義 */
:root, body, main {
    --bg-color: #ffffff !important;
    --text-color: #202124 !important;
    --link-color: #1a73e8 !important;
    --border-color: #dadce0 !important;
    --table-header-bg: #f8f9fa !important;
    --table-hover-bg: #f1f3f4 !important;
}
body { font-family: system-ui, -apple-system, sans-serif; background: #f1f5f9; color: #1e293b; margin: 0; padding: 20px; }
.container { max-width: 800px; margin: 0 auto; background: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
h1 { font-size: 1.5rem; margin-top: 0; }
.desc { color: #64748b; font-size: 0.95rem; }
.section { margin-top: 20px; }
.hint { font-size: 0.85rem; color: #64748b; margin: 4px 0 8px 0; }
textarea { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: monospace; font-size: 0.9rem; }
.output-wrapper { position: relative; }
.btn-group { margin-top: 10px; display: flex; gap: 10px; }
.btn { padding: 8px 16px; border-radius: 6px; border: none; cursor: pointer; font-weight: bold; font-size: 0.9rem; transition: background 0.2s; }
.btn.primary { background: #3b82f6; color: #fff; }
.btn.primary:hover { background: #2563eb; }
.btn.secondary { background: #e2e8f0; color: #475569; }
.btn.copy { position: absolute; right: 10px; bottom: 10px; background: #2563eb; color: #fff; padding: 6px 12px; font-size: 0.8rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 10px; }
.cat-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; }
.cat-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-tag { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px; padding: 2px 10px; font-size: 0.82rem; color: #334155; }
.empty-tag { color: #94a3b8; font-size: 0.85rem; }

/* =========================================================
   2026-09-19 ページ別薄色背景（#f0f9ff）
   ========================================================= */
body {
    background-color: #f0f9ff !important;
    color: #111111 !important;
}
/* ============================================================
 * プリセット選択（2026-10-22 追加）
 * ============================================================ */
.preset-selector { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; flex-wrap: wrap; }
.preset-selector label { font-weight: 500; }
.preset-selector select { flex: 1; min-width: 200px; padding: 6px 10px; border: 1px solid #c8ccd4; border-radius: 6px; font-size: 14px; background: #fff; }
.preset-selector .btn { padding: 6px 14px; font-size: 14px; white-space: nowrap; }