.ca-editor{gap:18px}.ca-editor__title-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px}.ca-editor__doc-link{font-size:1.25rem;font-weight:750;color:#2563eb;text-decoration:underline;text-underline-offset:3px}.ca-editor__doc-link:hover{color:#1d4ed8}.ca-editor .product-card__title{font-size:1.35rem;font-weight:800;line-height:1.3;letter-spacing:-.01em;color:#0f172a}.ca-editor .product-card__meta{font-size:.9rem}.ca-editor__toolbar{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.ca-editor__toolbar-legend{margin:0;font-size:1.35rem;font-weight:800;line-height:1.3;letter-spacing:-.01em;color:#0f172a}.ca-editor__toolbar-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.ca-editor__toolbar-hint{margin:-4px 0 0;font-size:.8125rem;color:#64748b;line-height:1.45}.ca-editor__result-modal--ok h3{color:#166534}.ca-editor__result-modal--bad h3{color:#c2410c}.ca-editor__result-modal-body{margin:0 0 4px;font-size:.9375rem;line-height:1.55;color:#334155}.ca-editor__unit-label{display:flex;flex-direction:column;gap:4px;font-size:.8125rem;font-weight:600;color:#475569}.ca-editor__unit-select{min-width:16rem}.ca-editor__flow-chart{border:2px solid #3b82f6;border-radius:18px;background:linear-gradient(135deg,#dbeafe,#eff6ff 45%,#f0fdf4);padding:22px 24px 26px;display:flex;flex-direction:column;gap:18px;box-shadow:0 8px 24px rgba(37,99,235,.12)}.ca-editor__flow-chart-head{display:flex;flex-direction:column;gap:6px}.ca-editor__flow-chart-title{font-size:1.125rem;font-weight:800;color:#1e3a8a;letter-spacing:.02em}.ca-editor__flow-chart-lead{margin:0;font-size:.9375rem;color:#334155;line-height:1.5}.ca-editor__flow-chart-lead strong{color:#1d4ed8}.ca-editor__flow-steps{list-style:none;margin:0;padding:4px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:20px 28px;gap:20px 28px;counter-reset:ca-flow}@media (max-width:900px){.ca-editor__flow-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ca-editor__flow-connector{display:none}}@media (max-width:520px){.ca-editor__flow-steps{grid-template-columns:1fr}}.ca-editor__flow-step{position:relative;counter-increment:ca-flow;display:flex;align-items:stretch;min-height:100%}.ca-editor__flow-step-btn{position:relative;flex:1 1;display:flex;flex-direction:column;gap:8px;min-height:118px;padding:16px 16px 16px 52px;border:2px solid #cbd5e1;border-radius:14px;background:#fff;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s,transform .15s}.ca-editor__flow-step-btn:before{content:counter(ca-flow);position:absolute;left:14px;top:16px;width:28px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:800;color:#64748b;background:#e2e8f0;border:2px solid #cbd5e1}.ca-editor__flow-phase-tag{align-self:flex-start;padding:3px 10px;border-radius:999px;font-size:.75rem;font-weight:700;letter-spacing:.02em;background:#f1f5f9;color:#64748b;border:1px solid #cbd5e1}.ca-editor__flow-step-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(15,23,42,.1)}.ca-editor__flow-step--upcoming .ca-editor__flow-step-btn{border-color:#fbbf24;background:#fffbeb}.ca-editor__flow-step--upcoming .ca-editor__flow-step-btn:before{color:#b45309;background:#fde68a;border-color:#fbbf24}.ca-editor__flow-step--upcoming .ca-editor__flow-phase-tag{background:#fef3c7;color:#b45309;border-color:#fbbf24}.ca-editor__flow-step--upcoming .ca-editor__flow-step-btn:hover{border-color:#f59e0b;box-shadow:0 6px 18px rgba(245,158,11,.22)}.ca-editor__flow-step--current .ca-editor__flow-step-btn{border-color:#2563eb;border-width:3px;background:linear-gradient(180deg,#eff6ff,#dbeafe);box-shadow:0 0 0 3px rgba(37,99,235,.2),0 8px 20px rgba(37,99,235,.18)}.ca-editor__flow-step--current .ca-editor__flow-step-btn:before{color:#fff;background:#2563eb;border-color:#1d4ed8;box-shadow:0 2px 8px rgba(37,99,235,.35)}.ca-editor__flow-step--current .ca-editor__flow-phase-tag{background:#2563eb;color:#fff;border-color:#1d4ed8}.ca-editor__flow-step--current .ca-editor__flow-step-btn:hover{border-color:#1d4ed8;box-shadow:0 0 0 3px rgba(37,99,235,.28),0 10px 24px rgba(37,99,235,.22)}.ca-editor__flow-step--done .ca-editor__flow-step-btn{border-color:#16a34a;background:linear-gradient(180deg,#f0fdf4,#dcfce7);box-shadow:0 4px 14px rgba(22,163,74,.12)}.ca-editor__flow-step--done .ca-editor__flow-phase-tag,.ca-editor__flow-step--done .ca-editor__flow-step-btn:before{color:#fff;background:#16a34a;border-color:#15803d}.ca-editor__flow-step--done .ca-editor__flow-step-btn:hover{border-color:#15803d;box-shadow:0 6px 18px rgba(22,163,74,.2)}.ca-editor__flow-step-btn strong{font-size:1.0625rem;font-weight:800;color:#0f172a;line-height:1.3}.ca-editor__flow-step-hint{font-size:.875rem;color:#475569;line-height:1.45}.ca-editor__flow-step--current .ca-editor__flow-step-hint{color:#1e40af}.ca-editor__flow-step--done .ca-editor__flow-step-hint{color:#166534}.ca-editor__flow-connector{position:absolute;right:-18px;top:50%;transform:translateY(-50%);font-size:1.5rem;font-weight:800;color:#94a3b8;z-index:2;pointer-events:none;text-shadow:0 1px 0 #fff}.ca-editor__flow-connector--done{color:#16a34a}.ca-editor__draft-table-wrap{margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.ca-editor__draft-table-title{margin:0 0 6px;font-size:.9375rem;color:#0f172a}.ca-editor__draft-row--current{background:#eff6ff}.ca-editor__published-table-wrap{margin-top:4px}.ca-editor__published-actions{display:flex;flex-wrap:wrap;gap:6px}.ca-editor__view-modal-body{max-height:min(60vh,520px);overflow:auto;display:flex;flex-direction:column;gap:12px}.ca-editor__view-passage{white-space:pre-wrap;font-size:.875rem;line-height:1.55;color:#334155;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;background:#f8fafc}.ca-editor__view-questions{display:flex;flex-direction:column;gap:10px}.ca-editor__view-q{border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;background:#fff}.ca-editor__view-q strong{display:block;font-size:.8125rem;color:#0f172a;margin-bottom:4px}.ca-editor__kb-box{margin:12px 0 16px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;overflow:hidden}.ca-editor__kb-head{align-items:center;justify-content:space-between;gap:8px;font-size:.8125rem;font-weight:650;color:#334155}.ca-editor__kb-filters,.ca-editor__kb-head{display:flex;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid #e2e8f0;background:#fff}.ca-editor__kb-filters{gap:10px}.ca-editor__filter-label{display:flex;flex-direction:column;gap:4px;min-width:8.5rem;font-size:.75rem;font-weight:600;color:#64748b}.ca-editor__filter-label select{min-width:8.5rem;font-weight:500;color:#0f172a}.ca-editor__kb-list{max-height:220px;overflow-y:auto;padding:10px;gap:8px}.ca-editor__kb-item{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.ca-editor__kb-item:hover{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.08)}.ca-editor__kb-item--selected{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px rgba(37,99,235,.12)}.ca-editor__kb-item-title{font-size:.875rem;font-weight:650;color:#0f172a}.ca-editor__kb-item-meta{font-size:.75rem;color:#64748b}.ca-editor__passage{min-height:12rem;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.55;resize:vertical}.ca-editor__type-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-gap:10px;gap:10px;margin-top:12px}.ca-editor__type-chip{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;cursor:pointer;text-align:left;transition:border-color .15s ease,background .15s ease}.ca-editor__type-chip:hover{border-color:#93c5fd}.ca-editor__type-chip--on{border-color:#2563eb;background:#eff6ff}.ca-editor__type-chip-name{font-size:.9375rem;font-weight:700;color:#0f172a}.ca-editor__type-chip-name em{margin-left:6px;font-style:normal;font-weight:500;font-size:.75rem;color:#64748b}.ca-editor__type-chip-desc{font-size:.75rem;color:#64748b;line-height:1.4}.ca-editor__order-hint{margin-top:12px!important}.ca-editor__ai-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0 4px}.ca-editor__questions{display:flex;flex-direction:column;gap:14px;margin-top:14px}.ca-editor__q-card{padding:14px 16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.ca-editor__q-head{justify-content:space-between;gap:10px;margin-bottom:4px}.ca-editor__q-head,.ca-editor__q-head-actions{display:flex;flex-wrap:wrap;align-items:center}.ca-editor__q-head-actions{gap:8px}.ca-editor__q-swap{font-size:.75rem!important;padding:4px 10px!important;white-space:nowrap}.ca-editor__use-check{display:inline-flex;align-items:center;gap:4px;font-size:.8125rem;font-weight:650;color:#334155;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.ca-editor__use-check input{width:15px;height:15px;accent-color:#2563eb}.ca-editor__q-card--disabled{opacity:.55;background:#f8fafc}.ca-editor__q-head h4{margin:0;font-size:.975rem;font-weight:700;color:#0f172a}.ca-editor__q-en{margin-left:8px;font-size:.75rem;font-weight:500;color:#64748b}.ca-editor__pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.6875rem;font-weight:700;letter-spacing:.02em;color:#475569;background:#f1f5f9}.ca-editor__pill--ok{color:#166534;background:#dcfce7}.ca-editor__pill--teacher{color:#1d4ed8;background:#dbeafe}.ca-editor__pill--ai{color:#7c3aed;background:#ede9fe}.ca-editor__publish-bar,.ca-editor__step-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0 0;padding-top:12px;border-top:1px solid #eef2f7}.ca-editor__publish-bar{margin:12px 0;padding-top:0;border-top:none}.ca-editor__checklist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.ca-editor__checklist li{position:relative;padding-left:1.4rem;font-size:.8125rem;color:#64748b}.ca-editor__checklist li:before{content:"○";position:absolute;left:0;color:#94a3b8}.ca-editor__checklist li.is-done{color:#166534;font-weight:600}.ca-editor__checklist li.is-done:before{content:"✓";color:#16a34a}.ca-editor .admin-form-field{display:flex;flex-direction:column;gap:6px;margin-top:12px}.ca-editor .admin-form-label{font-size:.8125rem;font-weight:650;color:#334155}.ca-editor .admin-form-input{width:100%;box-sizing:border-box;padding:8px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;font-size:.875rem;color:#0f172a}.ca-editor .admin-form-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}.ca-editor .admin-form-hint{margin:0 0 4px;font-size:.8125rem;color:#64748b;line-height:1.5}.ca-editor code{font-size:.8em;padding:1px 6px;border-radius:6px;background:#f1f5f9;color:#334155}.ca-editor__draft-status{display:flex;flex-direction:column;gap:10px}.ca-editor__draft-status-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:0;font-size:.875rem;color:#334155}.ca-editor__draft-status-line strong{min-width:5.5rem;color:#0f172a}.ca-editor__draft-status-note{font-size:.8125rem;color:#64748b}.ca-editor__pill--warn{color:#b45309;background:#fef3c7}.ca-editor__loading-overlay{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.42);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.ca-editor__loading-card{min-width:min(22rem,100%);max-width:28rem;padding:24px 28px;border-radius:16px;background:#fff;box-shadow:0 20px 50px rgba(15,23,42,.18);text-align:center}.ca-editor__spinner{width:40px;height:40px;margin:0 auto 14px;border:3px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:ca-editor-spin .8s linear infinite}@keyframes ca-editor-spin{to{transform:rotate(1turn)}}.ca-editor__loading-title{margin:0 0 6px;font-size:1rem;font-weight:700;color:#0f172a}.ca-editor__loading-detail{margin:0;font-size:.875rem;line-height:1.5;color:#64748b}