:root{--blue:#06a7ff;--blue-deep:#1677ff;--ink:#20232a;--muted:#87909f;--line:#edf0f4;--page:#f5f6f8;--panel:#fff;--shadow:0 10px 35px rgba(28,39,60,.06)}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--page);color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}
button,a{font:inherit;-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{text-decoration:none;color:inherit}
.topbar{height:64px;background:#fff;border-bottom:1px solid #e7eaf0;box-shadow:0 2px 10px rgba(27,39,63,.04);position:sticky;top:0;z-index:20}
.topbar-inner{height:100%;display:flex;align-items:center;padding:0 20px;gap:30px}
.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:800;white-space:nowrap}
.brand-mark{width:34px;height:34px;display:grid;grid-template-columns:1fr 1fr;gap:3px}.brand-mark i{border-radius:3px}.brand-mark i:nth-child(1){background:#5a6ce2}.brand-mark i:nth-child(2){background:#7e89dd}.brand-mark i:nth-child(3){background:#7188c2}.brand-mark i:nth-child(4){background:#69aabd}
.nav{height:100%;display:flex;align-items:center;gap:38px}.nav>a,.more-trigger{height:100%;display:flex;align-items:center;border:0;background:none;padding:0;color:#313843;font-weight:600;position:relative;white-space:nowrap}.nav>a:hover,.more-trigger:hover{color:var(--blue-deep)}.nav>a.active{color:var(--blue-deep)}.nav>a.active:after{content:"";position:absolute;height:3px;left:0;right:0;bottom:0;border-radius:3px;background:var(--blue)}
.more{height:100%;position:relative}.more-trigger{gap:7px}.more-trigger svg{width:14px;transition:.2s}.more.open .more-trigger svg{transform:rotate(180deg)}
.product-menu{position:absolute;top:58px;left:-150px;width:500px;padding:15px;background:#fff;border:1px solid #e5e9f0;border-radius:14px;box-shadow:0 18px 48px rgba(22,36,63,.16);display:none;grid-template-columns:1fr 1fr;gap:5px}.more.open .product-menu{display:grid}
.product-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center;padding:11px;border-radius:11px;color:#222b38}.product-item:hover{background:#f6f8fc}.product-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eaf3ff;color:#1677ff;box-shadow:inset 0 0 0 1px rgba(22,119,255,.06)}.product-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.product-item:nth-child(2) .product-icon{background:#e9fbf4;color:#00a870;box-shadow:inset 0 0 0 1px rgba(0,168,112,.07)}.product-item:nth-child(3) .product-icon{background:#fff4e8;color:#f08c00;box-shadow:inset 0 0 0 1px rgba(240,140,0,.07)}.product-item:nth-child(4) .product-icon{background:#f2ecff;color:#7b61ff;box-shadow:inset 0 0 0 1px rgba(123,97,255,.07)}.product-item:nth-child(5) .product-icon{background:#e9f9ff;color:#00a3c7;box-shadow:inset 0 0 0 1px rgba(0,163,199,.07)}.product-item:nth-child(6) .product-icon{background:#fff0f3;color:#ed4c78;box-shadow:inset 0 0 0 1px rgba(237,76,120,.07)}.product-item b{display:block;font-size:14px;line-height:1.35;color:#222b38;font-weight:750}.product-item span:last-child{display:block;font-size:12px;line-height:1.45;color:#687386;margin-top:2px}
.top-spacer{flex:1}.top-actions{display:flex;align-items:center;gap:18px;color:#424a55;white-space:nowrap}.top-actions>a:hover{color:var(--blue-deep)}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#dff4ff,#b9defb);color:#1477ce;font-weight:800}.user{display:flex;align-items:center;gap:8px}.icon-link{width:34px;height:34px;border:0;background:#fff;display:grid;place-items:center;border-radius:8px}.icon-link:hover{background:#f4f7fb}.icon-link svg{width:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.mobile-nav-btn{display:none;width:38px;height:38px;border:1px solid #dfe4ec;border-radius:10px;background:#fff;color:#4a5565}.mobile-nav-btn svg{width:20px;fill:none;stroke:currentColor;stroke-width:2}
.page{width:min(1180px,calc(100% - 36px));margin:18px auto 34px}
.share-panel{background:#fff;border-radius:18px;box-shadow:var(--shadow);overflow:hidden;min-height:660px}
.owner-strip{height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 24px;gap:9px;color:#5d6672}.owner-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e9f5ff;color:#147bd1;font-weight:800}.owner-strip b{font-size:13px}.vip{font-size:10px;color:#fff;background:#b4bdc9;border-radius:10px;padding:1px 5px}
.share-summary{padding:25px 28px 21px;display:flex;align-items:flex-start;gap:18px;border-bottom:1px solid var(--line)}.share-symbol{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#e6f5ff,#f1f7ff);color:var(--blue-deep);flex:none}.share-symbol svg{width:27px;fill:none;stroke:currentColor;stroke-width:1.8}.summary-copy{min-width:0;flex:1}.summary-copy h1{font-size:22px;line-height:1.35;margin:0 0 6px}.summary-copy p{margin:0;color:var(--muted);font-size:13px}.summary-actions{display:flex;align-items:center;gap:10px;padding-top:4px}
.btn{height:40px;padding:0 20px;border:1px solid #dfe5ed;border-radius:9px;background:#fff;color:#4b5665;font-weight:700}.btn:hover{border-color:#b9dfff;color:var(--blue-deep);background:#f7fbff}.btn.primary{color:#fff;border-color:var(--blue-deep);background:var(--blue-deep);box-shadow:0 7px 16px rgba(22,119,255,.18)}.btn.primary:hover{background:#0b68ea;color:#fff}
.file-toolbar{height:60px;display:flex;align-items:center;padding:0 28px;border-bottom:1px solid var(--line);gap:14px}.crumb{font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crumb span{color:#9ca4af;margin:0 7px}.toolbar-space{flex:1}.selected-text{color:var(--muted);font-size:13px}.view-switch{display:flex;padding:3px;background:#f5f7fa;border-radius:8px}.view-btn{height:30px;padding:0 11px;border:0;border-radius:6px;background:transparent;color:#7c8592;font-weight:700}.view-btn.active{background:#fff;color:var(--blue-deep);box-shadow:0 2px 8px rgba(25,44,80,.08)}
.file-head,.file-row{display:grid;grid-template-columns:42px minmax(220px,1fr) 130px 130px 128px;align-items:center}.file-head{height:44px;padding:0 28px;background:#fafbfc;color:#7e8794;font-size:12px}.files{padding-bottom:18px}.file-row{min-height:66px;padding:8px 28px;border-bottom:1px solid var(--line);transition:.15s}.file-row:hover{background:#f8fbff}.check{width:17px;height:17px;border:1px solid #cbd2dc;border-radius:4px;background:#fff;display:grid;place-items:center;color:#fff;font-size:11px}.file-row.selected .check{background:var(--blue-deep);border-color:var(--blue-deep)}.file-main{display:flex;align-items:center;gap:12px;min-width:0}.ficon{width:36px;height:40px;border-radius:8px 8px 6px 6px;display:grid;place-items:end center;padding-bottom:4px;position:relative;color:#fff;font-weight:900;font-size:9px;flex:none}.ficon:before{content:"";position:absolute;right:0;top:0;border-left:9px solid transparent;border-bottom:9px solid rgba(255,255,255,.8)}.ficon.folder{background:#f8b83e;place-items:center;padding:0;font-size:0}.ficon.folder:before{display:none}.ficon.folder:after{content:"";width:20px;height:13px;border:2px solid #fff;border-radius:2px}.ficon.pdf{background:#f45d82}.ficon.doc{background:#5c7df5}.ficon.video{background:#25a8d8}.ficon.zip{background:#f0aa36}.file-name{min-width:0}.file-name b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-name span,.cell{color:#8b94a1;font-size:12px}.cell-actions{display:flex;justify-content:flex-end;gap:7px}.action-btn{height:31px;padding:0 11px;border:1px solid #dfe5ed;border-radius:8px;background:#fff;color:#556171;font-weight:700}.action-btn:hover{border-color:#acd9ff;color:var(--blue-deep);background:#f7fbff}
.file-panel.grid .file-head{display:none}.file-panel.grid .files{display:grid;grid-template-columns:repeat(auto-fill,minmax(178px,1fr));gap:12px;padding:18px 28px}.file-panel.grid .file-row{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:205px;padding:26px 12px 12px;border:1px solid #e5e9ef;border-radius:12px;background:#fff}.file-panel.grid .file-row:hover{border-color:#b6ddff;box-shadow:0 10px 24px rgba(42,97,150,.08)}.file-panel.grid .file-row>.check{position:absolute;left:11px;top:11px}.file-panel.grid .file-main{width:100%;flex-direction:column;text-align:center}.file-panel.grid .ficon{width:50px;height:56px;font-size:10px}.file-panel.grid .file-name{width:100%}.file-panel.grid .file-name b{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.45;min-height:40px}.file-panel.grid .cell{display:none}.file-panel.grid .cell-actions{margin-top:8px;justify-content:center}
.footer{color:#99a1ad;text-align:center;font-size:12px;padding:2px 16px 30px}.footer a{margin:0 8px}.footer a:hover{color:var(--blue-deep)}
.modal{position:fixed;inset:0;z-index:50;background:#f1f3f6;display:none;padding:0}.modal.show{display:block}.preview{width:100%;height:100%;border-radius:0;background:#f1f3f6;overflow:hidden;display:flex;flex-direction:column;box-shadow:none}.preview-top{height:64px;flex:none;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 18px}.preview-back{height:40px;padding:0 17px 0 13px;border:0;border-radius:12px;background:linear-gradient(135deg,#1677ff,#536dfe);color:#fff;display:inline-flex;align-items:center;gap:7px;font-weight:800;box-shadow:0 8px 20px rgba(22,119,255,.24);transition:transform .18s,box-shadow .18s}.preview-back:hover{transform:translateY(-1px);box-shadow:0 11px 24px rgba(22,119,255,.3)}.preview-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.preview-body{flex:1;min-height:0;overflow:auto;padding:30px;display:grid;place-items:start center}.paper{width:min(680px,100%);min-height:480px;background:#fff;padding:42px;box-shadow:0 8px 24px rgba(24,37,58,.08)}.paper h2{font-size:25px;margin-top:0}.paper p{color:#566171}
@media(max-width:860px){.topbar{height:58px}.topbar-inner{padding:0 13px;gap:10px}.brand{font-size:18px}.brand-mark{width:29px;height:29px}.nav{position:absolute;left:0;top:0;width:0;height:0;display:block}.nav>a,.nav .more-trigger,.top-actions .user,.top-actions .icon-link{display:none}.nav .more{position:static;height:0}.top-spacer{flex:1}.top-actions{gap:0}.top-actions>a{display:flex;align-items:center;height:36px;padding:0 10px;border:1px solid #dfe4ec;border-radius:9px;font-size:13px;font-weight:700}.mobile-nav-btn{display:grid;place-items:center}.product-menu{position:fixed;left:12px;right:12px;top:62px;width:auto;grid-template-columns:1fr 1fr}.page{width:calc(100% - 20px);margin:10px auto 22px}.share-panel{border-radius:13px;min-height:0}.owner-strip{height:52px;padding:0 14px}.share-summary{padding:18px 14px 15px;display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px}.share-symbol{width:44px;height:44px;border-radius:11px}.summary-copy h1{font-size:19px}.summary-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;padding-top:4px}.summary-actions .btn{padding:0 8px}.file-toolbar{height:54px;padding:0 12px;gap:8px}.selected-text{display:none}.file-head{display:none}.file-row{grid-template-columns:27px minmax(0,1fr) auto;padding:9px 12px;min-height:67px}.file-row>.cell{display:none}.cell-actions{gap:4px}.cell-actions .action-btn{display:inline-flex;align-items:center;justify-content:center;height:30px;min-width:44px;padding:0 8px}.file-panel.grid .files{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}.file-panel.grid .file-row{min-height:185px;padding:25px 7px 10px}.file-panel.grid .cell-actions{display:flex;align-items:center;justify-content:center;gap:5px}.file-panel.grid .cell-actions .action-btn{display:inline-flex;align-items:center;justify-content:center}.preview{height:100%;border-radius:0}.preview-top{height:58px;padding:0 12px}.preview-back{height:38px;padding:0 14px 0 11px;border-radius:10px}.preview-body{padding:12px}.paper{padding:25px 18px}.footer{padding-bottom:24px}}
@media(max-width:420px){.product-menu{grid-template-columns:1fr;max-height:calc(100vh - 76px);overflow:auto}.view-btn{padding:0 8px}.crumb span{display:none}.file-name b{font-size:13px}}
.select-all-wrap{display:flex;align-items:center;gap:6px;color:#697383;font-size:13px;white-space:nowrap}.check{padding:0;line-height:1}.check:after{content:"✓";display:none;width:100%;height:100%;align-items:center;justify-content:center;line-height:17px;text-align:center}.file-row.selected .check:after,.check.selected:after{display:flex}.check.selected{background:var(--blue-deep);border-color:var(--blue-deep)}
.owner-report{margin-left:auto;height:32px;padding:0 11px;border:1px solid #dfe5ed;border-radius:9px;background:#fff;color:#697586;display:inline-flex;align-items:center;gap:5px;font-weight:700}.owner-report:hover{border-color:#ffb8b8;background:#fff7f7;color:#e5484d}.owner-report svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.report-modal{position:fixed;inset:0;z-index:80;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(20,29,43,.58);backdrop-filter:blur(3px)}.report-modal.show{display:flex}.report-dialog{width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto;border-radius:16px;background:#fff;box-shadow:0 26px 70px rgba(0,0,0,.26)}.report-head{height:64px;padding:0 22px;border-bottom:1px solid var(--line);display:flex;align-items:center}.report-head h2{margin:0;font-size:20px;flex:1}.report-close{width:36px;height:36px;border:1px solid #dfe5ed;border-radius:10px;background:#fff;color:#667282;font-size:25px;line-height:1}.report-close:hover{background:#f5f7fa;color:#263243}.report-form{padding:24px 28px 26px}.report-tip{margin:0 0 18px;color:#354152;font-weight:700}.report-reasons{display:grid;grid-template-columns:1fr 1fr;gap:16px 38px;margin-bottom:24px}.report-reasons label{display:flex;align-items:center;gap:9px;color:#4f5a69;cursor:pointer}.report-reasons input{width:17px;height:17px;margin:0;accent-color:var(--blue-deep)}.report-notes{display:grid;gap:9px;color:#354152;font-weight:700}.report-notes textarea{width:100%;height:118px;resize:vertical;padding:13px;border:1px solid #d8dee8;border-radius:10px;outline:0;color:#283442;font:inherit}.report-notes textarea:focus{border-color:#7fbcff;box-shadow:0 0 0 3px rgba(22,119,255,.1)}.report-feedback{min-height:20px;margin:10px 0 0;color:#e5484d;font-size:13px}.report-feedback.success{color:#0b9a66}.report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px}
@media(max-width:860px){.owner-report{height:30px;padding:0 9px}.owner-report span{display:none}.report-modal{padding:10px}.report-dialog{max-height:calc(100vh - 20px);border-radius:14px}.report-head{height:56px;padding:0 16px}.report-head h2{font-size:18px}.report-form{padding:20px 18px 18px}.report-reasons{grid-template-columns:1fr;gap:14px;margin-bottom:20px}.report-notes textarea{height:105px}.report-actions .btn{flex:1}}

/* 分享页统一细节：隐藏分享者条、文件夹原位浏览、举报按钮与关闭按钮 */
.owner-strip{display:none!important}
.summary-actions .owner-report{margin-left:0;height:40px;padding:0 14px;border-color:#dfe5ed;color:#697586}
.summary-actions .owner-report:hover{border-color:#bfdcff;background:#f3f8ff;color:var(--blue-deep)}
.crumb-link{border:0;background:transparent;padding:0;color:var(--blue-deep);font-weight:800;cursor:pointer}
.crumb-link:hover{color:#075fcc;text-decoration:none}
.report-close{position:relative;display:grid;place-items:center;padding:0;font-size:0;line-height:0;color:transparent}
.report-close::before,.report-close::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;border-radius:2px;background:#6d7887;transform-origin:center}
.report-close::before{transform:translate(-50%,-50%) rotate(45deg)}
.report-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.report-close:hover{border-color:#bfdcff;background:#eef5ff;color:transparent}
.report-close:hover::before,.report-close:hover::after{background:var(--blue-deep)}
@media(max-width:860px){
  .summary-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 40px}
  .summary-actions .owner-report{width:40px;height:40px;padding:0;justify-content:center}
  .summary-actions .owner-report svg{width:18px;height:18px}
}

/* v136: keep the operation heading and its two controls on one centered axis. */
.file-head>span:last-child{text-align:center}
.file-row>.cell-actions{justify-content:center}

/* v137: use Alibaba Ant Design's ShareAlt outline in both share actions. */
[data-open-share] svg,[data-system-share] svg{display:none!important}
[data-open-share]::before,[data-system-share]::before{
  content:"";
  width:22px;
  height:22px;
  display:block;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M768 640c-45.9 0-87.1 19.6-116 50.8L370.2 534.3c4.4-14.8 6.8-30.5 6.8-46.7 0-16.1-2.4-31.8-6.8-46.6L652 284.5c28.9 31.2 70.1 50.8 116 50.8 88.4 0 160-71.6 160-160s-71.6-160-160-160-160 71.6-160 160c0 16.2 2.4 31.9 6.9 46.7L333.3 378.4A159.3 159.3 0 0 0 216 327.6c-88.4 0-160 71.6-160 160s71.6 160 160 160c45.9 0 87.1-19.6 116-50.8l281.8 156.5a160.6 160.6 0 0 0-5.8 42.7c0 88.4 71.6 160 160 160s160-71.6 160-160-71.6-160-160-160zm0-552a87.3 87.3 0 1 1 0 174.6A87.3 87.3 0 0 1 768 88zM216 574.9a87.3 87.3 0 1 1 0-174.6 87.3 87.3 0 0 1 0 174.6zM768 883.3a87.3 87.3 0 1 1 0-174.6 87.3 87.3 0 0 1 0 174.6z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M768 640c-45.9 0-87.1 19.6-116 50.8L370.2 534.3c4.4-14.8 6.8-30.5 6.8-46.7 0-16.1-2.4-31.8-6.8-46.6L652 284.5c28.9 31.2 70.1 50.8 116 50.8 88.4 0 160-71.6 160-160s-71.6-160-160-160-160 71.6-160 160c0 16.2 2.4 31.9 6.9 46.7L333.3 378.4A159.3 159.3 0 0 0 216 327.6c-88.4 0-160 71.6-160 160s71.6 160 160 160c45.9 0 87.1-19.6 116-50.8l281.8 156.5a160.6 160.6 0 0 0-5.8 42.7c0 88.4 71.6 160 160 160s160-71.6 160-160-71.6-160-160-160zm0-552a87.3 87.3 0 1 1 0 174.6A87.3 87.3 0 0 1 768 88zM216 574.9a87.3 87.3 0 1 1 0-174.6 87.3 87.3 0 0 1 0 174.6zM768 883.3a87.3 87.3 0 1 1 0-174.6 87.3 87.3 0 0 1 0 174.6z'/%3E%3C/svg%3E") center/contain no-repeat
}

/* 分享主体改为默认头像与脱敏账号，不再展示文件包标题。 */
.share-summary{align-items:center;padding-top:20px;padding-bottom:20px}
.summary-copy:not(.account-ready){visibility:hidden}
.share-avatar{width:52px;height:52px;border-radius:50%;background:linear-gradient(145deg,#dff3ff,#edf6ff);color:#58aaf4;box-shadow:inset 0 0 0 1px rgba(22,119,255,.08),0 6px 16px rgba(52,139,224,.12)}
.share-avatar svg{width:42px;height:42px;fill:currentColor;stroke:none}
.share-avatar svg circle{fill:#fff}
.share-avatar .avatar-smile{fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round}
.share-account-line{display:flex;align-items:center;gap:7px;min-width:0;line-height:1.35}
.share-account-line strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#202a37;font-size:16px;font-weight:800}
.share-account-meta{margin-top:6px;color:#7f8997;font-size:13px;white-space:normal}
.share-account-line .owner-report{width:auto;height:auto;margin:0;padding:2px 5px;border:0;border-radius:5px;background:transparent;color:var(--blue-deep);box-shadow:none;font-size:12px;font-weight:700;gap:3px}
.share-account-line .owner-report svg{display:none}
.share-account-line .owner-report:hover{border:0;background:#eef5ff;color:#075fcc}
@media(max-width:860px){
  .share-summary{padding-top:16px;padding-bottom:15px;grid-template-columns:46px minmax(0,1fr)}
  .share-avatar{width:46px;height:46px}
  .share-avatar svg{width:37px;height:37px}
  .share-account-line strong{font-size:15px}
  .share-account-meta{font-size:12px;line-height:1.5}
  .share-account-line .owner-report{display:inline-flex;width:auto;height:auto;padding:2px 5px}
  .share-account-line .owner-report span{display:inline}
  .summary-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}

/* 清单与宫格使用统一图标；电脑端通过 title 显示悬停说明。 */
.view-btn{width:34px;padding:0;display:inline-grid;place-items:center}
.view-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}

/* 手机端底部操作区：下载全部在前，保存云盘在后，版权信息位于最底部。 */
@media(max-width:860px){
  body{padding-bottom:106px}
  .summary-actions{
    position:fixed;
    left:0;
    right:0;
    bottom:36px;
    z-index:35;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:10px;
    padding:10px 14px;
    background:#fff;
    border-top:1px solid #e6ebf2;
    box-shadow:0 -10px 28px rgba(30,47,76,.09)
  }
  .summary-actions .btn,
  .summary-actions .btn.primary{
    width:100%;
    height:42px;
    padding:0 8px;
    color:#fff;
    border-color:var(--blue-deep);
    background:var(--blue-deep);
    box-shadow:0 6px 15px rgba(22,119,255,.18)
  }
  .summary-actions .btn:hover,
  .summary-actions .btn.primary:hover{color:#fff;background:#0b68ea;border-color:#0b68ea}
  .footer{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:34;
    height:36px;
    padding:0 6px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;
    white-space:nowrap;
    background:#fff;
    border-top:1px solid #edf0f4;
    color:#98a1ae;
    font-size:10px
  }
  .footer a{margin:0 3px}
  .view-switch{padding:3px;gap:2px}
  .view-btn{width:30px;height:30px;padding:0}
  .view-btn svg{width:17px;height:17px}
}

/* 文件操作统一为图标，电脑端由 title 提供悬停名称，手机端仅展示图标。 */
.action-btn{
  width:34px;
  min-width:34px;
  padding:0;
  display:inline-grid;
  place-items:center;
  font-size:0
}
.action-btn::before{
  content:"";
  width:21px;
  height:21px;
  display:block;
  background:currentColor;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain
}
.action-btn[data-action="open"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h6l2 2h10l-2 9H5L3 7Zm0 0V5h6l2 2' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h6l2 2h10l-2 9H5L3 7Zm0 0V5h6l2 2' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}
.action-btn[data-action="preview"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.7' fill='none' stroke='black' stroke-width='2.25'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.7' fill='none' stroke='black' stroke-width='2.25'/%3E%3C/svg%3E")
}
.action-btn[data-action="download"]::before{
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v11m0 0 4-4m-4 4-4-4M5 17v3h14v-3' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3v11m0 0 4-4m-4 4-4-4M5 17v3h14v-3' fill='none' stroke='black' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
}
@media(max-width:860px){
  .cell-actions .action-btn,
  .file-panel.grid .cell-actions .action-btn{
    width:32px;
    min-width:32px;
    height:30px;
    padding:0;
    display:inline-grid;
    place-items:center
  }
  .action-btn::before{width:20px;height:20px}
}

/* 操作图标采用无边框黑色极简样式，仅在交互时给出轻量反馈。 */
.cell-actions .action-btn{
  position:relative;
  width:34px;
  min-width:34px;
  height:32px;
  padding:0;
  display:inline-grid;
  place-items:center;
  color:#172033;
  background:transparent;
  border-color:transparent;
  border-radius:8px;
  box-shadow:none;
  transform:translateY(0);
  transition:background-color .16s,border-color .16s,color .16s,box-shadow .12s,transform .12s
}
.cell-actions .action-btn::before{margin:auto}
.cell-actions .action-btn[data-action]{color:#172033;background:transparent;border-color:transparent}
.cell-actions .action-btn[data-action]:hover{color:#05080d;background:#f1f3f6;border-color:transparent;box-shadow:none}
.cell-actions .action-btn:active{
  transform:translateY(1px) scale(.97);
  background:#e4e8ee;
  box-shadow:inset 0 2px 5px rgba(28,45,69,.2)
}
@media(max-width:860px){
  .cell-actions .action-btn,
  .file-panel.grid .cell-actions .action-btn{width:32px;min-width:32px;height:30px;border-radius:8px}
}

/* 手机端取消分享内容外框，让内容与页面无缝衔接。 */
@media(max-width:860px){
  html,
  body{background:#fff}
  .page{
    width:100%;
    margin:0 0 22px
  }
  .share-panel{
    min-height:0;
    overflow:visible;
    border:0;
    border-radius:0;
    background:#fff;
    box-shadow:none
  }
}

/* v138: the primary share and download actions use a neutral black outline. */
.summary-actions [data-open-share],
.summary-actions [data-download-all],
.summary-actions [data-download-all].primary{
  border:1px solid #111827!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important
}
.summary-actions [data-open-share]:hover,
.summary-actions [data-download-all]:hover,
.summary-actions [data-download-all].primary:hover{
  border-color:#111827!important;
  background:#111827!important;
  color:#fff!important
}
.summary-actions [data-open-share]:active,
.summary-actions [data-download-all]:active{
  transform:translateY(1px)
}

.top-actions>.public-user-entry{
  min-height:36px;
  padding:0 4px;
  border:0;
  background:transparent;
  color:#273244;
  box-shadow:none
}
.top-actions>.public-user-entry:hover{
  border-color:transparent;
  background:transparent;
  color:#1677ff;
  box-shadow:none
}

/* v139: desktop uses a fixed shell; only the file area scrolls. */
@media(min-width:861px){
  html,
  body{
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden
  }
  body{
    display:flex;
    flex-direction:column
  }
  #publicShareApp{
    width:100%;
    height:100%;
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden
  }
  .topbar{
    position:relative;
    top:auto;
    flex:0 0 64px
  }
  .page{
    flex:1 1 auto;
    min-height:0;
    margin:18px auto 0;
    display:flex;
    flex-direction:column;
    overflow:hidden
  }
  .share-panel{
    flex:1 1 auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden
  }
  .share-summary,
  .file-toolbar,
  .file-head{
    flex:none
  }
  .file-panel{
    flex:1 1 auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    overflow:hidden
  }
  .files,
  .file-panel.grid .files{
    flex:1 1 auto;
    min-height:0;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    align-content:start
  }
  .footer{
    flex:0 0 48px;
    height:48px;
    padding:0 16px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--page)
  }
}

/* 登录注册入口使用清晰的主色按钮。 */
.top-actions>a{
  height:36px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--blue-deep);
  border-radius:9px;
  background:var(--blue-deep);
  color:#fff;
  font-weight:750;
  box-shadow:0 6px 15px rgba(22,119,255,.18);
  transition:background-color .16s,border-color .16s,box-shadow .16s,transform .12s
}
.top-actions>a:hover{
  border-color:#0b68ea;
  background:#0b68ea;
  color:#fff;
  box-shadow:0 8px 18px rgba(22,119,255,.25)
}
.top-actions>a:active{
  transform:translateY(1px);
  box-shadow:inset 0 2px 5px rgba(0,43,112,.22)
}
@media(max-width:860px){
  .top-actions>a{
    height:36px;
    padding:0 12px;
    border-color:var(--blue-deep);
    background:var(--blue-deep);
    color:#fff
  }
}

/* 正式分享页的读取、空状态、密码校验和轻提示。 */
.public-share-loading{min-height:100vh;display:grid;place-items:center;color:#697586;font-weight:700}
.share-access{min-height:520px;padding:42px 20px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}
.share-access h1{margin:0 0 8px;font-size:24px}.share-access p{margin:0 0 22px;color:#7f8997}
.share-access>.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.share-access>div{width:min(440px,100%);display:flex;gap:10px}.share-access input{min-width:0;flex:1;height:44px;padding:0 13px;border:1px solid #d9e0ea;border-radius:10px;outline:0;font:inherit}.share-access input:focus{border-color:#87bdff;box-shadow:0 0 0 3px rgba(22,119,255,.1)}
.share-empty{grid-column:1/-1;min-height:280px;display:grid;place-items:center;color:#98a1ae}
.share-toast{position:fixed;left:50%;bottom:42px;z-index:120;max-width:min(520px,calc(100% - 28px));padding:12px 18px;border-radius:10px;background:#263243;color:#fff;font-weight:700;box-shadow:0 12px 30px rgba(16,24,40,.24);opacity:0;pointer-events:none;transform:translate(-50%,12px);transition:.2s}
.share-toast.show{opacity:1;transform:translate(-50%,0)}.share-toast.error{background:#c53c50}
.public-preview-host{position:relative;width:100%;height:100%;min-height:0;padding:0;overflow:hidden;display:block}
.public-preview-host iframe{width:100%;height:100%;border:0;background:#fff}
@media(max-width:860px){
  .share-access{min-height:390px;padding:32px 16px}.share-access h1{font-size:21px}.share-access>div{display:grid;grid-template-columns:1fr}.share-toast{bottom:118px}
}

/* 分享、登录与保存目录交互 */
.public-login-entry,.public-user-entry{
  min-height:36px;padding:0 14px;border:1px solid var(--blue-deep);border-radius:9px;background:var(--blue-deep);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-size:13px;font-weight:800;box-shadow:0 6px 15px rgba(22,119,255,.18)
}
.public-login-entry:hover,.public-user-entry:hover{background:#0b68ea;border-color:#0b68ea;color:#fff}
.public-auth-avatar{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18)}
.public-auth-avatar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.share-page-button{width:40px;height:40px;border:1px solid #dfe5ed;border-radius:10px;background:#fff;color:#465365;display:grid;place-items:center;flex:none}
.share-page-button:hover{border-color:#9dccff;background:#f1f7ff;color:var(--blue-deep)}
.share-page-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.share-dialog-layer{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(23,32,47,.58);backdrop-filter:blur(4px)}
.share-dialog{width:min(560px,100%);max-height:calc(100vh - 36px);overflow:auto;border-radius:18px;background:#fff;box-shadow:0 28px 80px rgba(14,24,41,.28)}
.share-dialog>header{min-height:78px;padding:17px 20px 16px;border-bottom:1px solid #e7ebf1;display:flex;align-items:center;gap:16px}
.share-dialog>header>div{min-width:0;flex:1}.share-dialog h2{margin:0 0 5px;font-size:20px}.share-dialog>header p{margin:0;color:#7e8897;font-size:13px}
.dialog-close{width:38px;height:38px;padding:0;border:1px solid #dde4ed;border-radius:11px;background:#fff;color:#667282;display:grid;place-items:center;font-size:25px;line-height:1}
.dialog-close:hover{background:#eef5ff;border-color:#b9d9ff;color:var(--blue-deep)}
.dialog-feedback{min-height:19px;margin:6px 0 0;color:#d84655;font-size:13px}.dialog-feedback.success{color:#079566}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;margin:18px 22px 4px;padding:4px;border-radius:11px;background:#f2f5f9}.auth-tabs button{height:38px;border:0;border-radius:8px;background:transparent;color:#6e7988;font-weight:800}.auth-tabs button.active{background:#fff;color:var(--blue-deep);box-shadow:0 3px 10px rgba(38,56,83,.09)}
.auth-form{display:none;padding:14px 22px 8px}.auth-form.active{display:grid;gap:14px}.auth-form label{display:grid;gap:7px;color:#3e4856;font-size:13px;font-weight:800}.auth-form input{width:100%;height:44px;padding:0 13px;border:1px solid #d8e0ea;border-radius:10px;outline:0;font:inherit}.auth-form input:focus{border-color:#7db8ff;box-shadow:0 0 0 3px rgba(22,119,255,.1)}.auth-submit{width:100%;margin-top:1px}.code-field{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:8px}.code-field button{border:1px solid #d8e0ea;border-radius:10px;background:#f6f9fc;color:var(--blue-deep);font-weight:800}.code-field button:disabled{color:#98a1ae}.auth-agreement{display:flex!important;align-items:flex-start;gap:7px!important;color:#7b8593!important;font-weight:500!important}.auth-agreement input{width:16px;height:16px;margin-top:1px}.auth-agreement a{color:var(--blue-deep)}.auth-other{margin:12px 22px 22px;padding-top:15px;border-top:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between;color:#8b95a3;font-size:13px}.auth-other a{height:34px;padding:0 12px;border:1px solid #dce3ec;border-radius:9px;display:inline-flex;align-items:center;color:#1b8d57;font-weight:800}.auth-other a:hover{background:#f1fbf6}
.save-dialog{width:min(620px,100%)}.save-location{height:55px;padding:0 18px;border-bottom:1px solid #edf0f4;display:flex;align-items:center;gap:10px}.save-location>button{height:34px;padding:0 11px;border:1px solid #dce3ec;border-radius:9px;background:#fff;color:#536071;display:inline-flex;align-items:center;gap:6px;font-weight:800}.save-location>button:disabled{opacity:.4}.save-location>button:last-child{margin-left:auto;color:var(--blue-deep)}.save-location svg,.save-folder-row svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.save-location strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-folder-list{height:min(310px,40vh);overflow:auto;padding:10px 14px}.save-folder-row{width:100%;height:50px;padding:0 12px;border:0;border-radius:10px;background:#fff;color:#354151;display:grid;grid-template-columns:29px minmax(0,1fr) 20px;align-items:center;gap:8px;text-align:left}.save-folder-row:hover{background:#f2f7ff;color:var(--blue-deep)}.save-folder-row span{width:29px;height:29px;border-radius:8px;background:#fff2cb;color:#da921d;display:grid;place-items:center}.save-folder-empty{height:100%;display:grid;place-items:center;color:#99a2af}.save-new-folder{margin:0 18px 10px;padding:10px;border-radius:11px;background:#f4f7fb;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.save-new-folder[hidden]{display:none}.save-new-folder input{min-width:0;height:40px;padding:0 11px;border:1px solid #d8e0ea;border-radius:9px;outline:0;font:inherit}.save-dialog>footer{padding:14px 18px 18px;border-top:1px solid #edf0f4;display:flex;justify-content:flex-end;gap:9px}.save-dialog>.dialog-feedback{margin:0;padding:0 18px}
.link-dialog{width:min(500px,100%)}.share-qr{padding:24px 20px 17px;display:grid;place-items:center;gap:10px}.share-qr img{width:220px;height:220px;border:1px solid #e1e6ee;border-radius:15px;padding:9px;background:#fff}.share-qr strong{font-size:15px}.share-link-box{margin:0 20px 22px;padding:7px 8px 7px 13px;border:1px solid #dfe5ed;border-radius:11px;background:#f7f9fc;display:grid;grid-template-columns:minmax(0,1fr) 38px 38px;align-items:center;gap:5px}.share-link-box span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667282;font-size:13px}.share-link-box button{width:36px;height:36px;border:0;border-radius:9px;background:#fff;color:#465365;display:grid;place-items:center}.share-link-box button:hover{background:#eaf3ff;color:var(--blue-deep)}.share-link-box button.copied{background:#e8f8f1;color:#079566}.share-link-box svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:860px){
  .public-user-entry span{max-width:92px;overflow:hidden;text-overflow:ellipsis}.share-dialog-layer{padding:8px;align-items:flex-end}.share-dialog{max-height:calc(100vh - 16px);border-radius:17px 17px 12px 12px}.share-dialog>header{min-height:70px;padding:14px 16px}.auth-tabs{margin:15px 16px 3px}.auth-form{padding:12px 16px 7px}.auth-other{margin:10px 16px 18px}.save-folder-list{height:min(360px,43vh);padding:8px}.save-location{padding:0 12px}.save-location>button:last-child span{display:none}.save-new-folder{margin:0 12px 8px;grid-template-columns:1fr 1fr}.save-new-folder input{grid-column:1/-1}.save-dialog>footer{padding:12px}.link-dialog{align-self:center;border-radius:17px}.share-qr{padding:19px 16px 14px}.share-qr img{width:205px;height:205px}.share-link-box{margin:0 14px 18px}
  .summary-actions{grid-template-columns:40px minmax(0,1fr) minmax(0,1fr)!important}.summary-actions .share-page-button{width:40px;height:42px;border-color:#d8e3f0;background:#f4f8fd}.summary-actions .btn{min-width:0}
}

/* v134：账号入口、分享入口与分享弹窗统一为轻量分享页风格。 */
.public-user-entry{
  min-height:36px;
  padding:0 4px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#273244;
  box-shadow:none
}
.public-user-entry:hover{
  border-color:transparent;
  background:transparent;
  color:#1677ff;
  box-shadow:none
}
.public-user-entry .public-auth-avatar{
  background:#edf4ff;
  color:#1677ff
}
.summary-actions .share-page-button{
  width:42px;
  min-width:42px;
  height:42px;
  padding:0;
  overflow:visible;
  border:1px solid #d8e4f2;
  border-radius:11px;
  background:#f5f9ff;
  color:#246fd8;
  display:inline-grid;
  place-items:center;
  box-shadow:none
}
.summary-actions .share-page-button:hover{
  border-color:#a9cfff;
  background:#eaf3ff;
  color:#075fcc
}
.summary-actions .share-page-button svg{
  width:22px;
  height:22px;
  overflow:visible;
  display:block
}
.summary-actions .public-self-share,
.summary-actions .public-self-share:hover{
  cursor:not-allowed;
  color:#8b95a3;
  border-color:#e2e7ee;
  background:#f4f6f8;
  box-shadow:none;
  opacity:1
}
.share-link-box{
  width:auto;
  min-width:0;
  grid-template-columns:minmax(0,1fr) 42px 42px;
  gap:7px;
  padding:7px 8px 7px 14px;
  overflow:visible
}
.share-link-box button{
  width:40px;
  min-width:40px;
  height:40px;
  padding:0;
  overflow:visible;
  border:1px solid #dce5ef;
  border-radius:10px;
  background:#fff;
  color:#344256;
  display:grid;
  place-items:center
}
.share-link-box button:hover{
  border-color:#a9cfff;
  background:#edf5ff;
  color:#075fcc
}
.share-link-box svg{
  width:21px;
  height:21px;
  display:block;
  overflow:visible
}
@media(max-width:860px){
  .public-user-entry{padding:0 3px}
  .public-user-entry span{max-width:116px}
  .summary-actions{
    grid-template-columns:42px minmax(0,1fr) minmax(0,1fr)!important;
    align-items:center
  }
  .summary-actions .share-page-button{
    width:42px;
    min-width:42px;
    height:42px;
    border-color:#d8e4f2;
    background:#f5f9ff
  }
  .share-link-box{
    margin:0 14px 18px;
    grid-template-columns:minmax(0,1fr) 42px 42px;
    padding-left:12px;
    gap:6px
  }
}


/* v159: OKPAN native document/share preview */
.public-custom-preview{position:absolute;inset:0;overflow:auto;background:#eef2f7;padding:24px;box-sizing:border-box}
.public-custom-preview .public-preview-loading{min-height:100%}
.okpan-share-doc,.okpan-share-md,.okpan-share-text,.okpan-share-sheet{width:min(1080px,100%);margin:0 auto;background:#fff;border:1px solid #e1e6ef;border-radius:14px;box-shadow:0 8px 28px rgba(15,23,42,.07);box-sizing:border-box}
.okpan-share-doc,.okpan-share-md{min-height:calc(100% - 2px);padding:36px 42px;color:#1f2937;line-height:1.8;overflow-wrap:anywhere}
.okpan-share-doc img,.okpan-share-md img{max-width:100%;height:auto}
.okpan-share-doc table,.okpan-share-md table{border-collapse:collapse;max-width:100%}
.okpan-share-doc td,.okpan-share-doc th,.okpan-share-md td,.okpan-share-md th{border:1px solid #dbe1ea;padding:7px 9px}
.okpan-share-md h1,.okpan-share-md h2,.okpan-share-md h3,.okpan-share-md h4,.okpan-share-md h5,.okpan-share-md h6{margin:1.1em 0 .55em;line-height:1.35}
.okpan-share-md p{margin:.65em 0}.okpan-share-md pre{overflow:auto;padding:14px 16px;border-radius:10px;background:#111827;color:#e5e7eb}.okpan-share-md code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.okpan-share-text{min-height:calc(100% - 2px);padding:26px 30px;white-space:pre-wrap;word-break:break-word;font:14px/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#1f2937}
.okpan-share-sheet{overflow:auto;max-width:none;border-radius:12px}
.okpan-share-sheet table{border-collapse:separate;border-spacing:0;min-width:100%;background:#fff;font-size:13px;color:#273244}
.okpan-share-sheet th,.okpan-share-sheet td{min-width:110px;height:34px;padding:6px 9px;border-right:1px solid #e4e9f0;border-bottom:1px solid #e4e9f0;text-align:left;vertical-align:middle;white-space:pre-wrap}
.okpan-share-sheet thead th{position:sticky;top:0;z-index:2;background:#f5f7fb;text-align:center;font-weight:700}.okpan-share-sheet tbody th{position:sticky;left:0;z-index:1;min-width:44px;width:44px;background:#f7f9fc;text-align:center;font-weight:600}
.okpan-share-sheet thead th:first-child{left:0;z-index:3;min-width:44px;width:44px}
@media(max-width:700px){.public-custom-preview{padding:10px}.okpan-share-doc,.okpan-share-md{padding:22px 18px;border-radius:10px}.okpan-share-text{padding:18px 16px;border-radius:10px}}

/* v179: share password validation feedback */
.share-access .share-password-error{display:block;width:min(440px,100%);min-height:20px;margin-top:8px;text-align:left;color:#e5484d;font-size:13px;font-weight:700;line-height:20px}
.share-access.password-error input{border-color:#e5484d!important;box-shadow:0 0 0 3px rgba(229,72,77,.10)!important}
.share-access .btn:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:860px){.share-access .share-password-error{text-align:center}}


/* v192: cloud, transfer and note public share pages use one desktop content width. */
:root{--okpan-public-share-width:1180px;--okpan-public-share-gutter:36px}
.page{
  width:min(var(--okpan-public-share-width),calc(100% - var(--okpan-public-share-gutter)))!important;
}
@media(max-width:860px){
  :root{--okpan-public-share-gutter:20px}
  .page{width:calc(100% - var(--okpan-public-share-gutter))!important}
}
