.iv-shell{width:100%;height:calc(100vh - 200px);min-height:540px;display:grid;grid-template-columns:320px 1fr;gap:16px;border:1px solid #e2e8f0;border-radius:14px;background:#fafbfc;overflow:hidden}@media(max-width:880px){.iv-shell{grid-template-columns:1fr;height:auto}}.iv-templates{background:#fff;border-right:1px solid #e2e8f0;overflow-y:auto;padding:20px 18px 24px}.iv-templates-title{font-size:11px;font-weight:700;letter-spacing:.08em;color:#475569;text-transform:uppercase;margin-bottom:12px}.iv-stage{margin-bottom:18px}.iv-stage-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}.iv-stage-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.iv-stage-label{font-size:12.5px;font-weight:700;color:#0f172a;letter-spacing:.02em}.iv-stage-desc{font-size:11.5px;color:#64748b;line-height:1.45;margin:0 0 8px 16px}.iv-template{display:block;width:100%;text-align:left;font-family:inherit;font-size:12.5px;line-height:1.45;color:#334155;background:#f8fafc;border:1px solid transparent;border-radius:8px;padding:8px 10px;margin-bottom:4px;cursor:pointer;transition:background .12s ease,border-color .12s ease,color .12s ease}.iv-template:hover{background:#fff;border-color:var(--iv-stage-color, #cbd5e1);color:#0f172a}.iv-editor{display:flex;flex-direction:column;padding:18px 22px 22px;overflow:hidden;min-height:0}.iv-editor-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid #e2e8f0;margin-bottom:14px;flex-shrink:0}.iv-editor-label{font-size:11px;font-weight:700;letter-spacing:.08em;color:#475569;text-transform:uppercase}.iv-editor-actions{display:flex;gap:8px;align-items:center}.iv-btn{font-family:inherit;font-size:12.5px;font-weight:600;border-radius:7px;cursor:pointer;padding:7px 12px;display:inline-flex;align-items:center;gap:6px;transition:background .12s ease,border-color .12s ease;line-height:1.2}.iv-btn-ghost{background:#fff;border:1px solid #cbd5e1;color:#334155}.iv-btn-ghost:hover{background:#f1f5f9}.iv-btn-ghost:disabled{opacity:.45;cursor:not-allowed;background:#fff}.iv-btn-primary{background:#2563eb;border:1px solid #2563eb;color:#fff}.iv-btn-primary:hover{background:#1e40af}.iv-btn-primary:disabled{opacity:.45;cursor:not-allowed}.iv-btn-link{background:none;border:none;color:#64748b;padding:4px 8px;font-size:12px}.iv-btn-link:hover{background:#f1f5f9;color:#0f172a}.iv-list{display:flex;flex-direction:column;gap:14px;overflow-y:auto;padding-right:4px;flex:1}.iv-empty-list{text-align:center;padding:40px 20px;border:1px dashed #cbd5e1;border-radius:12px;color:#64748b;font-size:13.5px;line-height:1.5;background:#fff}.iv-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px 14px 14px;display:flex;flex-direction:column;gap:10px;transition:border-color .15s ease,box-shadow .15s ease}.iv-card:focus-within{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.iv-card-head{display:flex;align-items:center;gap:10px}.iv-card-num{font-size:12.5px;font-weight:700;color:#475569;background:#f1f5f9;border-radius:6px;padding:2px 8px;line-height:1.4}.iv-card-stage{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:#475569;letter-spacing:.04em;text-transform:uppercase}.iv-card-stage-dot{width:7px;height:7px;border-radius:50%}.iv-card-stage-select{font-family:inherit;font-size:11.5px;border:1px solid transparent;border-radius:6px;padding:2px 4px 2px 0;background:transparent;color:#475569;cursor:pointer}.iv-card-stage-select:hover{border-color:#cbd5e1}.iv-card-spacer{flex:1}.iv-card-actions{display:flex;gap:4px;align-items:center}.iv-icon-btn{width:28px;height:28px;border-radius:6px;background:transparent;border:1px solid transparent;color:#64748b;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;transition:background .12s ease,color .12s ease,border-color .12s ease}.iv-icon-btn:hover{background:#f1f5f9;color:#0f172a;border-color:#e2e8f0}.iv-icon-btn:disabled{opacity:.3;cursor:not-allowed}.iv-icon-btn:disabled:hover{background:transparent;color:#64748b;border-color:transparent}.iv-icon-btn-danger:hover{background:#fef2f2;color:#b91c1c;border-color:#fecaca}.iv-textarea-wrap{position:relative}.iv-overlay,.iv-textarea{font-family:inherit;font-size:14.5px;line-height:1.55;letter-spacing:0;padding:6px 0;margin:0;border:none;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;box-sizing:border-box;width:100%;min-height:56px}.iv-overlay{position:absolute;inset:0;pointer-events:none;color:transparent;background:transparent;z-index:1;overflow:hidden}.iv-overlay mark{color:transparent;background:var(--mark-bg, rgba(220, 38, 38, .18));border-bottom:2px solid var(--mark-color, #dc2626);border-radius:2px;padding:0;margin:0}.iv-textarea{position:relative;z-index:2;background:transparent;outline:none;resize:none;color:#0f172a;overflow:hidden}.iv-textarea::placeholder{color:#94a3b8}.iv-card-foot{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap}.iv-score-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;padding:4px 10px;border-radius:100px;border:1px solid;font-variant-numeric:tabular-nums;white-space:nowrap}.iv-score-good{background:#f0fdf4;border-color:#bbf7d0;color:#15803d}.iv-score-mid{background:#fefce8;border-color:#fef08a;color:#a16207}.iv-score-bad{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.iv-score-empty{background:#f8fafc;border-color:#e2e8f0;color:#94a3b8}.iv-issues-toggle{background:none;border:none;color:#64748b;font-size:12px;cursor:pointer;padding:4px 0;font-family:inherit}.iv-issues-toggle:hover{color:#0f172a}.iv-issues{display:flex;flex-direction:column;gap:6px;width:100%}.iv-issue{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:8px 10px;border-radius:7px;background:#f8fafc;font-size:12.5px;line-height:1.45}.iv-issue-tag{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#fff;padding:3px 7px;border-radius:4px;align-self:flex-start;white-space:nowrap;line-height:1.2}.iv-issue-quote{color:#0f172a;font-weight:600;margin-bottom:1px}.iv-issue-msg{color:#475569}.iv-add{display:flex;justify-content:center;padding:4px 0 8px}.iv-add-btn{font-family:inherit;font-size:13px;font-weight:600;color:#2563eb;background:#eff6ff;border:1px dashed #93c5fd;border-radius:8px;cursor:pointer;padding:8px 16px;display:inline-flex;align-items:center;gap:6px;transition:background .12s ease,border-style .12s ease}.iv-add-btn:hover{background:#dbeafe;border-style:solid}
