/* 本原型新增的样式（base.css 是定稿原型的逐段复制）。凡是从别处搬来的段落都注明出处：
   会议原型 ../../会议/原型/proto.css（控制带、会议卡头条与列表、今日概览、状态说明）、
   定稿原型 ../../../prototypes/2026-10-14-个人工作台V1定稿原型/app.css（顶栏）、
   评审改版 ../../../prototypes/2026-10-14-个人工作台样板间原型-评审改版/app.css（格子）、
   编辑桌面重做定稿 ../../../prototypes/2026-10-21-编辑桌面重做/index.html（岛、移走圆钮、改尺寸的弧、尺寸牌、「添加模块」凹槽、点阵画布）、
   现有实现 ../../../../apps/web/src/features/desk/card.css 与 modules.css（四档网格、「添加到桌面」1120 宽）。
   卡片尺寸照 card-sizes.md（白晨 10-21：同档等大，行高 292）：网格的列、列距、行高由 app.js 的 geo() 按窗口宽算好写在网格上，这里不写最低高度。
   一、控制带；二、顶栏与岛；三、四档网格与编辑态；四、各模块卡身；五、换内容；六、添加到桌面；七、状态说明；八、嵌入；九、窄屏。 */

:root { --rb-h: 0px; --hdr-h: 60px; --rv-bg: #1E2126; --rv-ink: #E4E6EA; --rv-ink-2: #B9BDC4; --rv-ink-3: #9CA1AA; --rv-hl: #FFD27A;
  --island: #1B1A18; --island-ink: #F6F4EF; --island-ink-2: rgba(246, 244, 239, .56); }

/* ============ 一、评审控制带（会议原型 proto.css 一节，去掉时间滑块） ============ */
.rv-bar { position: relative; z-index: 30; background: var(--rv-bg); color: var(--rv-ink); }
.rv-in { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; max-width: 1440px; margin: 0 auto; padding: 10px 32px; }
.rv-title { font-size: 15px; color: #FFFFFF; white-space: nowrap; }
.rv-tasks { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--rv-ink); font: 600 13px/1 var(--font-sans); white-space: nowrap; cursor: pointer; text-decoration: none; }
.rv-b b { color: var(--rv-hl); font-weight: 700; }
.rv-b:hover { background: rgba(255, 255, 255, .14); }
.rv-b.on { background: var(--rv-hl); color: #1E2126; }
.rv-b.on b { color: #1E2126; }
.rv-b:focus-visible, .rv-sel:focus-visible, .rv-ck input:focus-visible, .rv-mk:focus-visible { outline: 2px solid var(--rv-hl); outline-offset: 2px; }
.rv-sel { min-height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: var(--rv-ink); font: 500 13px var(--font-sans); }
.rv-sel option { color: #1F1E1B; }
.rv-more { position: relative; z-index: 2; background: #262A30; color: var(--rv-ink); }
.rv-more-in { display: flex; flex-direction: column; gap: 8px; max-width: 1440px; margin: 0 auto; padding: 10px 32px 12px; }
.rv-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-mk { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 9px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--rv-ink-2); font: 500 12px/1 var(--font-sans); cursor: pointer; white-space: nowrap; }
.rv-mk b { font: 600 12px/1 var(--font-mono); color: var(--rv-hl); }
.rv-mk:hover { background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.rv-mk.on { background: rgba(255, 210, 122, .2); color: #FFFFFF; box-shadow: inset 0 0 0 1px var(--rv-hl); }
.rv-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--rv-ink-2); }
.rv-ck { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; }
.rv-ck input { width: 16px; height: 16px; margin: 0; accent-color: var(--rv-hl); }
.rv-lab { display: inline-flex; align-items: center; gap: 8px; }
.rv-hint { margin: 0; font-size: 13px; line-height: 1.6; color: var(--rv-hl); }
.rv-hint b { font-family: var(--font-mono); }
.rv-note.wrap { height: auto; min-height: 22px; padding: 4px 8px; line-height: 1.5; white-space: normal; }

/* ============ 二、顶栏（定稿 app.css:64-84 逐段复制；编辑态那句说明是能力清单 03 P-34） ============ */
#top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .55); border-bottom: 1px solid rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(20px) saturate(1.1); backdrop-filter: blur(20px) saturate(1.1); }
.top-in { display: flex; align-items: center; gap: 16px; height: 60px; max-width: 1440px; margin: 0 auto; padding: 0 22px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; font-weight: 700; font-size: 16px; }
.logo { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: var(--on-accent); }
.logo .ico { width: 15px; height: 15px; }
.clock { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 30px; padding: 0 10px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .6); color: var(--ink-2); }
.clock b { font-family: var(--font-num); font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.ask { position: relative; display: flex; align-items: center; flex: 1 1 auto; max-width: 560px; min-width: 0; height: 40px; margin: 0 auto; padding: 0 6px 0 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .7); box-shadow: var(--shadow-inset); }
.ask-i { display: inline-flex; color: var(--ink-3); }
.ask input { flex: 1; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: none; outline: none; }
.top-r { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
.tbtn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tbtn:hover { background: rgba(255, 255, 255, .55); }
.tbtn-ic { width: 34px; padding: 0; justify-content: center; }
.av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); color: var(--ink); font-size: 12px; font-weight: 600; }
.show-sm { display: none !important; }
/* 岛（编辑桌面重做定稿）：编辑态正中的输入胶囊变成墨色的岛；左边一句状态（换的时候上下滑），右边「＋」「撤销」「取消」「完成」，
   「撤销」「取消」有改动才长出来；收尾时按钮隐去，岛停一句「✓ 已保存 · N 处改动」或「已还原，桌面没动」再变回胶囊 */
.isl-wrap { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.isl { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; height: 44px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--island); color: var(--island-ink); white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 12px 30px -10px rgba(20, 16, 10, .45); animation: islIn .5s cubic-bezier(.32, .72, 0, 1); }
.isl.is-bye { padding-right: 18px; }
@keyframes islIn { from { scale: .92; opacity: .4; } }
.isl-ic { display: grid; place-items: center; flex: none; color: var(--island-ink-2); }
.isl-ic .ico { width: 16px; height: 16px; }
.isl-msg { display: inline-flex; align-items: baseline; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; animation: islMsg .38s cubic-bezier(.32, .72, 0, 1); }
@keyframes islMsg { from { opacity: 0; translate: 0 8px; filter: blur(3px); } }
.isl-msg b { font-size: 13.5px; font-weight: 600; letter-spacing: .01em; }
.isl-msg small { font-size: 12.5px; color: var(--island-ink-2); }
.isl-ok { display: inline-grid; align-self: center; color: var(--done-dot); }
.isl-ok .ico { width: 15px; height: 15px; }
.isl-r { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.ib { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; min-width: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--island-ink-2); font-size: 13px; font-weight: 500; cursor: pointer; }
.ib:hover { background: rgba(255, 255, 255, .09); color: var(--island-ink); }
.ib.icon { padding: 0; }
.ib .ico { width: 16px; height: 16px; }
.ib.done { margin-left: 4px; padding: 0 16px; background: var(--island-ink); color: var(--island); font-weight: 600; }
.ib.done:hover { background: #FFFFFF; }
.ib:focus-visible { outline: 2px solid rgba(255, 255, 255, .6); outline-offset: 1px; }
/* 局部画面（说明页）里，岛挪到相关卡片的正上方 */
.isl-float { position: absolute; z-index: 40; }
#grid > .crop-off { visibility: hidden; }
/* 小卡里的头条占满卡身，按钮落在卡底（同档等大后格子比内容高） */
.sz-small .card-body > .hl { flex: 1; }

/* ============ 三、四档网格（现有实现 card.css:7-16、105-116，能力清单 03 P-40；尺寸照 card-sizes.md）与编辑态（编辑桌面重做定稿） ============ */
.desk { position: relative; }
.desk-h { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin: 4px 4px 18px; }
.desk-h .hello { margin: 0; }
.desk-h span { font-size: 12px; color: var(--ink-3); }
/* 列、列距、行高由 app.js 写在网格上（grid-template-columns、gap、grid-auto-rows 固定像素），卡的外框因此定死；卡 align-self: stretch */
.dgrid { display: grid; grid-auto-flow: dense; align-items: stretch; transition: gap .45s cubic-bezier(.32, .72, 0, 1); }
.dgrid > .card, .pv-card > .card { align-self: stretch; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 16px 18px 18px; box-sizing: border-box; }
.dk-card.sz-small { grid-column: span 1; }
.dk-card.sz-half { grid-column: span 2; }
.dk-card.sz-tall { grid-column: span 2; grid-row: span 2; }
.dk-card.sz-full { grid-column: 1 / -1; }
.g-m > .dk-card.sz-small { grid-column: span 2; }
.g-p > .dk-card.sz-half, .g-p > .dk-card.sz-full { grid-column: 1 / -1; grid-row: span 1; }
.g-p > .dk-card.sz-tall { grid-column: 1 / -1; grid-row: span 2; }
/* 会议、待办、日程、随手记的卡嵌各模块自己的原型（app.js embHtml）：卡的外框、底色、阴影、内容都是模块原型画的，这里的 article 只占格子、挂编辑态的圆钮与弧 */
.dk-card.is-emb { background: none; box-shadow: none; }
.dk-card.is-emb:hover { box-shadow: none; }
.emb { position: absolute; inset: 0; } /* 不裁：iframe 比格子大出的一圈是模块原型的阴影与外圈（透明处不挡点击，iframe 本身 pointer-events: none） */
.emb-f { position: absolute; border: 0; background: transparent; color-scheme: normal; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .18s var(--ease); }
.emb-f.ok { opacity: 1; }
.dk-card.is-emb > .seg { position: relative; z-index: 1; }
/* 卡头、卡底不缩；卡身占满剩下的高度、放不下的裁掉（card-sizes.md 规则 1）——所以每档每种内容都要按格子画到放得下，
   列表末行「还有 N 件」，时间轴、日视图这类连续内容在卡内滚（data-scroll） */
.card > .ch, .card > .seg, .card > .card-foot, .card-body > .card-foot { flex: none; }
.card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
[data-scroll] { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.card.is-new { box-shadow: 0 0 0 3px var(--ink), var(--shadow-hover); }
/* 编辑态（编辑桌面重做定稿）：卡与卡拉开到 30，像从墙上取下来摊在画布上；细边浅影、指上去浮起一点；卡身照常显示、点不了；
   桌面底下一层点阵；问候退淡 */
body.is-editing .desk::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(31, 30, 27, .13) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
body.is-editing .desk-h { opacity: .35; }
.dgrid.is-editing > .card { cursor: grab; box-shadow: 0 0 0 1px rgba(31, 30, 27, .05), 0 10px 26px -14px rgba(90, 60, 40, .22); transition: box-shadow .26s var(--ease), scale .5s cubic-bezier(.32, .72, 0, 1); }
.dgrid.is-editing > .card:hover { scale: 1.012; box-shadow: 0 0 0 1px rgba(31, 30, 27, .05), var(--shadow-hover); }
.card.editing > .card-body, .card.editing > .card-foot, .card.editing > .ch { pointer-events: none; }
.card.resizing { z-index: 30; box-shadow: 0 4px 10px rgba(70, 48, 34, .08), 0 34px 70px -20px rgba(70, 48, 34, .38) !important; }
/* 移走：左上角一颗墨色小圆钮，压在卡边上（一半在卡外），指上卡时弹出；触屏（手机）常显 */
.rm { position: absolute; z-index: 3; top: -9px; left: -9px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: var(--island); color: #FFFFFF; cursor: pointer;
  box-shadow: 0 0 0 2.5px var(--surface), 0 4px 10px -2px rgba(20, 16, 10, .35); opacity: 0; scale: .3; pointer-events: none; transition: opacity .15s, scale .38s cubic-bezier(.32, .72, 0, 1), background .15s; }
.rm .ico { width: 12px; height: 12px; stroke-width: 2.4; }
.rm:hover { background: var(--late-dot); }
.card.editing:is(:hover, :focus-within, .show-h) .rm, .g-p > .card.editing .rm { opacity: 1; scale: 1; pointer-events: auto; }
/* 改尺寸：右下角一段贴着卡片圆角外沿的弧（iPad 窗口那种），编辑态常显淡淡一笔，指上卡加深，按住变粗；只有一档的卡（资讯）不画 */
.rz { position: absolute; z-index: 3; right: -9px; bottom: -9px; width: 42px; height: 42px; cursor: nwse-resize; touch-action: none; }
.rz svg { width: 42px; height: 42px; overflow: visible; }
.rz path { fill: none; stroke: rgba(31, 30, 27, .22); stroke-width: 4; stroke-linecap: round; transition: stroke .2s, stroke-width .3s cubic-bezier(.32, .72, 0, 1); }
.card.editing:is(:hover, .show-h) .rz path { stroke: rgba(31, 30, 27, .55); }
.rz:hover path, .card.resizing .rz path { stroke: var(--ink) !important; stroke-width: 5.5; }
/* 拖弧时跟着指针的尺寸牌：小号墨色胶囊，「中 · 2 列」 */
.szb { position: absolute; z-index: 90; display: flex; align-items: baseline; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--island); color: var(--island-ink); font-size: 12.5px; font-weight: 600; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(20, 16, 10, .45); }
.szb small { font-weight: 400; color: var(--island-ink-2); }
/* 换内容（12.1 第 7 条方案 A）：有两种以上内容的卡，右上角压一枚内容名小牌（墨色胶囊，与移走圆钮同一套），编辑态常显，点开选 */
.cc { position: absolute; z-index: 3; top: -11px; right: 16px; display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 8px 0 11px; border: 0; border-radius: 999px; background: var(--island); color: var(--island-ink); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap;
  box-shadow: 0 0 0 2.5px var(--surface), 0 4px 10px -2px rgba(20, 16, 10, .35); }
.cc .ico { width: 13px; height: 13px; }
.cc[aria-expanded="true"] { background: var(--island-ink); color: var(--island); box-shadow: 0 0 0 2.5px var(--island), 0 4px 10px -2px rgba(20, 16, 10, .35); }
/* 手机：不拖动，保留「上移」「下移」，在卡底左边（编辑桌面重做档案「我自己定的」第 3 条） */
.mv { position: absolute; z-index: 3; left: 8px; bottom: 8px; display: flex; gap: 4px; }
.mv button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: var(--island); color: #FFFFFF; cursor: pointer; box-shadow: 0 0 0 2px var(--surface); }
.mv .ico { width: 15px; height: 15px; }
/* 「＋ 添加模块」：毛玻璃凹槽＋白色圆钮，编辑态排在最后一格（桌面空着时平时也在）；指上时「＋」转 90° */
.add-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-width: 0; border: 0; border-radius: var(--radius-card); background: rgba(255, 255, 255, .3); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ink-2); font-size: 13.5px; font-weight: 500; cursor: pointer; }
.add-tile .plus { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-card); color: var(--ink); transition: scale .38s cubic-bezier(.32, .72, 0, 1), rotate .38s cubic-bezier(.32, .72, 0, 1); }
.add-tile:hover { background: rgba(255, 255, 255, .5); }
.add-tile:hover .plus { scale: 1.1; rotate: 90deg; }
.g-m > .add-tile { grid-column: span 2; }
.extra-ph { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; border: 1.5px dashed rgba(30, 33, 38, .3); border-radius: var(--radius-card); }
.desk-end { display: flex; justify-content: center; margin-top: 16px; }

/* ============ 四、各模块卡身 ============ */
/* 会议（会议原型 proto.css 三节逐段复制：卡头刷新、头条、今日概览、列表行、时间轴、整行横排） */
.ch .rf { margin-left: auto; width: 32px; height: 32px; padding: 0; border-radius: 50%; background: transparent; color: var(--ink-2); }
.ch { white-space: nowrap; }
.ch-note { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.ch-note + .rf { margin-left: 2px; }
/* 列表放不下时末行「还有 N 件」（card-sizes.md 规则 2），点了打开详情层 */
/* 版式 F「四档对照」（默认，设计文档 6.6.1）：面板加宽，左边格子收成两列，右边四档按桌面网格摆在一起、同一个比例缩放 */
.mods.L-F { width: min(1600px, calc(100% - 80px)); top: 6px; height: calc(100% - 12px); }
.L-F .mods-h { padding-top: 10px; padding-bottom: 10px; }
.L-F .mods-b { position: relative; }
/* 版式 F 左边：紧凑的单列名单（图标＋名字，一行 42 高，宽 200），把宽度让给对照区（白晨 10-21「有点挤」） */
.L-F .mods-scroll { flex: none; width: 200px; padding: 4px 10px 16px; border-right: 1px solid var(--line); }
.L-F .mods-scroll h4 { margin: 12px 6px 4px; }
.L-F .mtiles { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.L-F .mtile { flex-direction: row; align-items: center; gap: 10px; min-height: 42px; padding: 6px 8px; border-radius: 12px; background: none; text-align: left; }
.L-F .mtile > .ico { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--surface-2); }
.L-F .mtile:hover { background: var(--surface-2); }
.L-F .mtile.on { background: var(--accent-soft); }
.L-F .mtile .nm { flex: 1; min-width: 0; }
.L-F .mtile .on-desk { margin: 0; flex: none; }
.L-F .mods-page.mods-board { padding: 6px 20px 10px; }
/* 页头一行：图标、名字、一句用途、「需要」，右上是比例、详细说明、打开；放不下时折行，不截断 */
.bd-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-height: 28px; }
.bd-h .bd-ic { width: 28px; height: 28px; border-radius: 9px; }
.bd-h .bd-ic .ico { width: 16px; height: 16px; }
.bd-h h3 { margin: 0; font-size: 18px; }
.bd-lead { font-size: 13px; color: var(--ink-2); }
.bd-need { font-size: 12px; color: var(--ink-3); }
.bd-scale { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.bd-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.bd-guide { position: relative; }
.bd-guide > summary { list-style: none; cursor: pointer; }
.bd-guide > summary::-webkit-details-marker { display: none; }
.bd-guide-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 4; width: 300px; padding: 10px 12px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-hover); }
.mods-board .pg-note { margin-top: 8px; }
.bd-grid { display: grid; grid-auto-flow: row dense; row-gap: 6px; align-items: start; margin-top: 8px; }
.bd-cell { width: auto; min-width: 0; gap: 3px; }
.bd-hit { display: block; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; }
.bd-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 18px; }
/* 卡下两行：第一行档名＋「放上桌面」，第二行一句作用（完整显示，窄了折行，不截断） */
.bd-cap { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bd-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; min-height: 24px; }
.bd-t b { font-size: 13px; }
.bd-t .btn { flex: none; height: 24px; margin-left: auto; padding: 0 9px 0 7px; }
.bd-say { margin: 0; font-size: 12px; line-height: 16px; color: var(--ink-2); }
.bd-dim { margin-right: 6px; font-size: 12px; color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bd-sw { margin-top: 2px; }
.bd-zoom { position: absolute; inset: 0; z-index: 3; overflow: auto; padding: 14px 22px 20px; background: rgba(250, 248, 245, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bd-zoom-h { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 12px; font-size: 14px; }
.bd-zoom .bd-zcell { width: auto; }
.bd-zcell .bd-cap { gap: 8px; align-items: flex-start; }
.bd-zcell .bd-cap p { margin: 0; white-space: normal; font-size: 13px; color: var(--ink-2); }
@media (max-width: 1100px) { .L-F .mods-scroll { flex: 1; width: auto; border-right: 0; } }
@media (min-width: 761px) and (max-width: 1100px) { .mods.L-F { width: calc(100% - 40px); top: 16px; height: calc(100% - 32px); } }
@media (max-width: 760px) { .mods.L-F { top: 0; width: 100%; height: 100%; } .mods-board, .L-F .mods-page { padding: 12px 12px 28px; } }
.more { display: block; flex: none; margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--ink-2); cursor: pointer; }
.more:hover { color: var(--ink); text-decoration: underline; }
.ch .rf:hover { background: var(--fc-plate); }
.ch .rf .ico { width: 17px; height: 17px; }
.ch .tag { flex: none; }
.ch .tag-sample { margin-left: 2px; }
.hl { display: flex; flex-direction: column; min-width: 0; }
.hl-t { display: block; width: 100%; margin: 0 0 2px; padding: 0; border: 0; background: none; color: var(--ink); font: 700 var(--fs-h2)/1.35 var(--font-sans); text-align: left; }
.hl .mt-s { display: block; font-size: 13px; line-height: 1.5; }
.sz-small .hl-t { font-size: 17px; }
.sz-small .hl .mt-s { font-size: 12px; }
.sz-small .hl .acts { margin-top: auto; padding-top: 10px; }
.ov { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ov-big { display: flex; align-items: baseline; gap: 6px; }
.ov-big b { font: 650 40px/1.25 var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.ov-big span { font-size: 14px; color: var(--ink-2); }
.ov-rows { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.ov-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.ov-row b { font: 650 16px/1.3 var(--font-num); color: var(--ink); font-variant-numeric: tabular-nums; }
.ov-row.wait b { color: var(--wait-ink); }
.ml { display: flex; flex-direction: column; flex: none; margin-top: 10px; padding-top: 4px; border-top: 1px solid var(--line); }
.ml-row { position: relative; display: flex; align-items: center; gap: 8px; min-height: 40px; margin: 0 -8px; padding: 0 8px; border-radius: var(--radius-sm); }
.ml .ml-open { padding: 4px 0; }
.ml .ml-main { flex-wrap: nowrap; }
.ml .ml-s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-open { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; padding: 6px 0; }
.ml-time { flex: none; width: 46px; padding-top: 1px; font: 600 14px/1.45 var(--font-num); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ml-time.wide { width: auto; min-width: 46px; }
.ml-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; flex: 1; min-width: 0; }
.ml-name { font-size: 14px; font-weight: 600; line-height: 1.45; }
.ml-s { font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.ml-s.quiet { color: var(--ink-3); }
.ml-s.wait { color: var(--wait-ink); }
.ml-s.today { color: var(--today-ink); }
.ml-s.done { color: var(--done-ink); }
.cf { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--wait-bg); color: var(--wait-ink); font-size: 12px; font-weight: 500; white-space: nowrap; flex: none; }
.tl { position: relative; display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 12px; padding-top: 6px; border-top: 1px solid var(--line); }
.tl > * { flex: none; }
.tl .ml-open { position: relative; padding-left: 18px; }
.tl .ml-open::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: var(--surface-3); }
.tl .ml-open::after { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--quiet-dot); }
.tl .ml-row.k-soon .ml-open::after { box-shadow: inset 0 0 0 5px var(--today-dot); }
.tl .ml-row.k-wait .ml-open::after { box-shadow: inset 0 0 0 5px var(--wait-dot); }
.tl .ml-row.k-done .ml-open::after { box-shadow: inset 0 0 0 5px var(--done-dot); }
.tl-now { display: flex; align-items: center; gap: 8px; height: 22px; margin: 2px 0; padding-left: 4px; color: var(--today-ink); font: 600 12px/1 var(--font-num); font-variant-numeric: tabular-nums; }
.tl-now::after { content: ""; flex: 1; height: 2px; border-radius: 1px; background: var(--today-dot); }
.fr { display: grid; grid-template-columns: minmax(260px, 32%) minmax(0, 1fr); gap: 22px; flex: 1; min-width: 0; min-height: 0; }
.fr-r { display: flex; align-items: flex-start; gap: 10px; min-width: 0; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 8px; }
.fr-tile { display: flex; flex-direction: column; gap: 4px; flex: 0 0 156px; min-height: 124px; padding: 10px 12px; border-radius: var(--radius-ctl); background: var(--surface-2); }
.fr-tile .ml-time { width: auto; font-size: 13px; }
.fr-tile .cf { align-self: flex-start; margin-top: auto; }
.fr-tile.k-soon { background: var(--today-bg); box-shadow: inset 0 0 0 1.5px var(--today-dot); }
.fr-tile.k-wait { background: var(--wait-bg); }
.row-hl { animation: rowhl 2.4s var(--ease); }
@keyframes rowhl { 0%, 60% { background: var(--today-bg); box-shadow: inset 0 0 0 2px var(--today-dot); } 100% { background: transparent; box-shadow: none; } }

/* 待办（示意；版式以待办文档第 6 节为准） */
.big2 { display: flex; gap: 22px; align-items: flex-end; flex: 1; }
.bg-n { display: flex; flex-direction: column; gap: 2px; }
.bg-n b { font: 650 40px/1.25 var(--font-num); font-variant-numeric: tabular-nums; }
.bg-n span { font-size: 13px; color: var(--ink-2); }
.bg-n.late b { color: var(--late-ink); }
.td-list { display: flex; flex-direction: column; }
.td-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.td-row { display: flex; align-items: center; gap: 10px; min-height: 36px; border-bottom: 1px solid var(--line); }
.td-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.td-due { flex: none; max-width: 52%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ink-3); }
.td-row:last-child { border-bottom: 0; }
.td-ck { flex: none; width: 18px; height: 18px; padding: 0; border: 0; border-radius: 6px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: pointer; }
.td-ck:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.td-main { display: flex; flex-direction: column; min-width: 0; }
.td-main b { font-size: 14px; font-weight: 600; line-height: 1.4; }
.td-sub { font-size: 12px; color: var(--ink-3); }
.today-ink { color: var(--today-ink); }
.late-ink { color: var(--late-ink); }
.td-list { flex: none; }
.td-add { display: flex; flex: none; align-items: center; gap: 6px; margin-top: auto; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink-3); font-size: 13px; }
.more + .td-add, .td-list + .td-add { margin-top: auto; }
.card-body > .td-add { position: relative; top: 0; }

/* 日程（示意；以日程文档第 6 节为准） */
.cl-list { display: flex; flex-direction: column; }
.cl-row { display: flex; align-items: center; gap: 10px; min-height: 36px; border-bottom: 1px solid var(--line); font-size: 14px; white-space: nowrap; }
.cl-row b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cl-row:last-child { border-bottom: 0; }
.dv-sc { flex: 1; min-height: 0; margin-top: 2px; padding-top: 10px; }
.dv { position: relative; margin: 2px 0 6px 44px; }
.dv-h { position: absolute; left: -44px; right: 0; height: 0; border-top: 1px solid var(--line); }
.dv-h span { position: absolute; left: 0; top: -8px; font: 500 11px/1 var(--font-num); color: var(--ink-3); }
.dv-now { position: absolute; left: -6px; right: 0; height: 2px; background: var(--today-dot); z-index: 2; }
.dv-now::before { content: ""; position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--today-dot); }
.dv-b { position: absolute; left: 0; right: 0; display: flex; flex-direction: column; justify-content: center; padding: 2px 10px; overflow: hidden; border-radius: 9px; background: var(--today-bg); box-shadow: inset 3px 0 0 var(--today-dot); font-size: 12px; line-height: 1.3; }
.dv-b b { font-size: 13px; }
.dv-b span { color: var(--ink-2); font-family: var(--font-num); }
.dv-b.k-focus { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--quiet-dot); }
.dv-b.past { opacity: .55; }
.dv-b.l { right: 50%; margin-right: 2px; }
.dv-b.r { left: 50%; margin-left: 2px; }
.sz-full .dv-b { flex-direction: row; align-items: center; gap: 10px; }

/* 随手记（示意；以随手记文档第 6 节为准） */
.nt-in { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 6px 0 14px; border-radius: var(--radius-ctl); background: #FFF6D9; box-shadow: inset 0 0 0 1px rgba(154, 120, 18, .14); color: var(--ink-3); font-size: 14px; }
.nt-go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #FFFFFF; }
.nt-go .ico { width: 14px; height: 14px; }
.nt-st { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--ink-2); }
.nt-tags { display: flex; flex: none; flex-wrap: nowrap; gap: 6px; margin-bottom: 8px; overflow: hidden; }
.nt-tags .chip { height: 26px; font-size: 12px; }
.nt-grid { display: grid; gap: 8px; margin-top: 8px; }
.nt-in { flex: none; }
.nt-line { display: flex; align-items: center; gap: 8px; min-height: 32px; margin-top: 8px; padding: 0 10px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.nt-line > span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-line .tag { height: 20px; }
.nt-grid.c2 { grid-template-columns: 1fr 1fr; }
.nt-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nt-board.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.nt-board.c6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.nt-board .nt-in { grid-column: span 1; align-items: flex-start; padding-top: 12px; min-height: 92px; }
.nt-n { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 86px; padding: 10px 12px; border-radius: var(--radius-ctl); background: var(--surface-2); }
.nt-n p { margin: 0; font-size: 13px; line-height: 1.5; }
.nt-n .tag { align-self: flex-start; height: 20px; }

/* 其余模块（示意） */
.sm-list { display: flex; flex-direction: column; }
.sm-row { display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px solid var(--line); }
.g-p .sm-row, .pv-card.g-p .sm-row { flex-direction: row; align-items: baseline; gap: 8px; white-space: nowrap; }
.g-p .sm-row > *, .pv-card.g-p .sm-row > * { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sm-row:last-child { border-bottom: 0; }
.sm-row b { font-size: 14px; font-weight: 600; }
.sm-row span { font-size: 12px; color: var(--ink-3); }
.fd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fd-f { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: var(--radius-ctl); background: var(--surface-2); }
.fd-f b { font-size: 13px; }
.fd-f span { font-size: 12px; color: var(--ink-3); }
.fd-f .ico { color: var(--ink-3); }
.rv-c { display: flex; flex-direction: column; gap: 4px; }
.pj-list { display: flex; flex-direction: column; gap: 8px; }
.pj .bar { margin-top: 6px; }

/* ============ 五、换内容 ============ */
/* 方案 A：卡右上角的内容名小牌 → 弹出菜单（定稿气泡菜单的外观：暖白底、圆角 16、--pv-sh-menu） */
.cpop { position: absolute; z-index: 70; padding: 6px; border-radius: var(--pv-r-menu); background: var(--pv-surface); box-shadow: var(--pv-sh-menu); }
.cpop-h { padding: 6px 10px 6px; font-size: 12px; color: var(--ink-3); }
.cpop-i { display: flex; align-items: flex-start; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; }
.cpop-i:hover { background: var(--surface-2); }
.cpop-i.on { background: var(--accent-soft); }
.cpop-i b { display: block; font-size: 14px; }
.cpop-i span span { display: block; font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.cpop-ck { flex: none; display: grid; place-items: center; width: 18px; height: 20px; }
.cpop-ck .ico { width: 15px; height: 15px; }
/* 方案 B：卡内分段（会议原型 proto.css「编辑桌面：小卡切换内容」逐段复制） */
.seg { display: inline-flex; align-self: flex-start; gap: 2px; margin: -4px 0 10px; padding: 3px; border-radius: var(--radius-pill); background: var(--surface-2); box-shadow: var(--shadow-inset); position: relative; z-index: 2; }
.seg button { min-height: 28px; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--ink-2); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(90, 60, 40, .12); }

/* ============ 六、添加到桌面（原「全部模块」；外框照现有实现 modules.css：电脑宽 1120、高一屏减边距、最高 880；手机铺满） ============ */
.mods-scrim { position: fixed; inset: 0; z-index: 50; background: var(--pv-scrim); -webkit-backdrop-filter: blur(var(--pv-blur)) saturate(1.08); backdrop-filter: blur(var(--pv-blur)) saturate(1.08); }
.mods { position: fixed; z-index: 51; left: 0; right: 0; top: 16px; margin: 0 auto; width: min(1120px, calc(100% - 40px)); height: min(880px, calc(100% - 32px)); display: flex; flex-direction: column; overflow: hidden; border-radius: var(--pv-r-l); background: radial-gradient(120% 70% at 0% 0%, rgba(248, 232, 215, .55), rgba(248, 232, 215, 0) 55%), var(--pv-surface); box-shadow: var(--pv-sh-layer); }
.mods-h { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.mods-ic { display: inline-flex; color: var(--ink); }
.mods-h h2 { margin: 0; font-size: 16px; }
.mods-sub { font-size: 12px; color: var(--ink-3); }
.mods-search { display: inline-flex; align-items: center; gap: 6px; flex: 0 1 220px; min-width: 140px; height: 34px; margin-left: auto; padding: 0 12px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .7); box-shadow: var(--shadow-inset); color: var(--ink-3); }
.mods-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 14px; color: var(--ink); }
.mods-h .ly-x { align-self: center; width: 34px; height: 34px; }
.mods-b { display: flex; flex: 1; min-height: 0; }
.mods-none { padding: 18px 8px; font-size: 13px; color: var(--ink-3); }
/* D：左边名单（宽 232） */
.mods-side { flex: none; width: 232px; overflow-y: auto; padding: 10px 10px 20px; border-right: 1px solid var(--line); background: rgba(246, 243, 239, .55); }
.mods-side h4, .mods-scroll h4 { margin: 14px 10px 6px; font-size: 12px; font-weight: 650; color: var(--ink-2); }
.mods-side h4 span, .mods-scroll h4 span { margin-left: 6px; font-weight: 400; color: var(--ink-3); }
.ms-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 5px 8px; border: 0; border-radius: 12px; background: none; color: var(--ink); font-size: 14px; text-align: left; cursor: pointer; }
.ms-row:hover { background: var(--surface-3); }
.ms-row.on { background: var(--surface); box-shadow: 0 1px 2px rgba(90, 60, 40, .10), inset 0 0 0 1.5px var(--ink); }
.ms-ic { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-inset); color: var(--ink-2); }
.ms-ic .ico { width: 16px; height: 16px; }
.ms-nm { flex: 1; min-width: 0; font-weight: 600; }
.ms-st { font-size: 12px; color: var(--ink-3); }
.ms-st.ok { color: var(--done-ink); }
.ms-go { width: 14px; height: 14px; color: var(--ink-3); display: none; }
/* 右边：模块页 */
.mods-page { flex: 1; min-width: 0; overflow-y: auto; padding: 18px 24px 32px; }
.mods-page.full { padding-top: 12px; }
.pg-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 240px; color: var(--ink-3); text-align: center; }
.pg-empty .ico { width: 40px; height: 40px; padding: 10px; border-radius: 13px; background: var(--pv-tint); color: var(--ink-2); }
.pg-empty b { font-size: 16px; color: var(--ink); }
.pg-empty span { max-width: 30ch; font-size: 13px; }
.pg-back { display: none; margin: -4px 0 8px -6px; }
.pg-back.always { display: inline-flex; }
.pg-h { display: flex; align-items: flex-start; gap: 14px; }
.pg-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--pv-tint); box-shadow: inset 0 0 0 1px rgba(154, 90, 18, .08); color: var(--ink-2); }
.pg-ic .ico { width: 22px; height: 22px; }
.pg-ht { flex: 1; min-width: 0; }
.pg-ht h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 20px; }
.pg-ht p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.pg-ht .pg-needs { font-size: 13px; color: var(--ink-3); }
.pg-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 14px; padding: 10px 12px; border-radius: var(--radius-ctl); background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.pg-note > .ico { color: var(--ink-3); }
.pg-note > span { flex: 1; min-width: 200px; }
.pg-note.warn { background: var(--wait-bg); color: var(--wait-ink); }
.pg-note.warn > .ico { color: var(--wait-dot); }
.pg-guide { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.pg-guide summary { cursor: pointer; font-weight: 600; }
.pg-guide .rv-note { margin-top: 8px; }
.pg-lead { margin: 16px 0 0; font-size: 12px; color: var(--ink-3); }
.pg-sz { margin-top: 18px; }
.pg-sz h4 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 10px; font-size: 13px; font-weight: 650; color: var(--ink); }
.pg-scale { font-size: 12px; font-weight: 400; color: var(--ink-3); }
.pg-row { display: flex; flex-wrap: wrap; gap: 18px; }
.pv { display: flex; flex-direction: column; gap: 10px; margin: 0; width: var(--pv-fw, var(--pv-w)); max-width: 100%; }
.pv-card { width: var(--pv-w); }
.pv-card > .card:hover { box-shadow: var(--shadow-card); }
.pv-cap { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.pv-t { display: flex; align-items: center; gap: 6px; }
.pv-t b { font-size: 14px; }
.pv-t .tag-sample { margin-left: 0; height: 20px; }
.pv-cap p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); }
.pv-cap .btn { margin-top: 4px; }
.btn[disabled] { opacity: .45; cursor: default; }
.btn .spin { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #FFFFFF; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pg-plug { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.pg-view { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.pg-small { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.mods-page > .rv-note { margin-top: 12px; }
/* A：格子＋右栏 420（评审改版 app.css:475-483；现有实现 modules.css:17-33） */
.mods-scroll { flex: 1; min-width: 0; overflow-y: auto; padding: 6px 18px 20px; }
.mtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.mtile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; border: 0; border-radius: 18px; background: var(--surface-2); font-size: 13px; text-align: center; cursor: pointer; }
.mtile > .ico { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--surface); color: var(--ink-2); }
.mtile:hover { background: var(--surface-3); }
.mtile.on { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--accent-soft); }
.mtile .nm { font-weight: 600; }
.on-desk { font-size: 12px; color: var(--ink-3); }
.on-desk.ok { color: var(--done-ink); }
.mods-col { flex: none; width: 420px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px 20px; border-left: 1px solid var(--line); background: var(--surface-2); }
.col-pv { width: 100%; overflow: hidden; }
.col-scale { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.pg-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
/* 模块页的文字限行宽（好读，也让说明页能把模块页裁得紧） */
.pg-ht p, .pg-note, .pg-lead { max-width: 720px; }
.pg-ht h3, .pg-sz h4, .pg-guide { width: fit-content; max-width: 100%; }
.on-desk + .ico, .ms-st:empty { display: none; }

/* ============ 七、状态说明（会议原型 proto.css 五节逐段复制） ============ */
.panel { margin-top: 30px; padding: 18px 20px 20px; border-radius: 16px; background: var(--rv-bg); color: var(--rv-ink); font-size: 13px; line-height: 1.55; }
.panel h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #FFFFFF; }
.panel h2 small { font-size: 12px; font-weight: 500; color: var(--rv-ink-3); }
.panel h3 { margin: 18px 0 8px; font-size: 13px; font-weight: 650; color: var(--rv-hl); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 14px; margin: 0; }
.facts dt { color: var(--rv-ink-3); }
.facts dd { margin: 0; color: var(--rv-ink); }
.facts dd b { color: var(--rv-hl); font-weight: 600; }
.st-tab { width: 100%; border-collapse: collapse; }
.st-tab th, .st-tab td { padding: 7px 10px; border-top: 1px solid rgba(255, 255, 255, .08); text-align: left; vertical-align: top; }
.st-tab th { color: var(--rv-ink-3); font-weight: 500; font-size: 12px; }
.st-tab td b { color: #FFFFFF; font-weight: 600; }
.st-sub { color: var(--rv-ink-3); font-size: 12px; }
.st-log { max-height: 280px; margin: 0; padding: 0 4px 0 0; overflow: auto; list-style: none; }
.st-log li { display: flex; gap: 10px; padding: 3px 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.st-log time { flex: none; min-width: 22px; font: 600 12px/1.55 var(--font-mono); color: var(--rv-ink-3); }
.st-log li span { color: var(--rv-ink-2); }
.st-log li.k-sync span { color: var(--rv-ink); }
.st-log li.k-warn span { color: var(--rv-hl); }
.st-log li.k-user span { color: #9FD0FF; }

/* ============ 八、嵌入（说明页用 iframe 嵌这里的画面；背景透明，不画控制带与状态说明） ============ */
body.embed { min-height: 0; background: transparent; pointer-events: none; } /* 说明页里的画面不响应点击，每帧下方另有「在原型里打开这一刻」 */
body.embed .backdrop, body.embed .rv-bar, body.embed .rv-more, body.embed .panel { display: none; }
body.embed-card #top, body.embed-panel #top, body.embed-panel #desk, body.embed-card .desk-h { display: none; }
body.embed-card .desk { padding: 16px; }
body.embed-card .solo.with-pop { margin-top: 170px; }
body.embed-desk, body.embed-loop { background: var(--bg); }
body.embed-desk .backdrop, body.embed-loop .backdrop { display: block; }
body.embed-loop .desk-h, body.embed-loop #top { display: none; }
body.embed-panel .mods-scrim { display: none; }
/* 说明页场景四：调用计数固定在画面左上角（顶栏下面），滚到哪张卡都看得见，也不被底部提示条挡住 */
.reads-note { position: fixed; left: 12px; bottom: 12px; z-index: 60; height: auto; min-height: 30px; max-width: calc(100% - 24px); padding: 6px 12px; font-size: 14px; line-height: 1.4; white-space: normal; }
body.embed-panel .mods { position: relative; top: 0; margin: 12px auto; height: 820px; }
body.embed-panel .mods.L-F { top: 0; }
.dgrid.one { grid-template-columns: minmax(0, 1fr); }
.dgrid.one > .card { grid-column: auto; grid-row: auto; }

/* ============ 九、窄屏 ============ */
/* 卡片按屏宽档换的样式挂在网格（.g-p 手机、.g-m 中屏）或预览外层（.pv-card.g-p）上，由 app.js 按窗口宽开关，不按 iframe 自己的宽度 */
.g-p > .card, .pv-card.g-p > .card { padding: 14px; }
.g-p .ch, .pv-card.g-p .ch { margin-bottom: 8px; flex-wrap: nowrap; }
.g-p .ch-ic, .pv-card.g-p .ch-ic { width: 28px; height: 28px; border-radius: 9px; }
.g-p .ch-ic .ico, .pv-card.g-p .ch-ic .ico { width: 16px; height: 16px; }
.g-p .ch .rf, .pv-card.g-p .ch .rf { width: 28px; height: 28px; min-height: 0; margin: 0 -4px 0 auto; } /* 手机小卡 177 见方，卡头只给 28 高；刷新钮跟着缩到 28（点按区比 40 小，见设计文档 6.4 末条） */
.g-p .ch .tag, .pv-card.g-p .ch .tag { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.g-p .hl-t, .pv-card.g-p .hl-t { font-size: 16px; }
.g-p .ov-big b, .g-p .bg-n b, .pv-card.g-p .ov-big b, .pv-card.g-p .bg-n b { font-size: 32px; }
.g-p .big2, .pv-card.g-p .big2 { gap: 14px; }
.g-p .ov, .pv-card.g-p .ov { gap: 4px; }
.g-p .ov-rows, .pv-card.g-p .ov-rows { gap: 2px; padding-top: 6px; }
.g-p .btn, .pv-card.g-p .btn { min-height: 36px; }
.g-p .acts, .pv-card.g-p .acts { margin-top: 8px; }
.g-p .td-add, .pv-card.g-p .td-add { padding: 6px 10px; }
.g-p .td-row, .pv-card.g-p .td-row { gap: 8px; }
.g-p .td-due, .pv-card.g-p .td-due { max-width: 46%; }
.g-p .nt-grid.c2, .pv-card.g-p .nt-grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-p .fr-tile, .pv-card.g-p .fr-tile { flex-basis: 148px; }
.g-p .empty.slim, .pv-card.g-p .empty.slim { padding: 4px 4px 0; }
.g-p .empty.slim b, .pv-card.g-p .empty.slim b, .sz-small .empty.slim b { font-size: 14px; }
.g-p .add-tile .plus { width: 34px; height: 34px; }
.g-m .fr, .pv-card.g-m .fr { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 1100px) {
  .rv-in, .rv-more-in { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .show-sm { display: inline-flex !important; }
  .rv-in { padding: 8px 12px; }
  .rv-more-in { padding: 8px 12px 12px; }
  .rv-marks { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .rv-mk { min-height: 36px; flex: none; }
  .rv-opts { flex-direction: column; align-items: stretch; gap: 2px; }
  .rv-lab, .rv-ck { min-height: 40px; }
  .rv-lab .rv-sel { flex: 1; min-width: 0; }
  .rv-b { min-height: 40px; }
  .top-in { padding: 0 12px; gap: 8px; }
  /* 手机上岛只放按钮，不写状态那句话（编辑桌面重做档案「我自己定的」第 3 条） */
  .isl { gap: 6px; padding-left: 10px; }
  .isl-msg { display: none; }
  .isl.is-bye .isl-msg { display: inline-flex; }
  .desk { padding: 14px 12px 40px; }
  .hello { font-size: 22px; }
  .btn, .btn.sm, .btn.xs, .seg button, .toast-btn { min-height: 40px; }
  /* 添加到桌面：整屏；先是名单，点了换成模块页，顶上「← 全部模块」（评审改版 app.css:578，能力清单 03 P-47） */
  .mods { top: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; }
  .mods-sub { display: none; }
  .mods-search { order: 5; flex: 1 1 100%; margin-left: 0; }
  .mods-h { padding: 10px 12px; }
  .mods-side { width: 100%; border-right: 0; background: none; }
  .ms-row { min-height: 48px; }
  .ms-go { display: block; }
  .mods.has-sel .mods-side { display: none; }
  .mods:not(.has-sel) .mods-page { display: none; }
  .mods-page { padding: 12px 12px 28px; }
  .pg-back { display: inline-flex; }
  .pg-row { gap: 12px; }
  .pv { width: var(--pv-w); }
  .L-A .mods-col { display: none; }
  .L-A.has-sel:not(.at-page) .mods-col { display: flex; width: 100%; border-left: 0; }
  .L-A.has-sel:not(.at-page) .mods-scroll { display: none; }
  .panel { padding: 14px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .facts dd { margin-bottom: 6px; }
  .st-tab, .st-tab tbody, .st-tab tr, .st-tab td { display: block; width: 100%; }
  .st-tab thead { display: none; }
  .st-tab tr { padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .st-tab td { padding: 1px 0; border: 0; }
  .st-tab td[data-l]::before { content: attr(data-l) "："; color: var(--rv-ink-3); font-size: 12px; }
}
/* 版式 E：模块页顶上的尺寸分段；一档只有一种内容时说明与按钮在卡的右边（手机上仍在卡下） */
.pg-seg { margin: 14px 0 0; flex-wrap: wrap; }
.pg-row.one .pv { flex-direction: row; align-items: flex-start; gap: 16px; width: auto; }
.pg-row.one .pv-cap { width: 140px; flex: none; }
@media (max-width: 760px) { .pg-row.one .pv { flex-direction: column; width: var(--pv-fw, var(--pv-w)); } .pg-row.one .pv-cap { width: auto; } }
/* 只取局部画面（frame=gallery／gallery-page／desk-row／toolbar）：面板高度固定为 900 高窗口里的样子，提示条与计数小字由脚本挪到相关卡片的正下方 */
body.crop .mods { height: 868px; }
body.crop .mods.L-F { height: 888px; } /* 版式 F 照 900 高窗口里的 calc(100% − 12px) */
body.crop.embed-desk .mods { position: absolute; top: 16px; bottom: auto; }
body.crop .toasts, body.crop .reads-note { position: absolute; right: auto; bottom: auto; margin: 0; transition: none; }

