/* 桌面 1651×780 的已采样表格几何；报告正文为真实本地产物，内容差异单列。 */
/* 第七轮：Preview Report 是带边框的小按钮（原版现场 2026-11-11：第一张卡 140.44×24 白边透明底，第二张卡 138.44×24 白底灰边）。 */
.pg-card .pg-preview{display:inline-flex;align-items:center;gap:8px;margin-right:auto;height:24px;padding:0 8px;border:1px solid #fff;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:14px;line-height:22px;cursor:pointer}
.pg-card .pg-preview svg{flex:none}
.pg-card .pg-preview:hover{background:#ffffff26}
.pg-card.reviews .pg-preview{padding:0 7px;border-color:#d6d6e0;background:#fff;color:#000000e0;box-shadow:0 2px 0 #00000005}
.pg-card.reviews .pg-preview:hover{border-color:#dbc2fb;color:#61278d;background:#fff}
.pg-results{max-width:none;margin:40px 0 0;color:#000000e0}
.pg-results-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.pg-results-heading h2,.pg-results-error h2{margin:0;font-size:20px;line-height:28px;font-weight:600}
.pg-archive-link{color:#00000073;font-size:12px}
.pg-archive-link:hover{color:#61278d;text-decoration:underline}
.pg-table-wrap{overflow:hidden;border-radius:12px 12px 0 0;background:#fff}
.pg-results-table{width:100%;border-spacing:0;table-layout:fixed;text-align:left;font-size:14px;line-height:22px}
.pg-col-name{width:39.4416%}.pg-col-type{width:17.6651%}.pg-col-date{width:21.5294%}.pg-col-actions{width:21.3639%}
.pg-results-table th,.pg-results-table td{padding:16px;border:0;border-bottom:1px solid #f0f0f0;vertical-align:middle;overflow-wrap:anywhere}
.pg-results-table th{height:55px;background:#fafafa;font-weight:600;position:relative}
.pg-results-table th+th::before{content:"";position:absolute;left:0;top:50%;height:22px;border-left:1px solid #f0f0f0;transform:translateY(-50%)}
.pg-results-table td{height:65px}
.pg-results-table tbody tr:hover{background:#fafafa}
.pg-result-name{color:#000000e0}
.pg-result-name:hover{text-decoration:underline}
.pg-type{display:inline-block;border:1px solid transparent;border-radius:6px;padding:0 7px;background:#f5f5f5;color:#000000e0;font-size:12px;line-height:20px;white-space:nowrap}
.pg-created{color:#00000073;white-space:nowrap}
.pg-row-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}
.pg-row-actions button,.pg-row-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 16px;border:0;border-radius:9px;background:transparent;color:#61278d;font:inherit;font-size:14px;line-height:22px;cursor:pointer}
.pg-row-actions button:hover:not(:disabled),.pg-row-actions a:hover{background:var(--foji-lav-bg)}
.pg-row-actions button:disabled{color:#00000040;opacity:1;cursor:not-allowed}
.pg-demo-label{display:block;margin-top:2px;color:#9c6500;font-size:11px;line-height:16px}
.pg-workflow-note{margin:12px 0 0;color:#00000073;font-size:12px;line-height:20px}
.pg-results-empty{padding:24px;text-align:center;color:#00000073}
.pg-results-empty span{display:block;margin-top:8px;font-size:12px}
.pg-undo,.pg-report-archived{padding:10px 16px;margin:0 0 12px;border:1px solid #f5d68b;border-radius:8px;background:#fffbeb;font-size:13px}
.pg-undo button,.pg-undo a{margin-left:12px;border:0;background:none;color:#4f2471;font:inherit;cursor:pointer;text-decoration:underline}
.pg-results-error p{margin:16px 0}
.pg-report{min-height:100vh;padding:24px;background:var(--layout)}
.pg-report-breadcrumb{display:flex;align-items:center;gap:10px;margin-bottom:20px;color:#00000073;font-size:14px;line-height:22px}
.pg-report-breadcrumb>a{color:#61278d}
.pg-report-heading{display:flex;align-items:flex-start;gap:24px;justify-content:space-between}
.pg-report-heading h1{margin:0;font-size:24px;line-height:32px;font-weight:600;overflow-wrap:anywhere}
.pg-report-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0;color:#00000073;font-size:12px}
.pg-source-label{padding:2px 8px;border-radius:6px;background:#fff5dc;color:#8b650a}
.pg-report-content{padding:24px;border:1px solid #05056914;border-radius:12px;background:#fff;line-height:1.7;overflow-wrap:anywhere}
.pg-report-content h2{font-size:20px;margin:20px 0 8px}.pg-report-content h3{font-size:16px;margin:16px 0 8px}
.pg-report-source{margin-top:24px;padding:20px 24px;border:1px solid #05056914;border-radius:12px;background:#fff;color:#000000a6;font-size:13px}
.pg-report-source h2{font-size:16px;line-height:24px;margin:0 0 12px}
.pg-report-source dl{display:grid;grid-template-columns:130px 1fr;gap:8px;margin:0 0 16px}.pg-report-source dd{margin:0;overflow-wrap:anywhere}
.pg-report-source a{color:#61278d}.pg-report-source p{font-size:12px;color:#00000073;margin-bottom:0}
.modal:has([data-playground-preview]){width:640px;max-width:calc(100vw - 48px)}
.pg-sample-badge{display:inline-block;padding:2px 8px;border-radius:6px;background:#fff4d4;color:#946200;font-size:12px;font-weight:600}
.pg-sample>p{font-size:12px;line-height:20px;color:#00000073;margin:12px 0 20px}
.pg-sample-slide{min-height:230px;padding:20px;border:1px solid #e9e3ed;border-radius:10px;background:#faf8fc}
.pg-sample-slide h3{margin:0 0 16px;font-size:18px;line-height:26px}
.pg-sample table{width:100%;border-collapse:collapse;background:#fff;font-size:13px;line-height:20px}.pg-sample th,.pg-sample td{border:1px solid #e9e3ed;padding:10px;text-align:left;vertical-align:top}.pg-sample th:first-child{width:30%}
.pg-sample blockquote{margin:14px 0 0;color:#00000073;font-size:12px;line-height:20px}
.pg-sample-controls{display:flex;align-items:center;gap:10px;margin-top:16px}.pg-sample .pg-start{background:var(--foji-violet);color:#fff}
.pg-workflow-note a,.pg-dataset-reports a{color:#61278d;text-decoration:underline}
.pg-upload-note{margin:16px 0;padding:12px;border-radius:8px;background:#f7f0fa;font-size:13px;line-height:22px}
[data-playground-upload] details{margin-top:16px;font-size:13px;line-height:22px}
.pg-dataset-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.pg-dataset-card{display:block;padding:20px;border:1px solid #05056914;border-radius:12px;background:#fff}.pg-dataset-card:hover{border-color:#ccb6e4}.pg-dataset-card h2{font-size:18px;line-height:26px;margin:0 0 12px}.pg-dataset-card p{font-size:13px;margin:0 0 8px}.pg-dataset-card small{color:#00000073}
.pg-dataset-actions{display:flex;gap:8px;flex-shrink:0}
.pg-product-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0 16px}.pg-product-tabs a{padding:7px 14px;border:1px solid #05056914;border-radius:8px;background:#fff;font-size:13px}.pg-product-tabs a.active{border-color:#b393d4;background:var(--foji-lav-bg);color:#522475}
.pg-dataset-evidence{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-size:12px;line-height:20px;color:#00000073}.pg-dataset-evidence b{color:#000000e0}.pg-dataset-evidence code{font-size:11px;overflow-wrap:anywhere}
.pg-review-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:22px}.pg-review-table th,.pg-review-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #f0f0f0;vertical-align:top;overflow-wrap:anywhere}.pg-review-table th{background:#fafafa;font-weight:600}.pg-review-table th:first-child{width:90px}.pg-review-table th:nth-child(3){width:80px}.pg-review-table th:last-child{width:180px}.pg-review-table td div{white-space:pre-wrap}
.pg-dataset-reports{margin-top:24px}.pg-dataset-reports h2{font-size:18px;line-height:26px}.pg-dataset-reports p{font-size:13px;line-height:22px}

/* 三组报告页：依据 Suggestions/Competitive 原版截图分区；数据和比例采用本地可追溯规则。 */
.pg-review-report{min-height:100vh;background:var(--layout)}
.pg-review-head{padding:20px 24px 0;background:#fff;border-bottom:1px solid #05056914}
.pg-review-head .pg-report-breadcrumb{margin-bottom:20px;height:22px;overflow:hidden;white-space:nowrap}
.pg-review-head .pg-report-breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis;color:#000000e0}
.pg-review-head .pg-report-heading{align-items:center;height:32px}
.pg-review-head .pg-report-heading h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pg-review-actions{display:flex;align-items:center;gap:12px;flex:none}.pg-review-actions .btn{height:40px;padding:8px 16px;font-size:14px;line-height:22px;gap:8px;border-radius:12px}.pg-review-actions .pg-review-delete{width:40px;padding:8px}
.pg-review-summary{display:flex;align-items:center;gap:20px;height:64px;margin-top:20px}
.pg-review-summary dl{flex:none;min-width:180px;margin:0;display:flex;flex-direction:column;gap:4px}
.pg-review-summary dl>div{display:flex;align-items:baseline;gap:10px;font-size:14px;line-height:20px}.pg-review-summary dt{color:#00000073}.pg-review-summary dd{margin:0;font-weight:600;color:#000000e0}
.pg-review-summary dl .pg-cited-summary{font-size:11px;line-height:16px}
.pg-product-chips{display:flex;gap:16px;min-width:0}.pg-product-chip{position:relative;display:flex;align-items:center;gap:10px;width:144px;height:64px;padding:12px;border:1px solid #05056914;border-radius:6px;background:#fff;color:#00000073}.pg-product-chip b{font-size:12px;line-height:20px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#000000e0}.pg-product-chip>span{position:absolute;left:0;top:0;min-width:16px;height:16px;padding:0 4px;border-radius:5px 0 5px 0;background:#db6b08;color:#fff;font-size:12px;line-height:16px}
.pg-report-tabs{display:flex;align-items:stretch;gap:32px;height:46px;margin-top:16px}.pg-report-tabs a{display:flex;align-items:center;border-bottom:2px solid transparent;font-size:14px;line-height:22px;color:#000000e0}.pg-report-tabs a.active{border-color:var(--foji-violet-soft);color:#682d95}
.pg-review-body{padding:24px}
.pg-report-products{display:flex;align-items:stretch;gap:2px;height:40px}.pg-report-products a{display:flex;align-items:center;min-width:200px;max-width:250px;padding:10px 16px;border:1px solid #05056908;border-bottom:0;border-radius:12px 12px 0 0;background:#00000005;font-size:14px;line-height:20px;color:#000000e0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pg-report-products a.active{background:#fff;color:#682d95}
.pg-suggestions-panel{padding:24px;background:#fff}
.pg-review-section{margin:0 0 48px}.pg-review-section:last-child{margin-bottom:0}.pg-review-section h2{margin:0 0 16px;font-size:16px;line-height:32px;font-weight:600;color:#000000e0}
.pg-analysis-table-wrap{border:1px solid #05056914;border-radius:12px 12px 0 0;overflow:hidden;background:#fff}
.pg-analysis-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px;line-height:22px;color:#000000a6}
.pg-analysis-table th,.pg-analysis-table td{padding:12px 8px;border-right:1px solid #05056914;border-bottom:1px solid #05056914;vertical-align:middle;text-align:left;overflow-wrap:anywhere}
.pg-analysis-table tr:last-child>*{border-bottom:0}.pg-analysis-table tr>*:last-child{border-right:0}
.pg-analysis-table thead th{font-weight:600;background:#fafafa;color:#000000e0}.pg-analysis-table tbody th{font-weight:600;color:#000000e0}
.pg-suggestions-table th:first-child{width:26%}.pg-finding-evidence{display:block;margin-top:6px;font-size:11px;line-height:18px;color:#00000073}
.pg-view-more{color:#61278d;white-space:nowrap;font-size:12px;text-decoration:none}.pg-view-more:hover{text-decoration:underline}
.pg-no-findings{color:#00000073;text-align:center!important;padding:24px!important}
.pg-breakdown-section,.pg-competitive-section{margin-bottom:24px}.pg-breakdown-section h2,.pg-competitive-section h2{font-size:20px;line-height:28px}
.pg-breakdown-table th:first-child{width:24%}.pg-breakdown-table th:nth-child(2){width:36%}.pg-breakdown-table th:last-child{width:40%}
.pg-percentage-cell{display:flex;align-items:center;gap:16px}.pg-percent-bar{position:relative;display:block;flex:1;min-width:90px;max-width:220px;height:20px;background:#f5f5f5;border-radius:6px;overflow:hidden;color:#000000e0;font-size:12px;line-height:20px}.pg-percent-bar>i{position:absolute;inset:0 auto 0 0;background:#cffb9f;border-radius:6px}.pg-percent-bar>span{position:relative;display:block;text-align:right;padding:0 5px}
.pg-formula-note{margin:0 0 20px;color:#00000073;font-size:12px;line-height:20px}
.pg-competitive-table th:first-child{width:220px}.pg-compare-cell{display:flex;align-items:center;justify-content:space-between;gap:12px}.pg-compare-cell>span{min-width:0;overflow-wrap:anywhere}.pg-compare-cell>a{display:block;flex:0 1 120px;min-width:70px}.pg-compare-cell .pg-percent-bar{min-width:70px}
.pg-rating{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#000000e0}.pg-rating-stars{position:relative;display:inline-block;color:#ededed;font-family:Arial,sans-serif;font-size:23px;line-height:26px;letter-spacing:0}.pg-rating-stars>i{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:#f7b600;font:inherit;font-style:normal;letter-spacing:inherit}
.pg-structured-source{display:flex;flex-wrap:wrap;gap:10px 16px;padding:20px 0;color:#00000073;font-size:12px;line-height:20px}.pg-structured-source a{color:#61278d}.pg-structured-source p{width:100%;margin:0}
.pg-evidence-summary{font-size:13px;line-height:22px;color:#00000073}.pg-evidence-list{display:flex;flex-direction:column;gap:16px;margin-top:24px}
.pg-review-card{padding:20px 24px;background:#fff;border:1px solid #05056914;border-radius:12px}.pg-review-card>header{display:flex;align-items:center;gap:12px;color:#00000073;font-size:12px;line-height:20px}.pg-review-card>header b{color:#000000e0}.pg-product-number{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:5px;background:#db6b08;color:#fff}.pg-review-card h2{margin:16px 0 10px;font-size:16px;line-height:24px}.pg-review-excerpt,.pg-review-expand>div{white-space:pre-wrap;font-size:14px;line-height:24px;overflow-wrap:anywhere}.pg-review-expand summary{color:#61278d;cursor:pointer;list-style:none;font-size:13px;line-height:22px;margin-top:10px}.pg-collapse-label{display:none}.pg-review-expand[open] .pg-expand-label{display:none}.pg-review-expand[open] .pg-collapse-label{display:inline}.pg-review-card:has(.pg-review-expand[open]) .pg-review-excerpt{display:none}.pg-review-expand[open]>div{margin-top:10px}.pg-review-card footer{margin-top:14px;font-size:11px;line-height:18px;color:#00000073}
.pg-evidence-pagination{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}

/* 第九轮预览弹层（Claude 第九轮接管段）开始：Preview Report 弹层按原版现场的几何（2026-11-11，work/atria/claude-round9/reference）。
   外壳的通用弹窗只在装着预览内容时换成这套版式：640 宽、离顶 100px、遮罩 45% 黑、标题 16/24、右上角 32px 关闭、右下角 Start。 */
.modal-overlay:has([data-playground-preview]){align-items:flex-start;padding:100px 24px 24px;background:#00000073;-webkit-backdrop-filter:none;backdrop-filter:none}
.modal-overlay:has([data-playground-preview]) .modal{position:relative;box-sizing:border-box;width:640px;max-height:none;overflow:hidden;padding:20px 24px;border-radius:12px;background:#fff;box-shadow:0 6px 16px 0 #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d}
.modal-overlay:has([data-playground-preview]) .modal-heading{display:block;margin:0 0 8px;padding:0}
.modal-overlay:has([data-playground-preview]) .modal-heading h2{margin:0;font-size:16px;line-height:24px;font-weight:600;color:#000000e0}
.modal-overlay:has([data-playground-preview]) .modal-heading>.icon-btn{position:absolute;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:none;color:#00000073}
.modal-overlay:has([data-playground-preview]) .modal-heading>.icon-btn:hover{background:#0000000f;color:#000000e0}
.modal-overlay:has([data-playground-preview]) .modal-heading>.icon-btn svg{width:16px;height:16px}
.modal-overlay:has([data-playground-preview]) .modal-body{padding:0}
.modal-overlay:has([data-playground-preview]) .modal-footer,.modal-overlay:has([data-playground-preview]) .modal-error{display:none}
.pg-preview{padding-top:12px}
.pg-preview-label{display:block;font-size:16px;line-height:24px;color:#000000e0}
.pg-preview-stage{position:relative;height:399.59px;margin-top:16px;overflow:hidden;border-radius:12px;background:#001529}
.pg-preview-slide{position:absolute;left:50%;top:24px;box-sizing:border-box;width:456px;max-height:330px;overflow:hidden;padding:16px 18px;border-radius:8px;background:#fff;transform:translateX(-50%)}
.pg-preview-slide>p{margin:8px 0 10px;font-size:12px;line-height:18px;color:#00000073}
.pg-preview-slide h3{margin:0 0 8px;font-size:15px;line-height:22px}
.pg-preview-slide table{width:100%;border-collapse:collapse;font-size:12px;line-height:18px}
.pg-preview-slide th,.pg-preview-slide td{padding:6px 8px;border:1px solid #e9e3ed;text-align:left;vertical-align:top}
.pg-preview-slide th{background:#faf8fc;font-weight:600}
.pg-preview-slide blockquote{margin:10px 0 0;font-size:12px;line-height:18px;color:#00000073}
.pg-preview-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;height:3px;margin:0;padding:0;list-style:none}
.pg-preview-dots li{width:16px;height:3px;margin:0 4px}
.pg-preview-dots li.active{width:24px}
.pg-preview-dots button{display:block;width:100%;height:3px;padding:0;border:0;border-radius:3px;background:#fff;opacity:.2;font-size:0;cursor:pointer}
.pg-preview-dots li.active button{opacity:1}
.pg-preview-foot{display:flex;justify-content:flex-end;margin-top:24px}
.pg-preview-start{height:32px;padding:0 15px;border:1px solid var(--foji-violet);border-radius:9px;background:var(--foji-violet);box-shadow:0 2px 0 color-mix(in srgb,var(--foji-violet-soft) 20%,transparent);font-size:14px;line-height:22px;font-weight:400;color:#fff;cursor:pointer}
.pg-preview-start:disabled{opacity:.5;cursor:not-allowed}
/* —— 结果报告页（评价分析）：按原版现场的几何（2026-11-11）。Imported Reviews / Unique cited rows 是本地如实的叫法；引用行数挪到摘要行右端，
   每条结论的“cited row(s) · View More”并到同一行右端，表格行高因此和原版同为 47px。 —— */
.pg-review-head{padding-top:16px}
.pg-review-head .pg-report-breadcrumb{gap:8px;margin-bottom:24px}
.pg-review-head .pg-report-breadcrumb>a{color:#00000073}
.pg-review-head .pg-report-breadcrumb>a:hover{color:#000000e0}
.pg-report-tabs a.active,.pg-report-products a.active{color:#61278d}
/* 两排标签的文字原版靠上内边距定位（12px / 8px），不是在盒子里居中：居中会低 1px / 0.5px。 */
.pg-report-tabs a{align-items:flex-start;padding-top:12px}
.pg-report-products a{align-items:flex-start;padding:8px 16px;border-color:#ebebf3;line-height:22px}
/* 原版标签栏自己还有一条 1px 的底线，紧贴在页头底边之上（两条线叠成 2px）。 */
.pg-review-head{position:relative}
.pg-review-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:#05056914;pointer-events:none}
.pg-review-actions .btn{padding:0 15px;font-size:16px;line-height:25.1429px}
.pg-review-actions .btn svg{width:16px;height:16px}
.pg-review-actions .pg-review-delete{padding:0}
.pg-review-summary{position:relative;gap:40px}
.pg-review-summary dl{min-width:158.73px;gap:8px}
.pg-review-summary dl>div{align-items:center;gap:8px;height:24px;font-size:14px;line-height:22px}
.pg-review-summary dd{font-size:16px;line-height:24px}
.pg-review-summary dl .pg-cited-summary{position:absolute;top:50%;right:0;height:auto;font-size:12px;line-height:20px;transform:translateY(-50%)}
.pg-review-summary dl .pg-cited-summary dd{font-size:12px;line-height:20px}
.pg-product-chip{gap:8px;padding:8px}
.pg-product-chip>span{min-width:16px;padding:0;border-radius:0 0 12px;background:#d9660a;line-height:16px;text-align:center}
.pg-product-chip>svg{flex:none;width:20px;height:20px}
.pg-review-section h2{display:flex;align-items:center;gap:8px;height:32px;line-height:24px}
.pg-section-icon{box-sizing:border-box;display:flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #e3d4fc;border-radius:12px;background:var(--foji-lav-bg);color:var(--foji-violet-soft)}
.pg-analysis-table-wrap{border-bottom:0}
.pg-analysis-table{border-collapse:separate;border-spacing:0;color:#000000e0}
.pg-analysis-table tr:last-child>*{border-bottom:1px solid #05056914}
.pg-suggestions-table th:first-child{width:320px}
.pg-suggestions-table td{position:relative;padding-right:176px}
.pg-suggestions-table .pg-finding-evidence{position:absolute;top:50%;right:8px;margin:0;white-space:nowrap;transform:translateY(-50%)}
.pg-suggestions-table .pg-no-findings{padding-right:8px}
/* 第九轮预览弹层（Claude 第九轮接管段）结束 */
