/* ============================================================
   Photoshop 2026 复刻 —— 右侧面板区像素对齐
   参考：docs/reference/surfaces/main-1920x1080.png（真机 1:1 截图）
   所有坐标均为逐像素扫描量测值（非估算），注释给绝对坐标。
   绝对坐标系：#sidebar 左缘 x=1555、上缘 y=64；面板组内容左缘 x=1598。

   侧栏结构（绝对坐标）：
     x 1555..1557 3px 竖向分隔（#383838/#474747/#383838）
     x 1558..1594 面板轨（37）
     x 1595..1597 3px 分隔
     x 1598..1918 面板组内容（321）
     y 64..75     顶部折叠条（#424242；« x1582..1588 y68..72；» x1905..1913 y67..73）
     y 77..103    组1 标签条（27）+ y=104 1px 分隔
     y 105..239   组1 体（135）
     y 240..242   3px 组间分隔
     y 243..269   组2 标签条 + y=270 分隔
     y 271..607   组2 体（337）
     y 608..610   3px 组间分隔
     y 611..637   组3 标签条 + y=638 分隔
     y 639..1014  组3 体（376）
     y 1007..1030 图层底条（y=1006 1px 分隔）
   ============================================================ */

/* 面板区的图标全部是 panels.js 从真机参考图按 1:1 裁剪的位图（<img class="psi">），
   与工具栏 tool-*.png 同口径：官方图标像素，而非手绘近似。 */
.psi { display: block; }

/* ---------------- 侧栏容器 ---------------- */
#sidebar {
  position: relative;
  width: 365px;
  flex: 0 0 365px;
  background: #535353;
  border-left: 0;
  display: block;
  overflow: hidden;
}
/* 左侧 3px 组分隔（真机 x1555..1557） */
#sidebar::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to right, #383838 0 1px, #474747 1px 2px, #383838 2px 3px);
  z-index: 6;
}
/* 顶部折叠条（« » 由 panels.js 注入；真机 y64..75 + y76 1px 分隔） */
.panel-foldbar {
  position: absolute; left: 0; top: 0; right: 0; height: 13px;
  background: #424242; border-bottom: 1px solid #383838;
  z-index: 2;
}
.fold-btn { position: absolute; padding: 0; border: 0; background: none; }
.fold-btn img { display: block; }
/* « 真机 x1582..1588 y68..72；» x1905..1913 y67..73 */
.fold-btn.left { left: 27px; top: 4px; width: 7px; height: 5px; }
.fold-btn.right { left: 350px; top: 3px; width: 9px; height: 7px; }

#panel-rail {
  position: absolute; left: 3px; top: 13px; bottom: 0;
  width: 37px; background: #535353;
  z-index: 1;
}
/* 真机轨顶两个图标 + y=145 1px 横向分隔线 */
#panel-rail::after {
  content: ""; position: absolute; left: 0; right: 1px; top: 68px; height: 1px;
  background: #383838;
}
.rail-btn {
  position: absolute; padding: 0; border: 0; background: none;
}
.rail-btn img { display: block; }
/* rail-strip 为注入的占位按钮：真机无此控件 */
.rail-btn[data-test="rail-strip"] { display: none; }
.rail-btn[data-test="rail-layers"] { left: 12px; top: 14px; width: 14px; height: 17px; }
.rail-btn[data-test="rail-comment"] { left: 14px; top: 44px; width: 12px; height: 13px; }
.rail-btn:hover { background: #4a4a4a; }

#panel-groups {
  position: absolute; left: 40px; top: 13px; right: 1px; bottom: 0;
  background: #535353; display: block; border-top: 0;
}
/* 轨道与组之间的 3px 分隔（真机 x1595..1597） */
#panel-groups::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to right, #383838 0 1px, #474747 1px 2px, #383838 2px 3px);
  z-index: 6;
}
.panel-group {
  position: absolute; left: 3px; right: 0;
  display: block; min-height: 0;
  background: #535353;
}
#group-color  { top: 0;   height: 163px; }
#group-props  { top: 166px; height: 365px; }
#group-layers { top: 534px; height: 404px; }
/* 3px 组间分隔（#383838/#474747/#383838） */
#group-props::before, #group-layers::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -3px; height: 3px;
  background: linear-gradient(to bottom, #383838 0 1px, #474747 1px 2px, #383838 2px 3px);
}
.panel-group + .panel-group { border-top: 0; }

/* ---------------- 标签条（27px + 1px 底边 = y77..104） ---------------- */
.panel-tabs {
  position: absolute; left: 0; top: 0; width: 100%;
  height: 27px; flex: none;
  background: #424242;
  border-bottom: 1px solid #383838;
  box-sizing: content-box;
  padding: 0;
  display: block;
}
.ptab {
  position: absolute; top: 0; height: 27px;
  padding: 0 0 3px; font-size: 11px; line-height: 24px;
  color: #a0a0a0; text-align: center; white-space: nowrap;
  border-radius: 0; font-family: var(--font);
  border: 0; background: none;
}
.ptab.active {
  color: #f0f0f0;
  background: #535353;
  height: 28px; padding-bottom: 4px;
  z-index: 2;
}
.ptab:hover { color: #ffffff; }
/* 真机每两个标签之间有 1px #383838 竖线（含活动标签右侧，坐标见各组分隔） */
.ptab::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 1px; width: 1px;
  background: #383838;
}
/* 标签条宽度 = 到下一个标签左缘的距离，使 ::after 正好落在真机分隔线上 */
#group-color .ptab:nth-of-type(1) { left: 0;   width: 40px; }
#group-color .ptab:nth-of-type(2) { left: 40px; width: 39px; }
#group-color .ptab:nth-of-type(3) { left: 79px; width: 40px; }
#group-color .ptab:nth-of-type(4) { left: 119px; width: 40px; }
#group-props .ptab:nth-of-type(1) { left: 0;   width: 40px; }
#group-props .ptab:nth-of-type(2) { left: 40px; width: 39px; }
#group-props .ptab:nth-of-type(3) { left: 79px; width: 37px; }
#group-layers .ptab:nth-of-type(1) { left: 0;   width: 40px; }
#group-layers .ptab:nth-of-type(2) { left: 40px; width: 39px; }
#group-layers .ptab:nth-of-type(3) { left: 79px; width: 40px; }
/* 面板菜单（≡）真机墨迹 x 1904..1913 y 87..93（组内相对 306,10） */
.panel-menu {
  position: absolute; left: 306px; top: 10px; transform: none;
  width: 10px; height: 7px; padding: 0; border: 0; background: none;
  display: block;
}

/* ---------------- 组1：颜色面板 ---------------- */
#color-body {
  position: absolute; left: 0; top: 28px; width: 321px; height: 135px;
  background: #535353; overflow: hidden;
}
#color-ramp {
  position: absolute; left: 0; top: 0;
  width: 321px; height: 135px; display: block;
}
.swatches-grid { left: 0; top: 0; width: 305px; height: 135px; padding: 6px 8px; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.gradient-gallery { left: 0; top: 4px; width: 305px; right: auto; bottom: 4px; }
.pattern-gallery { left: 0; top: 4px; width: 305px; right: auto; bottom: 4px; }

/* ---------------- 组2：属性面板 ---------------- */
.props-body {
  position: absolute; left: 0; top: 28px; width: 321px; height: 337px;
  background: #535353; display: block; overflow: hidden;
}
.props-row { position: absolute; left: 0; width: 306px; display: flex; align-items: center; padding: 0; }

/* 文档行 y271..303：徽标 x1609..1630 y277..298（22x22 位图），文字墨迹 x1638 y283..294 */
.doc-row { top: 0; height: 33px; padding-left: 0; }
.doc-badge {
  position: absolute; left: 11px; top: 6px; width: 22px; height: 22px;
  border: 0; background: none;
  display: block;
}
.props-label {
  position: absolute; left: 40px; top: 12px;
  font-size: 12px; line-height: 12px; color: #d6d6d6;
}
.props-divider { position: absolute; left: 0; width: 306px; height: 1px; background: #3e3e3e; }
.doc-row + .props-divider { top: 33px; }
.field-row.opt-fill + .props-divider { top: 274px; }

/* 章节头 y305..337：caret 真机 x1604..1613 y318..322（10x5 位图），标题 x1621 y315..326 */
.section-head { position: absolute; left: 0; width: 306px; height: 33px; padding: 0; }
.section-head .caret { position: absolute; left: 6px; top: 13px; width: 10px; height: 5px; font-size: 0; }
.section-head .section-title {
  position: absolute; left: 23px; top: 10px;
  font-size: 12px; line-height: 12px; color: #f0f0f0;
}
.doc-row + .props-divider + .section-head { top: 34px; }
.ruler-head { top: 275px; height: 62px; align-items: initial; padding-top: 0; }
.ruler-head .caret { top: 13px; left: 6px; }
.ruler-head .section-title { top: 10px; left: 22px; }

/* 宽高行：真机字段 x1666..1722 y340..361（57x22，圆角 2），文字「1890 像素」内联 */
.wh-row { top: 69px; height: 22px; padding-left: 0; gap: 0; }
.wh-row + .wh-row { top: 98px; }
.props-key { position: absolute; font-size: 12px; line-height: 12px; color: #d0d0d0; }
.wh-row .props-key { left: 50px; top: 5px; width: 12px; }
.wh-row .xkey { left: 136px; top: 5px; width: 12px; padding-left: 0; }
.wh-row .ykey { left: 136px; top: 5px; width: 12px; padding-left: 0; }
.mini-field {
  position: absolute; left: 68px; top: 0;
  width: 57px; height: 22px;
  background: #454545; border: 1px solid #666666; border-radius: 2px;
  padding: 0 2px; display: flex; align-items: center; box-sizing: border-box;
  font-size: 12px; color: #f0f0f0;
}
.wh-row .mini-field:nth-of-type(2) { left: 152px; }
.mini-field .num { position: static; color: #f0f0f0; line-height: 20px; font-size: 11px; }
.mini-field .unit {
  position: static; margin-left: 3px; padding-left: 0; line-height: 20px;
  font-size: 12px; color: #f0f0f0; border-left: 0;
}
.mini-field.dim { background: #4d4d4d; border-color: #5e5e5e; }
.mini-field.dim .num { color: #6d6d6d; }
.mini-field.dim .unit { color: #6d6d6d; border-left: 0; }

/* 链接图标真机 x1617..1624 y358..369；方向按钮 x1666/1692 y402..425（24x24） */
.props-link { position: absolute; left: 19px; top: 87px; width: 8px; height: 12px; }
.orient-row { position: absolute; left: 0; top: 131px; width: 306px; height: 24px; padding: 0; display: block; }
.orient-btn {
  position: absolute; top: 0; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px; border: 0; background: none; padding: 0;
}
.orient-btn:nth-of-type(1) { left: 68px; }
.orient-btn:nth-of-type(2) { left: 94px; }
/* 活动态真机外框 27x26（x1691..1717 y401..426）：1px #636363 边框 + #383838 底 */
.orient-btn.active { background: none; box-shadow: none; }
.orient-btn.active::before {
  content: ""; position: absolute; left: -1px; top: -1px; width: 27px; height: 26px;
  background: #383838; border: 1px solid #636363; border-radius: 2px; box-sizing: border-box;
}
.orient-btn img { position: relative; }

/* 分辨率行真机墨迹 x1667..1784 y438..449（12px 字号） */
.center-row { top: 167px; height: 12px; padding-left: 0; }
.center-row .props-text { position: absolute; left: 68px; top: 0; font-size: 12px; line-height: 12px; color: #d6d6d6; }

/* 字段行：模式 y460..482 / 位 y486..508 / 填色 y515..537
   组合框真机 x1668..1807（140x23，边框 #666666，底 #454545），caret x1797..1803 y466..471 */
.field-row { top: 189px; height: 23px; padding-left: 0; }
.field-row.opt-mode { top: 189px; height: 23px; }
.field-row.opt-bits { top: 215px; height: 23px; }
.field-row.opt-fill { top: 244px; height: 23px; }
.field-row .props-key {
  position: absolute; left: 37px; top: 4px; width: 30px;
  padding-left: 0; font-size: 12px; line-height: 12px; color: #d6d6d6;
}
.combo {
  position: absolute; left: 70px; top: 0;
  width: 140px; height: 23px;
  background: #454545; border: 1px solid #666666; border-radius: 2px;
  padding: 0 1px 0 8px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #f0f0f0; flex: none; line-height: 12px;
}
/* caret 真机墨迹 x1797..1803 y(行内 +10)..+14，7x5 */
.combo .combo-caret, .combo-caret {
  position: absolute; left: 128px; top: 9px; width: 7px; height: 5px;
  background: none; clip-path: none; flex: none;
}
.combo.indent { left: 70px; margin-left: 0; }
.combo.with-chip { left: 92px; width: 118px; padding-left: 10px; gap: 0; justify-content: space-between; }

.mini-field .unit { border-left: 0; }
.fill-chip {
  position: absolute; left: -23px; top: 0;
  width: 18px; height: 18px; background: #ffffff; border: 1px solid #363636;
  display: block; flex: none; box-sizing: border-box;
}

/* 滚动条：真机 x1904..1918，属性面板 y305..583（滑块 y323..463，上下 ^/v 细折线） */
.panel-scrollbar {
  position: absolute; left: 306px; top: 34px; bottom: auto;
  width: 16px; height: 279px; background: #4a4a4a; right: auto;
}
.panel-scrollbar::before,
.panel-scrollbar::after {
  content: ""; position: absolute; left: 5px; width: 9px; height: 4px;
  background-repeat: no-repeat;
}
.panel-scrollbar::before {
  top: 9px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='4'><path d='M0.5 3.5 4 0.6 7.5 3.5' fill='none' stroke='%237c7c7c' stroke-width='1'/></svg>");
}
.panel-scrollbar::after {
  top: 266px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='4'><path d='M0.5 0.5 4 3.4 7.5 0.5' fill='none' stroke='%237c7c7c' stroke-width='1'/></svg>");
}
.panel-scroll-thumb { position: absolute; left: 2px; width: 12px; background: #696969; border-radius: 0; }
.props-thumb { top: 18px; height: 141px; }

/* ---------------- 组3：图层面板 ---------------- */
.layers-body {
  position: absolute; left: 0; top: 28px; width: 321px; height: 391px;
  background: #535353; display: block; flex: none; min-height: 0; overflow: hidden;
}
.layers-filter { position: absolute; left: 0; top: 0; width: 321px; height: 32px; padding: 0; display: block; }
.layers-filter::after { content: ""; position: absolute; left: 0; top: 32px; width: 321px; height: 1px; background: #3e3e3e; }
/* 搜索框真机 x1601..1687 y647..669；图标 x1610..1619 y654..663；文字 x1625 y653..664；caret x1675..1686 y650..660 */
.search-field {
  position: absolute; left: 3px; top: 8px; width: 87px; height: 23px;
  background: #4d4d4d; border: 1px solid #5e5e5e; border-radius: 2px;
  display: flex; align-items: center; padding: 0 1px 0 8px; gap: 5px; box-sizing: border-box;
}
.search-text { font-size: 12px; color: #878787; flex: 1 1 auto; line-height: 23px; }
.search-field img:last-child { position: absolute; left: 74px; top: 3px; }
.filter-icons { position: absolute; left: 0; top: 0; width: 321px; height: 32px; margin-left: 0; display: block; }
.filter-btn {
  position: absolute; top: 0; padding: 0; display: block; border-radius: 0;
  border: 0; background: none;
}
/* 真机 6 个筛选图标墨迹坐标（相对面板 x1598/y639）：105,12 / 130,12 / 155,13 / 178,12 / 203,12 / 228,7 */
.filter-btn:nth-of-type(1) { left: 105px; top: 12px; width: 14px; height: 12px; }
.filter-btn:nth-of-type(2) { left: 130px; top: 12px; width: 13px; height: 13px; }
.filter-btn:nth-of-type(3) { left: 155px; top: 13px; width: 12px; height: 11px; }
.filter-btn:nth-of-type(4) { left: 178px; top: 12px; width: 13px; height: 13px; }
.filter-btn:nth-of-type(5) { left: 203px; top: 12px; width: 12px; height: 14px; }
.filter-extra { position: absolute; left: 228px; top: 7px; width: 14px; height: 18px; }

/* 图层混合行 y672..700：组合框 x1601..1718 y676..694（118x19） */
.layer-mode-row, .layer-lock-row {
  position: absolute; left: 0; width: 321px; height: 28px;
  padding: 0; display: block; border-top: 0;
}
.layer-mode-row { top: 33px; }
.layer-lock-row { top: 62px; }
.layer-mode-row::after, .layer-lock-row::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: #3e3e3e;
}
.layer-blend {
  position: absolute; left: 3px; top: 4px; width: 118px; height: 19px;
  background: #4d4d4d; border: 1px solid #5e5e5e; border-radius: 2px;
  padding: 4px 1px 0 10px; box-sizing: border-box; font-size: 12px; color: #878787;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.lock-label { position: absolute; font-size: 12px; line-height: 12px; color: #878787; margin-left: 0; }
.layer-mode-row .lock-label { left: 127px; top: 8px; }
/* 正常 下拉 caret 真机 x1708..1714 y687..689（7x3） */
.layer-blend .combo-caret { left: 106px; top: 10px; width: 7px; height: 3px; }
/* 不透明度：字段 x1782..1821 + caret 盒 x1822..1836，y676..694（19 高） */
.opacity-field,
.fill-field {
  position: absolute; left: 184px; top: 4px; width: 40px; height: 19px;
  background-color: #4d4d4d;
  background-image: linear-gradient(#454545, #454545);
  background-repeat: no-repeat;
  background-position: 3px 3px;
  background-size: 33px 14px;
  border: 1px solid #5e5e5e; border-radius: 2px 0 0 2px;
  padding: 5px 0 0 3px; box-sizing: border-box;
  font-size: 11px; color: #6d6d6d; margin-left: 0;
  display: flex; align-items: flex-start; line-height: 12px;
}
.opacity-field::after,
.fill-field::after {
  content: ""; position: absolute; left: 40px; top: -1px; width: 15px; height: 19px;
  background: #4d4d4d; border: 1px solid #5e5e5e; border-radius: 0 2px 2px 0;
  box-sizing: border-box; z-index: 0;
}
.opacity-field .field-caret,
.fill-field .field-caret { position: absolute; left: 44px; top: 9px; width: 7px; height: 4px; z-index: 1; }
.layer-lock-row .lock-btn { position: absolute; top: 0; padding: 0; display: block; border: 0; background: none; }
/* 真机 5 个锁定图标墨迹 x1641/1662/1684/1706/1730（相对行左 43/64/86/108/132） */
.layer-lock-row .lock-btn:nth-of-type(1) { left: 43px; top: 7px; width: 13px; height: 13px; }
.layer-lock-row .lock-btn:nth-of-type(2) { left: 64px; top: 7px; width: 14px; height: 14px; }
.layer-lock-row .lock-btn:nth-of-type(3) { left: 86px; top: 6px; width: 14px; height: 14px; }
.layer-lock-row .lock-btn:nth-of-type(4) { left: 108px; top: 8px; width: 15px; height: 13px; }
.lock-extra { position: absolute; left: 132px; top: 7px; width: 11px; height: 13px; }
.layer-lock-row .lock-label { left: 7px; top: 8px; }
.layer-lock-row .fill-label { left: 151px; top: 8px; margin-left: 0; }
/* 填充字段真机 x1782..1821 + caret 盒到 1836，y705..723 */
.layer-lock-row .fill-field { left: 184px; top: 4px; width: 41px; }
/* 真机填充字段右侧没有锁图标，隐藏 */
.layer-lock-row .fill-lock { display: none; }

/* 图层列表：真机 y732..1005（相对 93..366）；行高 33；活动高亮 x1627..1902 */
.layer-list-wrap { position: absolute; left: 0; top: 93px; width: 321px; height: 273px; display: block; min-height: 0; }
.layer-list {
  position: absolute; left: 0; top: 0; width: 306px; height: 273px;
  overflow-y: auto; overflow-x: hidden;
  background: #4d4d4d; margin-right: 0;
}
.layer-row {
  position: relative; height: 33px; display: block;
  padding-left: 0; background: #535353;
}
.layer-row.active::before {
  content: ""; position: absolute; left: 29px; width: 276px; top: 0; bottom: 0;
  background: #6b6b6b; border-left: 1px solid #454545;
}
.layer-row:hover { background: #555; }
.layer-row .eye {
  position: absolute; left: 8px; top: 8px; width: 15px; height: 14px;
  padding: 0; display: block; border: 0; background: none;
}
/* 缩略图真机 x1632..1663 y736..760：30x23 白图在 (1633,738)，上/左/右 1px #2e2e2e
   边框，顶部边框下留 1px 行底色（真机墨迹如此） */
.layer-row .thumb {
  position: absolute; left: 34px; top: 4px; width: 32px; height: 25px;
  margin-left: 0; display: block; overflow: hidden; padding: 0; border: 0; box-sizing: border-box;
  background-color: #6b6b6b;
  background-image:
    linear-gradient(#2e2e2e, #2e2e2e),
    linear-gradient(#2e2e2e, #2e2e2e),
    linear-gradient(#2e2e2e, #2e2e2e);
  background-repeat: no-repeat;
  background-position: 1px 0, 0 1px, 31px 1px;
  background-size: 30px 1px, 1px 24px, 1px 24px;
}
.layer-row .thumb img {
  position: absolute; left: 1px; top: 2px; width: 30px; height: 23px;
  display: block; margin: 0; background: #ffffff;
}
.layer-row .name {
  position: absolute; left: 75px; top: 1px; height: 33px; line-height: 33px; margin-left: 0;
  margin-left: 0; font-size: 12px; color: #f0f0f0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.layer-row .lock-icon { position: absolute; left: 278px; top: 10px; width: 12px; height: 14px; margin-right: 0; display: block; }
.layer-row .lock-icon img { display: block; }
/* 图层列表滚动条：真机 x1903..1918 整条 #4a4a4a、无可见滑块（列表未溢出） */
.panel-scrollbar.list-scrollbar {
  left: 305px; top: 0; width: 16px; height: 273px; right: auto; background: #4a4a4a;
}
.panel-scrollbar.list-scrollbar::before,
.panel-scrollbar.list-scrollbar::after { display: none; }
.layers-thumb { display: none; }

/* 底部图标条：真机 y1007..1030（y=1006 1px 分隔，#535353 底） */
.layer-footer {
  position: absolute; left: 0; top: 367px; width: 321px; height: 24px;
  background: #535353; border-top: 1px solid #3e3e3e;
  display: block; padding-right: 0; box-sizing: content-box;
}
.lf-btn { position: absolute; top: 0; padding: 0; display: block; border: 0; background: none; }
.lf-btn:nth-of-type(1) { left: 118px; top: 7px; width: 16px; height: 9px; }
.lf-btn:nth-of-type(2) { left: 147px; top: 5px; width: 13px; height: 14px; }
.lf-btn:nth-of-type(3) { left: 172px; top: 5px; width: 15px; height: 12px; }
.lf-btn:nth-of-type(4) { left: 201px; top: 5px; width: 13px; height: 13px; }
.lf-btn:nth-of-type(5) { left: 227px; top: 5px; width: 14px; height: 12px; }
.lf-btn:nth-of-type(6) { left: 255px; top: 5px; width: 13px; height: 13px; }
.lf-btn:nth-of-type(7) { left: 281px; top: 5px; width: 13px; height: 14px; }
.lf-btn:hover { background: #4a4a4a; }
.lf-btn img { display: block; }
.empty-hint { padding: 14px; font-size: 11px; color: #9a9a9a; line-height: 2; text-align: center; }
.empty-hint span { color: #7a7a7a; }


/* ============================================================
   app.css 兼容复位：app.css 里保留着首版面板样式（同选择器或更高特异度），
   本文件在其后加载，这里逐项把会泄漏的声明复位，保证量测几何生效。
   ============================================================ */
#group-color > .panel-tabs { height: 27px; flex: none; align-items: initial; padding-bottom: 0; }
.field-row .props-key + .combo { margin-left: 0; }
.combo.indent { margin-left: 0; }
.layer-row.active { background: #535353; }
.layer-row .name { margin-left: 0; }
.layer-row .lock-icon { display: block; margin-right: 0; }
.layer-lock-row .fill-label { margin-left: 0; }
.filter-btn.active { background: none; }
.lf-btn { display: block; }
.lf-btn img { display: block; }
.mini-field .unit { padding-left: 0; }


/* ============================================================
   面板正文 1-bit 文字（真机无抗锯齿渲染）
   ============================================================
   真机参考图里面板正文的 12px 汉字只有「底色 / 文字色」两种像素（无中间灰），
   而 Chrome 无法关闭文字抗锯齿。panels.js 的 installPanelTextFilter() 装一个同文档
   SVG alpha 阈值滤镜（feFuncA：alpha' = 100a - 85），装好后给 body 加 panel-text-sharp，
   这里才启用 —— 与画布上下文任务栏的 ctx-text-sharp 同一套机制。
   只作用面板正文文本元素；菜单/选项栏/标签栏/状态栏在真机上是抗锯齿渲染，保持不动。
   文字仍是真实 DOM 文本，没有转成图片。 */
/* 面板正文（#sidebar）与选项栏文本：真机里这些 CJK 是 1-bit 渲染，而 Chrome 没有关抗锯齿的开关 */
body.panel-text-sharp #sidebar .props-label,
body.panel-text-sharp #sidebar .section-title,
body.panel-text-sharp #sidebar .props-key,
body.panel-text-sharp #sidebar .num,
body.panel-text-sharp #sidebar .unit,
body.panel-text-sharp #sidebar .props-text,
body.panel-text-sharp #sidebar .combo > span,
body.panel-text-sharp #sidebar .lock-label,
body.panel-text-sharp #sidebar .opacity-field,
body.panel-text-sharp #sidebar .layer-row .name,
body.panel-text-sharp #sidebar .search-text,
body.panel-text-sharp #sidebar .empty-hint,
body.panel-text-sharp #optionsbar .opt-label,
body.panel-text-sharp #optionsbar .opt-combo > span,
body.panel-text-sharp #optionsbar .opt-btn,
body.panel-text-sharp #optionsbar .opt-field .num,
body.panel-text-sharp #optionsbar .opt-field .unit {
  filter: url("#panel-text-1bit");
}



