:root{--bg: #ffffff;--fg: #111827;--muted: #6b7280;--border: #eceaf6;--surface: #faf9ff;--accent: #6d5efc;--accent-soft: #eef0ff;--good: #16a34a;--warn: #f59e0b;--bad: #dc2626}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font:14px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,Inter,sans-serif}#app{max-width:1180px;margin:0 auto;padding:32px 20px 80px}.frame-list,.page-head{max-width:880px;margin-left:auto;margin-right:auto}#app.is-wide,#app.is-wide .page-head{max-width:none}.frame-bar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:14px;margin:-32px -20px 20px;padding:12px 20px;background:var(--bg);border-bottom:1px solid var(--border)}.frame-bar-id{display:flex;align-items:center;gap:10px;min-width:0;margin-right:auto}.frame-bar-id h1{margin:0;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.frame-bar-actions{display:flex;align-items:center;gap:8px;flex:none}h1{font-size:22px;margin:8px 0 2px}h2{font-size:15px;margin:0 0 4px}h3{font-size:13px;margin:12px 0 6px}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.page-sub,.panel-sub{color:var(--muted);margin:0 0 8px}.panel-hint{color:var(--muted);font-size:12px;min-height:16px;margin:8px 0 0}.loading,.empty{padding:48px 0;text-align:center;color:var(--muted)}.empty h2{color:var(--fg)}.frame-list{display:flex;flex-direction:column;gap:8px}.frame-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px 16px;text-align:left;font:inherit;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:10px;cursor:pointer}.frame-row:hover{border-color:var(--accent)}.frame-main{flex:1;min-width:0}.frame-name{font-weight:600;margin-bottom:4px}.frame-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.frame-sub,.frame-status{color:var(--muted);font-size:12px}.frame-status{margin-top:6px}.frame-chevron{color:var(--muted)}.pill{display:inline-block;font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid var(--border);white-space:nowrap}.pill-good{color:var(--good);border-color:currentColor}.pill-warn{color:var(--warn);border-color:currentColor}.pill-bad{color:var(--bad);border-color:currentColor}.pill-busy{color:var(--accent);border-color:currentColor}.pill-idle{color:var(--muted)}.panel{border:1px solid var(--border);border-radius:10px;padding:16px;margin-bottom:16px}.lock,.notice{border:1px solid var(--warn);color:var(--warn);border-radius:8px;padding:10px 12px;margin-bottom:16px;font-size:13px}.notice{margin:8px 0 12px}.rfd-cards{display:flex;flex-direction:column;gap:8px;margin-top:12px}.rfd-card{border:1px solid var(--border);border-radius:8px;padding:12px;background:var(--surface)}.rfd-card-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.rfd-card-index{color:var(--muted);font-variant-numeric:tabular-nums}.rfd-card-name{font-weight:600}.rfd-card-desc{margin:8px 0 4px}.rfd-card-api,.rfd-card-nodes{color:var(--muted);font-size:12px}.question{border-top:1px solid var(--border);padding:10px 0}.question:first-of-type{border-top:none}.question-text{font-weight:600;margin-bottom:4px}.question-why{color:var(--muted);font-size:12px;margin-bottom:6px}.answer-input{width:100%;font:inherit;padding:8px;margin-bottom:8px;color:inherit;background:var(--bg);border:1px solid var(--border);border-radius:6px;resize:vertical}.btn{display:inline-block;font:inherit;font-size:13px;padding:7px 14px;border-radius:7px;border:1px solid var(--border);background:transparent;color:inherit;cursor:pointer;text-decoration:none;margin-right:8px}.btn:hover:not(:disabled){border-color:var(--accent)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:var(--accent);border-color:var(--accent);color:#fff}.role-select{font:inherit;font-size:12px;padding:2px 6px;color:inherit;background:var(--bg);border:1px solid var(--border);border-radius:6px}.role-select:disabled{opacity:.55}.save-row{display:flex;align-items:center;gap:8px;margin-top:14px}.thumb{flex:0 0 auto;width:72px;height:48px;object-fit:cover;object-position:top center;border-radius:6px;border:1px solid var(--border);background:var(--bg)}.thumb-empty{display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:18px;border-style:dashed}.progress-row{display:flex;align-items:center;gap:8px;margin-top:8px}.progress{flex:1;height:4px;border-radius:999px;background:var(--border);overflow:hidden}.progress-fill{height:100%;background:var(--accent);transition:width .24s ease}.progress-pct{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}.frame-row-failed,.frame-row-idle{cursor:default;align-items:flex-start}.frame-error{margin-top:6px;color:var(--bad, #f87171);font-size:12px;overflow-wrap:anywhere}.frame-actions{display:flex;gap:8px;margin-top:10px}.panel-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.panel-head h2{margin:0 auto 0 0}.story-shell{border-radius:10px;overflow:hidden;background:transparent;position:relative}.story-frame{display:block;width:100%;height:900px;min-height:520px;border:0}.story-panel{border:1px solid var(--border);border-radius:14px;padding:6px;background:#fff;box-shadow:0 1px 2px #1018280a}.editor{margin-top:10px}.editor>summary{cursor:pointer;color:var(--muted);font-size:12px;list-style:none}.editor>summary:before{content:"▸ "}.editor[open]>summary:before{content:"▾ "}.editor-body{padding-top:10px}.editor-field{display:block;margin-bottom:10px}.editor-label{display:block;font-size:12px;font-weight:600;margin-bottom:2px}.editor-help{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.chip{font:inherit;font-size:11px;padding:3px 9px;margin:0;border-radius:999px;border:1px dashed var(--border);background:transparent;color:var(--muted);cursor:pointer;text-align:left}.chip:hover:not(:disabled){border-style:solid;border-color:var(--accent);color:inherit}.question-skip{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px;cursor:pointer}.signin{max-width:360px;margin:12vh auto 0}.signin h1{margin-bottom:4px}.signin-label{display:block;font-size:12px;font-weight:600;margin:16px 0 4px}.signin-static{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--muted)}.signin-foot{font-size:12px;color:var(--muted);margin-top:20px}.rfd-body{flex:1;overflow-y:auto;padding:16px 20px 24px}.rfd-hero-logo{font-weight:800;font-size:22px;letter-spacing:.5px;color:#1a1333}.rfd-progress{margin-bottom:20px}.rfd-progress-head{display:flex;align-items:center;gap:8px;font-size:13px;color:#4b5563;margin-bottom:8px}.rfd-progress-spinner{width:14px;height:14px;border:2px solid #d8d2ff;border-top-color:#6d5efc;border-radius:50%;animation:rfd-spin .7s linear infinite;flex-shrink:0}.rfd-progress-track{height:6px;border-radius:999px;background:#ece9ff;overflow:hidden}.rfd-progress-fill{height:100%;width:0;border-radius:999px;background:linear-gradient(90deg,#6d5efc,#a78bfa);transition:width .4s ease}.rfd-progress.is-failed .rfd-progress-fill{background:#dc3545}.rfd-progress.is-failed .rfd-progress-spinner{border-color:#f3c2c7;border-top-color:#dc3545;animation:none}.rfd-skel{background:linear-gradient(90deg,#eef0f3 25%,#e3e6eb 37%,#eef0f3 63%);background-size:400% 100%;animation:rfd-shimmer 1.4s ease infinite;border-radius:6px}.rfd-skel-row{height:12px;margin:9px 0}.rfd-skel-row.short{width:55%}.rfd-skel-chip{display:inline-block;height:24px;width:64px;border-radius:999px;margin:2px 8px 0 0}.rfd-empty{color:#9ca3af;font-size:12px}.rfd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;align-items:start}.rfd-col{min-width:0}.rfd-col-title{font-size:15px;margin:0 0 8px;color:#111827}.rfd-col-titlerow{display:flex;align-items:center;justify-content:space-between;gap:8px}.rfd-flow{display:flex;flex-direction:column;gap:12px;margin-bottom:20px}.rfd-step{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid #eceaf6;border-radius:12px;padding:14px 16px}.rfd-step-no{flex:none;width:24px;height:24px;border-radius:50%;background:#eef0ff;color:#5b4cf0;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}.rfd-step-body{min-width:0;flex:1}.rfd-step-title{font-size:13px;font-weight:700;color:#111827}.rfd-step-sub{font-size:11px;color:#6b7280;margin-top:2px;line-height:1.45}.rfd-step-actions{flex:none;display:flex;align-items:center;gap:8px;padding-top:2px}.rfd-step-cta{font-size:12px;padding:6px 14px}.rfd-step-previews{display:grid;grid-template-columns:1fr;gap:12px;margin-top:10px}.rfd-preview-cell{min-width:0}.rfd-step-titlerow{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.rfd-step-titlecol{min-width:0}.rfd-det-controls{flex:none;display:inline-flex;align-items:stretch;gap:8px}.rfd-step-title{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.rfd-mode{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;color:#6b4bf5;background:#f1eefe;border:1px solid #e0d9fb;border-radius:999px;padding:2px 4px 2px 9px;white-space:nowrap}.rfd-mode select{font:inherit;color:inherit;background:#fff;border:1px solid #e0d9fb;border-radius:999px;padding:2px 6px;cursor:pointer}.rfd-det-open{flex:none;cursor:pointer;font-size:11px;font-weight:700;color:#6b4bf5;background:#f1eefe;border:1px solid #e0d9fb;border-radius:8px;padding:5px 11px;white-space:nowrap}.rfd-det-open:hover:not(:disabled){background:#e7e1fc}.rfd-det-open:disabled{opacity:.5;cursor:default}.rfd-apply-prd{color:#fff;background:#5b4cf0;border-color:#5b4cf0}.rfd-apply-prd:hover:not(:disabled){background:#4b3ce0}.rfd-prd-band{margin-bottom:0}.rfd-col-prd .rfd-prd-band{height:560px;overflow-y:auto}.rfd-col-prd .rfd-col-titlerow{gap:8px}.rfd-two{display:grid;grid-template-columns:minmax(240px,300px) 1fr 25%;gap:20px;align-items:start}.rfd-two[hidden]{display:none}.rfd-two:has(>.rfd-col-editor[hidden]){grid-template-columns:1fr 25%}.rfd-source-body{display:grid;grid-template-columns:260px 1fr;gap:14px;align-items:start;margin-top:10px}.rfd-source-body:has(>.rfd-hierarchy[hidden]){grid-template-columns:1fr}.rfd-source-body .rfd-hierarchy-tree{max-height:460px}@media(max-width:720px){.rfd-source-body{grid-template-columns:1fr}}.rfd-step-block{display:block}.rfd-step-row{display:flex;align-items:flex-start;gap:14px}.rfd-detect-band{padding:14px 16px}.rfd-detected-card{margin-top:8px;padding:6px;height:560px;overflow:hidden}.rfd-detected-card .rfd-comp-list{height:100%;overflow-y:auto;padding:3px 6px}.rfd-two{align-items:start}.rfd-editor-full{display:block}.rfd-editor-card{padding:14px 16px;height:560px;overflow-y:auto}.rfd-editor-card .rfd-card{border:none;border-top:1px solid #eceaf6;border-radius:0;padding:12px 0 0;margin-top:12px}.rfd-editor-card .rfd-semantic-card{border:1px solid #e5e1ff;border-radius:10px;padding:12px 14px}.rfd-editor-card>#rfd-editor-fields>:last-child{margin-bottom:6px}@media(max-width:720px){.rfd-two,.rfd-step-previews{grid-template-columns:1fr}.rfd-step{flex-wrap:wrap}}.rfd-reanalyze{flex:none;cursor:pointer;font-size:11px;font-weight:600;color:#6b4bf5;background:#f1eefe;border:1px solid #e0d9fb;border-radius:999px;padding:4px 10px;white-space:nowrap;transition:background .12s}.rfd-reanalyze:hover:not(:disabled){background:#e7e1fc}.rfd-reanalyze:disabled{opacity:.5;cursor:default}.rfd-reanalyze.is-busy{opacity:.9;cursor:default}.rfd-btn-spinner{display:inline-block;width:11px;height:11px;margin-right:6px;vertical-align:-1px;border:2px solid #d9d2fb;border-top-color:#6b4bf5;border-radius:50%;animation:rfd-spin .8s linear infinite}.rfd-prd-clear{flex:none;align-items:center;justify-content:center;cursor:pointer;font-size:11px;color:#9ca3af;background:transparent;border:none;padding:0 2px;margin-left:-4px;transition:color .12s}.rfd-prd-clear:hover{color:#dc2626}.rfd-prd-hint{font-size:11px;line-height:1.4;margin:6px 0 0}.rfd-prd-hint.is-error{color:#dc2626}.rfd-prd-hint.is-warn{color:#92400e}.rfd-col-sub{font-size:12px;line-height:1.5;color:#6b7280;margin:0 0 16px}.rfd-card{border:1px solid #ececf1;border-radius:10px;padding:12px 14px;margin-bottom:14px}.rfd-card-soft{background:#f6f5ff;border-color:#e7e3ff}.rfd-card-head{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#1f2937;margin-bottom:10px}.rfd-card-head strong{font-weight:600}.rfd-dim{color:#9ca3af;font-size:12px}.rfd-prd-panel{background:#fbfbff;border-color:#e6e3ff}.rfd-prd-status{flex:none;border-radius:999px;padding:2px 8px;background:#f3f4f6;color:#4b5563;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.rfd-prd-status.is-warn{background:#fef3c7;color:#92400e}.rfd-prd-status.is-ok{background:#dcfce7;color:#166534}.rfd-prd-status.is-proposed{background:#e0e7ff;color:#3730a3}.rfd-prd-status.is-loading{background:#eef2ff;color:#3730a3}.rfd-prd-title{font-size:13px;font-weight:700;color:#111827;margin-bottom:4px}.rfd-prd-summary{font-size:11px;line-height:1.45;color:#6b7280;margin-bottom:10px}.rfd-prd-actions{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.rfd-prd-action{border:1px solid #d8d5f5;border-radius:999px;background:#fff;color:#5b46d9;cursor:pointer;font-size:11px;font-weight:600;padding:4px 9px}.rfd-prd-action:disabled{opacity:.45;cursor:default}.rfd-prd-loading{align-items:center;background:linear-gradient(135deg,#f5f3ff,#eef2ff);border:1px solid #ddd6fe;border-radius:10px;display:flex;gap:10px;margin:8px 0 10px;padding:9px 10px}.rfd-prd-spinner{animation:rfd-prd-spin .8s linear infinite;border:2px solid #ddd6fe;border-top-color:#5b46d9;border-radius:999px;flex:0 0 auto;height:18px;width:18px}.rfd-prd-loading-copy{min-width:0}.rfd-prd-loading-title{color:#3730a3;font-size:11px;font-weight:800;line-height:1.25}.rfd-prd-loading-message{color:#6b7280;font-size:10px;line-height:1.35;margin-top:2px}.rfd-prd-question{border-top:1px solid #ececf1;padding-top:8px;margin-top:8px}.rfd-prd-question-title{font-size:11px;font-weight:700;color:#92400e;margin-bottom:4px}.rfd-prd-question-text{font-size:11px;line-height:1.45;color:#4b5563;margin-bottom:6px}.rfd-prd-question-options{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.rfd-prd-option{border:1px solid #ddd6fe;border-radius:999px;background:#f5f3ff;color:#5b46d9;cursor:pointer;font-size:10px;font-weight:700;line-height:1.25;padding:4px 8px;text-align:left}.rfd-prd-option:hover{background:#ede9fe}.rfd-prd-option.is-selected{background:#5b46d9;border-color:#5b46d9;color:#fff;box-shadow:0 0 0 2px #5b46d91f}.rfd-prd-option:disabled,.rfd-prd-mini:disabled{cursor:default;opacity:.55}.rfd-prd-answer{width:100%;min-height:54px;border:1px solid #e5e7eb;border-radius:7px;padding:6px 8px;resize:vertical;font:inherit;font-size:11px}.rfd-prd-answer:disabled{background:#f9fafb;color:#9ca3af}.rfd-prd-question-actions{display:flex;gap:6px;margin-top:6px}.rfd-prd-mini{border:0;border-radius:999px;background:#f3f4f6;color:#374151;cursor:pointer;font-size:10px;font-weight:700;padding:3px 8px}.rfd-prd-answer-feedback{color:#166534;font-size:10px;font-weight:700;line-height:1.35;margin-top:6px}.rfd-prd-coverage{display:grid;gap:6px;margin-top:8px}.rfd-prd-assessment{border-top:1px solid #ececf1;padding-top:7px}.rfd-prd-assessment-name{font-size:11px;font-weight:700;color:#111827}.rfd-prd-assessment-meta{font-size:10px;color:#6b7280;margin-top:2px}.rfd-frame-preview{height:300px;border-radius:8px;background:repeating-linear-gradient(135deg,#f3f4f6,#f3f4f6 10px,#eceef1 10px,#eceef1 20px);display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:12px;overflow:hidden}.rfd-frame-preview img{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px;display:block}.rfd-deterministic-preview{gap:8px;text-align:center;padding:10px;box-sizing:border-box}.rfd-frame-preview.rfd-preview-has-img{height:auto;min-height:0;display:block;padding:0;background:none;overflow:visible}.rfd-deterministic-preview.rfd-preview-has-img{text-align:left}.rfd-deterministic-preview .rfd-det-img{width:auto;max-width:100%;max-height:180px}.rfd-det-stage{position:relative;width:100%;line-height:0}.rfd-det-img{display:block;width:100%;height:auto;border-radius:6px}.rfd-det-overlay{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.rfd-det-box{position:absolute;border:1.5px dashed rgba(107,76,245,.45);border-radius:3px;cursor:pointer;pointer-events:auto;transition:background .1s,border-color .1s}.rfd-det-box:hover{border-color:#6b4bf5}.rfd-det-box.is-selected{border:2px solid #6b4bf5;box-shadow:0 0 0 2px #6b4cf52e}.rfd-det-box.is-hierarchy{border:2px solid #f59e0b;pointer-events:none}.rfd-det-box.is-hover{border:2px dashed #0ea5e9;pointer-events:none}.rfd-det-box.is-node{border:1px solid rgba(107,76,245,.35);background:transparent;pointer-events:none;border-radius:2px}.rfd-hierarchy-head{font-size:11px;font-weight:700;color:#374151;margin-bottom:6px}.rfd-hierarchy-tree{max-height:280px;overflow:auto;font-size:11px}.rfd-tree-error{font-size:11px;line-height:1.5;color:#b91c1c}.rfd-detect-error{color:#b91c1c}.rfd-comp-item.is-problem{box-shadow:inset 3px 0 #dc2626}.rfd-comp-item.is-warned{box-shadow:inset 3px 0 #f59e0b}.rfd-comp-flag{margin-left:6px;font-weight:800;color:#dc2626}.rfd-comp-flag[data-tone=warn]{color:#b45309}.rfd-semantic-problem{margin-top:6px;font-size:11px;line-height:1.45;color:#b45309}.rfd-semantic-problem.is-error{color:#b91c1c}.rfd-save-hint{display:none;font-size:11px;line-height:1.45;color:#6b7280;padding:10px 16px 0}.rfd-save-hint.is-warn{color:#92400e}.rfd-save-hint.is-error{color:#b91c1c}.rfd-attention-hint{color:#92400e;padding-top:4px}.rfd-hint-action{display:inline-block;margin-left:8px;cursor:pointer;font:inherit;font-weight:700;color:#6b4bf5;background:#f1eefe;border:1px solid #e0d9fb;border-radius:999px;padding:2px 10px;white-space:nowrap}.rfd-hint-action:hover{background:#e7e1fc}.rfd-tree-row{display:flex;align-items:center;gap:6px;padding:2px 4px;border-radius:5px;cursor:pointer;white-space:nowrap}.rfd-tree-row:hover{background:#faf9ff}.rfd-tree-row.is-active{background:#f0ecff}.rfd-tree-caret{flex:none;width:10px;color:#9ca3af;font-size:9px}.rfd-tree-label{color:#374151;overflow:hidden;text-overflow:ellipsis}.rfd-tree-label.is-detected{color:#5b4cf0;font-weight:600}.rfd-tree-type{flex:none;margin-left:auto;color:#b6bcc7;font-size:9px;text-transform:uppercase;letter-spacing:.02em}.rfd-preview-spinner{width:12px;height:12px;flex:none;border-radius:50%;border:2px solid #ddd6fe;border-top-color:#7c3aed;animation:rfd-spin .8s linear infinite}.rfd-preview-status{border-radius:999px;padding:2px 7px;background:#f3f4f6;color:#6b7280;font-size:10px;font-weight:700}.rfd-preview-status.is-ready{background:#dcfce7;color:#15803d}.rfd-preview-status.is-failed{background:#fee2e2;color:#b91c1c}.rfd-storybook-btn{border:1px solid #ddd6fe;border-radius:6px;padding:3px 7px;background:#f5f3ff;color:#6d28d9;font-size:10px;font-weight:700;cursor:pointer}.rfd-storybook-btn:hover{background:#ede9fe}.rfd-comp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px 12px}.rfd-comp{font-size:12px;color:#16a34a}.rfd-comp-list{display:flex;flex-direction:column;gap:10px}.rfd-comp-empty{font-size:12px;color:#9ca3af}.rfd-comp-node,.rfd-comp-children{display:flex;flex-direction:column;gap:10px;min-width:0}.rfd-comp-children.is-indented{margin-inline-start:9px;padding-inline-start:9px;border-inline-start:1px solid #ece9fb}.rfd-comp-caret{flex:none;width:14px;align-self:stretch;padding:0;margin-top:1px;border:0;background:transparent;color:#8b83b8;font-size:10px;line-height:1.2;text-align:center;cursor:pointer}.rfd-comp-caret:hover{color:#5b4cf0}.rfd-comp-caret.is-leaf{cursor:inherit}.rfd-comp-collapsed-note{margin-inline-start:32px;margin-top:-4px;font-size:10px;color:#a8a2c8;font-style:italic}.rfd-comp-item{display:flex;gap:8px;align-items:flex-start;cursor:pointer;min-width:0;border:1px solid transparent;border-radius:10px;padding:5px}.rfd-comp-item:hover{background:#faf9ff;border-color:#ede9fe}.rfd-comp-item.is-selected{background:#f5f3ff;border-color:#a78bfa;box-shadow:0 0 0 2px #7c3aed14}.rfd-comp-item:focus-visible{outline:2px solid #7c3aed;outline-offset:2px}.rfd-comp-thumb{flex:none;width:72px;height:54px;border-radius:8px;border:1px solid #e5e7eb;background:#fff center/contain no-repeat}.rfd-comp-thumb.is-empty{display:flex;align-items:center;justify-content:center;color:#c4b5fd;font-size:16px;background:repeating-linear-gradient(135deg,#f6f5fe,#f6f5fe 8px,#eeecfb 8px,#eeecfb 16px)}.rfd-comp-info{min-width:0;display:flex;flex-direction:column;gap:2px}.rfd-comp-name{font-size:12px;font-weight:600;color:#111827}.rfd-comp-desc{font-size:11px;line-height:1.45;color:#4b5563}.rfd-comp-desc.is-muted{color:#9ca3af;font-style:italic}.rfd-comp-wiring{margin:2px 0 4px;font-size:10px;font-weight:700;color:#5b4cf0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rfd-comp-wiring:before{content:"❖ ";opacity:.7}.rfd-comp-wiring[data-tone=muted]{color:#9ca3af;font-weight:600}.rfd-comp-wiring[data-tone=warn]{color:#b45309}.rfd-comp-count{flex:none;font-size:9px;font-weight:700;letter-spacing:.02em;color:#6b7280;background:#f3f4f6;border-radius:999px;padding:1px 6px}.rfd-comp-parts{margin-top:3px;font-size:10px;color:#9ca3af;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:help}.rfd-comp-parts:before{content:"⌁ ";opacity:.7}.rfd-comp-unexposed{margin-top:3px;font-size:10px;font-weight:600;color:#b45309;cursor:help;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rfd-comp-unexposed:before{content:"⚠ "}.rfd-comp-name-row{display:flex;align-items:center;flex-wrap:wrap;gap:2px 6px;min-width:0}.rfd-comp-name-row .rfd-comp-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rfd-badge{flex:none;font-size:9px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;padding:1px 6px;border-radius:999px;line-height:1.6}.rfd-badge.is-interactive{background:#eef0ff;color:#5b4cf0}.rfd-badge.is-static{background:#f3f4f6;color:#9ca3af}.rfd-api-meta{margin:6px 0 0}.rfd-api-prd{margin:8px 0;border:1px solid #e5e7eb;border-radius:8px;background:#fbfaff;padding:8px 10px}.rfd-api-prd-head{font-size:10px;font-weight:700;color:#5b4cf0;margin-bottom:4px}.rfd-api-prd-body{font-size:11px;line-height:1.5;color:#4b5563;white-space:pre-wrap}.rfd-api-prd-input{margin-bottom:0;background:#fff}.rfd-update-row{display:flex;align-items:center;gap:10px;margin:8px 0 4px}.rfd-update-component{flex:none;border:1px solid #5b4cf0;background:#5b4cf0;color:#fff;font-size:11px;font-weight:700;border-radius:8px;padding:6px 12px;cursor:pointer}.rfd-update-component:hover:not(:disabled){background:#4c3fe0}.rfd-update-component:disabled{opacity:.5;cursor:default}.rfd-update-hint{font-size:10px;font-weight:400;color:#6b7280}.rfd-update-hint[data-tone=error]{color:#b91c1c}.rfd-update-hint[data-tone=ok]{color:#15803d}.rfd-card-sub{font-size:9px;font-weight:500;color:#9ca3af;text-transform:none}.rfd-chip-add{position:relative}.rfd-chip-menu{position:absolute;z-index:30;left:0;right:0;top:100%;margin-top:3px;max-height:168px;overflow-y:auto;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 8px 22px #1118271f}.rfd-chip-opt{padding:6px 10px;font-size:11px;color:#374151;cursor:pointer}.rfd-chip-opt:hover,.rfd-chip-opt.is-active{background:#f5f3ff;color:#5b4cf0}.rfd-chip-menu-empty{padding:6px 10px;font-size:10px;color:#9ca3af;font-style:italic}.rfd-reanalysis-required{border:1px solid #f59e0b;border-radius:8px;background:#fffbeb;color:#92400e;line-height:1.45;padding:9px 10px}.rfd-zoomable{cursor:zoom-in}.rfd-frame-preview.rfd-zoomable:hover,.rfd-comp-thumb.rfd-zoomable:hover{outline:2px solid #a78bfa;outline-offset:1px}.rfd-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:#111827d1;padding:32px;cursor:zoom-out}.rfd-lightbox-img{max-width:94vw;max-height:90vh;object-fit:contain;border-radius:10px;box-shadow:0 12px 40px #00000080;background:#fff}.rfd-lightbox-close{position:absolute;top:16px;right:20px;width:34px;height:34px;border-radius:50%;border:none;background:#ffffff26;color:#fff;font-size:22px;line-height:1;cursor:pointer}.rfd-lightbox-close:hover{background:#ffffff47}.rfd-section-row{display:flex;gap:10px;padding:7px 0;font-size:12px;border-top:1px solid #f3f4f6}.rfd-section-row:first-of-type{border-top:none}.rfd-section-name{color:#16a34a;font-weight:600;min-width:56px}.rfd-section-parts{color:#6b7280}.rfd-prims{font-size:12px;color:#4b5563}.rfd-input{width:100%;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;font-size:13px;font-family:inherit;color:#111827;margin-bottom:12px;resize:vertical}.rfd-input:focus{outline:none;border-color:#6d5efc}.rfd-input:disabled,.rfd-chip-input:disabled{background:#f9fafb;color:#9ca3af;cursor:default}.rfd-input[readonly]:not(:disabled){background:#f9fafb;color:#4b5563;cursor:default}.rfd-selected-component-title{color:#4338ca;font-size:12px;font-weight:700;line-height:1.35;margin:0 0 10px}.rfd-semantic-card{background:#fafaff;border-color:#e5e1ff}.rfd-semantic-card .rfd-input{margin-bottom:0}.rfd-semantic-trigger{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;border:1px solid #d8d2ff;border-radius:8px;padding:9px 10px;background:#fff;color:#111827;font:500 12px/1.3 inherit;cursor:pointer;text-align:left}.rfd-semantic-trigger:hover:not(:disabled){border-color:#b7abff}.rfd-semantic-trigger.is-open{border-color:#6d5efc;box-shadow:0 0 0 3px #ede9fe}.rfd-semantic-trigger:disabled{background:#f9fafb;color:#9ca3af;border-color:#e5e7eb;cursor:default}.rfd-semantic-trigger[data-tone=muted] .rfd-semantic-trigger-label{color:#9ca3af}.rfd-semantic-trigger[data-tone=warn] .rfd-semantic-trigger-label{color:#b45309}.rfd-semantic-trigger-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rfd-semantic-trigger-caret{flex:none;color:#6d5efc;font-size:10px}.rfd-semantic-trigger:disabled .rfd-semantic-trigger-caret{color:#c4c4c4}.rfd-semantic-trigger.is-open .rfd-semantic-trigger-caret{transform:rotate(180deg)}.rfd-semantic-menu{margin-top:8px;border:1px solid #e0daff;border-radius:10px;padding:10px;background:#fff;box-shadow:0 6px 20px #4c38ca1f}.rfd-semantic-menu-foot{margin-top:10px;padding-top:9px;border-top:1px solid #f1f0fb}.rfd-semantic-hint{margin-top:7px;color:#6b7280;font-size:11px;line-height:1.4}.rfd-semantic-bulk{border:0;background:transparent;color:#5b4cf0;padding:0;font:600 10px/1.3 inherit;cursor:pointer}.rfd-semantic-bulk:disabled{color:#9ca3af;cursor:default}.rfd-semantic-tabs{display:flex;gap:4px;padding:3px;margin-bottom:10px;border-radius:8px;background:#ede9fe}.rfd-semantic-tab{min-width:0;flex:1;border:0;border-radius:6px;padding:7px 8px;color:#6b7280;background:transparent;font:600 11px/1.2 inherit;cursor:pointer}.rfd-semantic-tab.is-active{color:#4338ca;background:#fff;box-shadow:0 1px 2px #4338ca1f}.rfd-semantic-tab:disabled{color:#9ca3af;cursor:default}.rfd-semantic-label{display:block;margin:0 0 5px;color:#4b5563;font-size:10px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.rfd-use-universal{width:100%;margin-top:8px;border:1px solid #d8d2ff;border-radius:7px;padding:7px 10px;color:#5145cd;background:#fff;font:600 11px/1.2 inherit;cursor:pointer}.rfd-use-universal:disabled{color:#9ca3af;border-color:#e5e7eb;background:#f9fafb;cursor:default}.rfd-library-search{width:100%;box-sizing:border-box;margin-bottom:8px;border:1px solid #dedaf8;border-radius:7px;padding:8px 9px;color:#111827;background:#fff;font:11px/1.3 inherit}.rfd-library-search:focus{outline:none;border-color:#6d5efc}.rfd-library-selection-status,.rfd-library-catalog-status{margin-bottom:9px;border-radius:7px;padding:7px 8px;color:#5b6473;background:#f4f3ff;font-size:10px;line-height:1.4}.rfd-library-selection-status.is-selected{color:#166534;background:#ecfdf3}.rfd-library-selection-status.is-conflict{color:#991b1b;background:#fef2f2}.rfd-library-selection-status.is-pending{color:#92400e;background:#fffbeb}.rfd-library-selection-status.is-warning{color:#b45309;background:#fff7ed}.rfd-library-recommendations{display:grid;gap:6px;margin-bottom:10px}.rfd-library-recommendation{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;align-items:center;width:100%;box-sizing:border-box;border:1px solid #ddd8ff;border-radius:8px;padding:8px;text-align:left;color:#312e81;background:#fff;cursor:pointer}.rfd-library-recommendation:disabled{color:#9ca3af;border-color:#e5e7eb;background:#f9fafb;cursor:default}.rfd-library-recommendation-name{overflow:hidden;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.rfd-library-recommendation-rank{color:#7c3aed;font-size:9px;font-weight:700}.rfd-library-recommendation-reason{grid-column:1 / -1;color:#6b7280;font-size:9px;line-height:1.35}.rfd-library-tree{display:grid;gap:6px;max-height:320px;overflow:auto;padding-right:2px}.rfd-library-category,.rfd-library-family{border:1px solid #e8e5fb;border-radius:7px;background:#fff}.rfd-library-category>summary,.rfd-library-family>summary{list-style:none;cursor:pointer;color:#4338ca;font-size:11px;font-weight:700}.rfd-library-category>summary{padding:8px}.rfd-library-family>summary{padding:7px 8px;color:#374151}.rfd-library-category>summary::-webkit-details-marker,.rfd-library-family>summary::-webkit-details-marker{display:none}.rfd-library-category-body{display:grid;gap:5px;padding:0 6px 6px}.rfd-library-family-summary{padding:0 8px 7px;color:#6b7280;font-size:9px;line-height:1.4}.rfd-library-family-link{color:#5b4cf0;text-decoration:none}.rfd-library-export{border-top:1px solid #f1f0fb;padding:7px 8px}.rfd-library-export-select{cursor:pointer;border-radius:6px}.rfd-library-export-select:hover{background:#f6f4ff}.rfd-library-export-select.is-selected{background:#ede9fe;box-shadow:inset 0 0 0 1px #b7abff}.rfd-library-export-select:focus-visible{outline:2px solid #6d5efc;outline-offset:-2px}.rfd-library-export-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.rfd-library-example{margin-top:8px;overflow:hidden;border:1px solid #ece9fb;border-radius:8px;background:#fff}.rfd-library-export-select.is-selected .rfd-library-example{border-color:#cfc6ff}.rfd-library-example-frame{display:block;width:100%;height:56px;border:0;background:#fff;transition:height .12s ease;pointer-events:none}.rfd-library-export-name{color:#111827;font-size:10px;font-weight:700}.rfd-library-support{border-radius:999px;padding:2px 6px;color:#166534;background:#dcfce7;font-size:8px;font-weight:700;text-transform:uppercase}.rfd-library-support.is-disabled{color:#6b7280;background:#f3f4f6}.rfd-library-profile-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.rfd-library-choice{border:1px solid #ddd8ff;border-radius:6px;padding:5px 6px;color:#5145cd;background:#fafaff;font:600 9px/1.2 inherit;cursor:pointer}.rfd-library-choice.is-selected{color:#fff;border-color:#6658e8;background:#6658e8}.rfd-library-choice:disabled{color:#9ca3af;border-color:#e5e7eb;background:#f9fafb;cursor:default}.rfd-library-empty{padding:10px;color:#6b7280;font-size:10px;text-align:center}.rfd-chip-input{width:100%;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:8px;padding:9px 12px;font-size:13px;font-family:inherit}.rfd-chip-input:focus{outline:none;border-color:#6d5efc}.rfd-chip-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.rfd-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #d8d2ff;border-radius:999px;padding:4px 10px;font-size:12px;color:#5b4cf0;background:#f5f3ff}.rfd-chip-x{border:none;background:#6d5efc;color:#fff;border-radius:50%;width:16px;height:16px;font-size:9px;line-height:16px;cursor:pointer;padding:0}.rfd-source-body{display:block;margin-top:10px}.rfd-det-stage{max-width:760px}.rfd-step-source{display:block}.rfd-col-list{min-width:0}.rfd-semantic-panel{display:block}.rfd-semantic-panel[hidden]{display:none}.rfd-chip-empty{font-size:11px;color:var(--muted)}.rfd-chip-option{display:block;width:100%;text-align:left;font:inherit;font-size:12px;padding:6px 10px;border:0;background:transparent;color:inherit;cursor:pointer}.rfd-chip-option:hover{background:var(--surface)}.rfd-recommendation{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 0;border-top:1px solid var(--border)}.rfd-recommendation:first-child{border-top:none}.rfd-recommendation-name{font-size:12px;font-weight:600}.rfd-prd-questions{display:block}.rfd-prd-question-why{font-size:11px;color:var(--muted);margin:2px 0 6px}.rfd-comp-unexposed{font-size:11px;color:var(--bad);margin-top:4px}.panel-note{border-left:3px solid var(--rule, #d3dae2);padding:.6rem 0 .6rem .9rem;margin-bottom:.9rem;display:flex;flex-direction:column;gap:.4rem}.panel-note-warn{border-left-color:#9a6412}.ds-fab{position:fixed;right:20px;bottom:20px;z-index:60;width:52px;height:52px;border-radius:50%;border:1px solid var(--border);background:var(--accent);color:#fff;font-size:22px;line-height:1;cursor:pointer;box-shadow:0 6px 20px #1118272e}.ds-fab:hover{filter:brightness(1.06)}.ds-fab.is-open{background:var(--fg);font-size:26px}.ds-panel{position:fixed;right:20px;bottom:84px;z-index:60;display:flex;flex-direction:column;width:min(420px,calc(100vw - 40px));height:min(620px,calc(100vh - 130px));background:var(--bg);border:1px solid var(--border);border-radius:12px;box-shadow:0 18px 48px #1118272e;overflow:hidden}.ds-head{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--surface)}.ds-title{display:flex;flex-direction:column;margin-right:auto;min-width:0}.ds-sub{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ds-head-actions{display:flex;gap:6px}.ds-icon{border:1px solid var(--border);background:var(--bg);border-radius:8px;width:30px;height:30px;font-size:14px;line-height:1;cursor:pointer}.ds-icon:hover{background:var(--accent-soft)}.ds-icon.is-active{background:var(--accent);border-color:var(--accent)}.ds-icon:disabled{opacity:.5;cursor:default}.ds-list{flex:1;overflow-y:auto;padding:12px 14px;display:flex;flex-direction:column;gap:12px}.ds-empty{color:var(--muted);font-size:13px}.ds-empty p{margin:6px 0 0}.ds-turn{display:flex;flex-direction:column;gap:6px;max-width:100%}.ds-turn-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.ds-turn.is-user .ds-turn-text{align-self:flex-end;background:var(--accent-soft);border-radius:10px 10px 2px;padding:8px 10px}.ds-turn.is-assistant .ds-turn-text{background:var(--surface);border:1px solid var(--border);border-radius:10px 10px 10px 2px;padding:8px 10px}.ds-turn-crops{display:flex;flex-wrap:wrap;gap:6px;align-self:flex-end}.ds-crop{max-width:120px;max-height:80px;border:1px solid var(--border);border-radius:6px;background:var(--bg)}.ds-crop.is-small{max-width:34px;max-height:24px}.ds-update{border:1px solid var(--accent);border-radius:10px;padding:10px;background:var(--bg)}.ds-update-head{display:flex;flex-direction:column;gap:2px;margin-bottom:8px}.ds-update-intent{font-size:12px;color:var(--muted)}.ds-update-actions{margin:0 0 10px;padding-left:16px;display:flex;flex-direction:column;gap:6px}.ds-update-actions li{font-size:12px}.ds-update-type{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.03em;color:var(--accent);margin-right:6px}.ds-update-actions code{font-size:11px;background:var(--surface);padding:1px 4px;border-radius:4px}.ds-update-fix{display:block;color:var(--muted);margin-top:2px}.ds-update-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ds-update-hint{font-size:11px;color:var(--muted)}.ds-composer{border-top:1px solid var(--border);padding:10px 14px 12px;background:var(--surface)}.ds-composer-row{display:flex;gap:8px;align-items:flex-end}.ds-input{flex:1;resize:none;font:inherit;padding:8px 10px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--fg)}.ds-input:focus{outline:2px solid var(--accent-soft);border-color:var(--accent)}.ds-pending{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.ds-pending-chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:3px 4px 3px 3px}.ds-pending-x{border:0;background:none;cursor:pointer;color:var(--muted);font-size:13px;line-height:1;padding:0 3px}.ds-draw-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;cursor:crosshair;background:transparent;touch-action:none;-webkit-user-select:none;user-select:none}.ds-marks-layer{cursor:auto;pointer-events:none;touch-action:auto}.ds-draw-img{visibility:hidden;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.ds-draw-boxes{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.ds-draw-box{position:absolute;border:2px solid var(--accent);background:#6d5efc1f;border-radius:3px;pointer-events:auto;cursor:move;touch-action:none}.ds-draw-grip{position:absolute;right:-6px;bottom:-6px;width:12px;height:12px;border:2px solid #fff;border-radius:3px;background:var(--accent);cursor:nwse-resize;box-shadow:0 1px 3px #1018284d}.ds-draw-x{position:absolute;top:-10px;right:-10px;width:20px;height:20px;border:0;border-radius:50%;background:var(--accent);color:#fff;font-size:13px;line-height:1;cursor:pointer;pointer-events:auto;box-shadow:0 1px 3px #1018284d}.ds-draw-tag{position:absolute;top:-9px;left:-2px;font-size:10px;font-weight:600;color:#fff;background:var(--accent);border-radius:4px;padding:1px 5px}.ds-draw-hint.is-error{background:#b91c1c}.ds-draw-hint{position:absolute;left:50%;bottom:12px;transform:translate(-50%);font-size:11px;color:#fff;background:#111827d1;padding:5px 10px;border-radius:999px;pointer-events:none}.run-band{border:1px solid var(--accent);border-radius:8px;padding:10px 12px;margin-bottom:16px;background:#6d5efc0f}.run-head{display:flex;align-items:center;gap:10px;font-size:13px}.run-percent{font-variant-numeric:tabular-nums;color:var(--muted)}.run-link{margin-left:auto;color:var(--accent);font-weight:600;text-decoration:none}.run-link:hover{text-decoration:underline}.run-bar{position:relative;overflow:hidden;height:6px;margin:8px 0;border-radius:999px;background:#6d5efc2e}.run-fill{height:100%;width:0;border-radius:999px;background:var(--accent);transition:width .4s ease}.run-fill.is-indeterminate{width:35%;animation:run-sweep 1.4s ease-in-out infinite}@keyframes run-sweep{0%{transform:translate(-100%)}to{transform:translate(286%)}}@media(prefers-reduced-motion:reduce){.run-fill.is-indeterminate{animation:none;width:100%;opacity:.45}}.run-message{font-size:13px}.run-foot{font-size:12px;color:var(--muted);margin-top:2px}
