/* 展示版工作台与本体助手的补充样式（/show/app/、/show/agent/，2026-11-03）。只在 html.pkn-show 下生效。 */
html.pkn-show .side .brand .mark { background: linear-gradient(135deg, #1f4e8c, #2f7d6b); color: #fff; letter-spacing: .04em; }
html.pkn-show #nav a .area-icon { font-variant-numeric: tabular-nums; }
html.pkn-show #nav a[data-area="platform"] .area-icon { background: #eef4ff; color: #1f4e8c; }
html.pkn-show .top-links { display: inline-flex; align-items: center; gap: 10px; }
html.pkn-show .show-reset { font-size: 12px; padding: 4px 10px; border: 1px solid #d6dbe3; border-radius: 6px; background: #fff; color: #5b6472; cursor: pointer; }
html.pkn-show .show-reset:hover { border-color: #b4462f; color: #b4462f; }
html.pkn-show .show-home-link { font-weight: 600; }
html.pkn-show .show-agent-frame { display: flex; flex-direction: column; height: calc(100vh - 150px); min-height: 560px; border: 1px solid #e3e7ee; border-radius: 10px; overflow: hidden; background: #fff; }
html.pkn-show .show-agent-bar { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid #edf0f4; background: #fafbfd; }
html.pkn-show .show-agent-bar .primary-link { margin-left: auto; font-size: 13px; }
html.pkn-show .show-agent-frame iframe { flex: 1; width: 100%; border: 0; }
/* 本体助手页 */
html.pkn-show .brand .ed { margin-left: 6px; font-size: 11px; padding: 1px 6px; border-radius: 4px; background: #eef4ff; color: #1f4e8c; font-weight: 600; }
html.pkn-show .native h3.sec { margin: 18px 0 8px; font-size: 14px; color: #1f2a3a; }
html.pkn-show .native h3.sec:first-child { margin-top: 4px; }
html.pkn-show #accountBar { display: none !important; }
html.pkn-show .show-tech-frame { height: calc(100vh - 140px); }
/* 对象关系图在投屏和本体助手右侧画布里要看得清（11-03 用户反馈「右边数据看不清」）：
   展示副本里的对象都还是候选，原样式是浅灰虚线框 + 灰字；选中一个时其余压到 38%。展示版里提高对比、放大字号、减轻淡化。 */
html.pkn-show .om-n.om-pending .om-card { stroke: var(--om-c); stroke-opacity: .65; stroke-dasharray: none; fill: #fff; }
html.pkn-show .om-n.om-pending .om-cbar { fill: var(--om-c); fill-opacity: .9; }
html.pkn-show .om-t { font-size: 14.5px; fill: #172033; }
html.pkn-show .om-c, html.pkn-show .om-tag { fill: #3f4a5c; }
html.pkn-show .om-sec-t { fill: #0f172a; }
html.pkn-show .om-svg.om-focus .om-n:not(.on):not(.om-more) { opacity: .8; }
html.pkn-show .om-svg.om-focus .om-eg:not(.on) { opacity: .4; }
html.pkn-show .om-svg.om-only-pending .om-n.om-np:not(.om-ghost):not(.om-more) { opacity: .5; }
html.pkn-show .om-n.sel .om-card { stroke-width: 2.4; }
/* 本体助手：展示版右侧画布更宽，左侧对话列表收窄 */
html.pkn-show { --side-w: 220px; }
html.pkn-show .pm-nominal .pm-box { fill-opacity: .12; stroke-dasharray: none; }
html.pkn-show .pm-nominal .pm-bar { fill-opacity: .8; }

/* ---- 嵌进本体助手画布（html.pkn-embed）：只留筛选条和图，页头说明、初稿提示、生成按钮、长导语一律隐藏（11-03）。
   页面脚本不动；说明和按钮在工作台里（非嵌入）照常显示。 */
html.pkn-show.pkn-embed body { background: #fff; overflow: hidden; }
html.pkn-show.pkn-embed main, html.pkn-show.pkn-embed #page { padding: 0 !important; margin: 0 !important; max-width: none !important; }
html.pkn-show.pkn-embed #page { height: 100vh; overflow: auto; }
/* 对象关系图：筛选条 + 图 */
html.pkn-show.pkn-embed .om-head, html.pkn-show.pkn-embed .om-draft, html.pkn-show.pkn-embed .om-scrollhint,
html.pkn-show.pkn-embed .om-foot, html.pkn-show.pkn-embed details.om-textlist { display: none !important; }
html.pkn-show.pkn-embed .om-root { height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 8px 10px 0; box-sizing: border-box; }
html.pkn-show.pkn-embed .om-bar { flex: none; flex-wrap: wrap; }
html.pkn-show.pkn-embed .om-stage { flex: 1; min-height: 0; align-items: stretch; }
html.pkn-show.pkn-embed .om-maincol { min-height: 0; height: 100%; }
html.pkn-show.pkn-embed .om-canvas { flex: 1; min-height: 0; overflow: auto; }
html.pkn-show.pkn-embed .om-rcwrap { flex: none; max-height: 92px; overflow: auto; }
/* 业务流程图：筛选（总览 / 原尺寸）+ 图 */
html.pkn-show.pkn-embed .pm-head, html.pkn-show.pkn-embed .pm-editbar, html.pkn-show.pkn-embed .pm-ordernote,
html.pkn-show.pkn-embed .pm-viewnote, html.pkn-show.pkn-embed .pm-legend { display: none !important; }
html.pkn-show.pkn-embed .pm-root { padding: 8px 10px 56px; gap: 8px; }
/* 本体全景：去掉统计行，只留切换、搜索和图 */
html.pkn-show.pkn-embed .pano-stats { display: none !important; }
html.pkn-show.pkn-embed .pano-top { padding-top: 6px; }
/* 部署分析：每节只留标题和数据，去掉导语 */
html.pkn-show.pkn-embed .ad-section > h2 + p.subtle { display: none; }
html.pkn-show.pkn-embed .ad-xp { display: none; }
/* 缩放小按钮 */
html.pkn-show.pkn-embed .show-zoom { position: fixed; right: 14px; bottom: 14px; z-index: 40; display: flex; gap: 1px; padding: 3px; background: rgba(255,255,255,.96); border: 1px solid #cfd6e2; border-radius: 10px; box-shadow: 0 4px 16px rgba(20,30,50,.18); }
html.pkn-show.pkn-embed .show-zoom[hidden] { display: none; }
html.pkn-show.pkn-embed .show-zoom button { border: 0; background: transparent; padding: 4px 10px; font-size: 13px; color: #1f2a3a; border-radius: 7px; cursor: pointer; }
html.pkn-show.pkn-embed .show-zoom button:hover { background: #eef2f8; }
