.tcSheetOverlay{position:fixed;inset:0;z-index:2147483000;background:rgba(5,17,24,.72);display:flex;align-items:center;justify-content:center;padding:14px;font-family:system-ui,sans-serif;direction:ltr}
.tcSheetPanel{width:min(1280px,100%);height:min(900px,100%);background:#fff;color:#182932;display:flex;flex-direction:column;border:1px solid #a9c8cb;box-shadow:0 24px 70px #0007;min-width:0;min-height:0}
.tcSheetTop{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#f2f9f8;border-bottom:1px solid #d2e2e2;flex-wrap:wrap}
.tcSheetTop strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:auto;max-width:45%;font-size:14px}
.tcSheetTop button,.tcSheetTabs button,.tcSheetFormula button{height:32px;border:1px solid #b8cccd;background:#fff;color:#17323b;padding:0 10px;cursor:pointer;font-size:13px;border-radius:4px}
.tcSheetTop button:hover,.tcSheetTabs button:hover{background:#e2f2ef}.tcSheetTop button:disabled{opacity:.4;cursor:default}
.tcSheetTop .tcSheetSave{background:#147e79;color:#fff;border-color:#147e79}.tcSheetTop .tcSheetClose{font-size:22px;line-height:1;width:32px;padding:0}
.tcSheetNotice{font-size:12px;color:#53747a;min-height:18px;padding:3px 12px}
.tcSheetNotice[data-error="1"]{color:#a23532}
.tcSheetFormula{display:flex;align-items:center;gap:8px;padding:5px 10px;border-block:1px solid #d9e4e4;min-height:38px}
.tcSheetAddress{width:74px;color:#177b76;font-weight:600;font-size:13px}.tcSheetFormula input{flex:1;min-width:0;border:1px solid #bdcfd1;padding:5px 9px;font:13px system-ui,sans-serif;color:#182932;background:#fff;border-radius:3px}
.tcSheetScroll{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.tcSheetGrid{border-collapse:separate;border-spacing:0;table-layout:fixed;font:13px system-ui,sans-serif;direction:ltr}
.tcSheetGrid th,.tcSheetGrid td{height:30px;min-width:126px;max-width:126px;border-right:1px solid #e0e8e8;border-bottom:1px solid #e0e8e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 7px;text-align:left;color:#1e3037;background:#fff;box-sizing:border-box}
.tcSheetGrid th{position:sticky;top:0;z-index:2;background:#edf5f4;text-align:center;font-weight:600;color:#446069}.tcSheetGrid .tcSheetRowHead{position:sticky;left:0;z-index:1;min-width:52px;max-width:52px;background:#edf5f4;text-align:center;padding:0}
.tcSheetGrid thead .tcSheetRowHead{z-index:3}.tcSheetGrid td[data-selected="1"]{outline:2px solid #168e83;outline-offset:-2px;background:#e5f6f2}
.tcSheetGrid td:focus{outline:2px solid #168e83;outline-offset:-2px}.tcSheetGrid td[contenteditable="true"]{white-space:pre;overflow:visible;background:#fff;z-index:2;position:relative}
.tcSheetTabs{display:flex;gap:4px;padding:7px 10px;background:#f3f8f8;border-top:1px solid #d2e2e2;overflow-x:auto;flex:none}
.tcSheetTabs button[aria-selected="true"]{border-bottom:2px solid #178e83;color:#08716c;font-weight:700}
@media(max-width:650px){.tcSheetOverlay{padding:0}.tcSheetPanel{height:100dvh;width:100%;border:0}.tcSheetTop strong{max-width:100%;width:100%;margin-right:0}.tcSheetTop{gap:5px;padding:7px}.tcSheetTop button{flex:1;padding:0 5px}.tcSheetTop .tcSheetClose{flex:none}.tcSheetGrid td,.tcSheetGrid th{min-width:112px;max-width:112px}}
.fileMsgMain .tcSheetAvatar{width:36px;height:36px;flex:0 0 36px;object-fit:contain;border-radius:8px}
.cloudItem.cloudItemSheet .cloudIcon{background:transparent}
.cloudItem.cloudItemSheet .cloudIcon .tcSheetAvatar{width:100%;height:100%;object-fit:contain;border-radius:8px}
.cloudItem.cloudItemOfficeFile .cloudIcon{background:transparent}
.cloudItem.cloudItemOfficeFile .cloudIcon .tcSheetAvatar{width:100%;height:100%;object-fit:contain;border-radius:8px}
.ticketSheetOpen .tcSheetAvatar{width:34px;height:34px;flex:0 0 34px;object-fit:contain;border-radius:6px}
.fileEvent > .tcSheetAvatar{width:34px;height:34px;flex:0 0 34px;object-fit:contain;border-radius:6px}

.tcSheetCompatibility{margin:0 12px 5px;padding:6px 10px;background:#fff5d9;color:#72581d;font:12px/1.7 system-ui;direction:inherit}.tcSheetTop{direction:inherit}.tcSheetOverlay[dir=rtl] .tcSheetTop strong{margin-left:auto;margin-right:0}.tcSheetOverlay button{font-family:inherit}
