/* Shared navigation; keeps all original tool controls and download actions intact. */
body>header.tool-header{gap:14px;padding-inline:20px}
.tool-header .brand strong{font-size:16px}.tool-header .brand-mark{width:30px;height:30px}
.workspace-primary{display:flex;align-items:center;gap:4px;min-width:0;flex:1}
.workspace-primary>a,.workspace-primary>span>a,.workspace-primary #task-center-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;box-sizing:border-box;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#173d35;font:600 14px/1.4 "Microsoft YaHei",system-ui,sans-serif;white-space:nowrap;text-decoration:none;cursor:pointer}
.workspace-primary a:hover,.workspace-primary #task-center-button:hover,.workspace-primary [aria-current=page]{background:#e8f4ef;color:#05664f}
.workspace-primary #task-center-button b{font-size:12px}.workspace-primary #task-center-button .is-empty{display:none}
.member-page .workspace-primary #task-center-button{display:inline-flex!important}
.workspace-primary #task-center-button span{display:inline!important}
#task-center-drawer:not(.open){visibility:hidden;pointer-events:none}
@media(min-width:1100px){.gallery-filters{grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(130px,1fr))}}
.workspace-more{position:relative}.workspace-more summary{padding:10px;cursor:pointer;color:#173d35;font-weight:600;min-height:44px;box-sizing:border-box}
.workspace-more-menu{position:absolute;right:0;top:100%;min-width:205px;padding:12px;background:white;border:1px solid #cbdcd7;border-radius:8px;box-shadow:0 8px 24px #173d351f;z-index:50}
.workspace-more-menu>a{display:block;padding:10px;color:#173d35;text-decoration:none;font-size:14px}.workspace-more-menu>a:hover{background:#e8f4ef}.workspace-more-menu p{font-size:13px;white-space:nowrap;color:#455b54;margin:8px 10px}
.tool-header #history-button{display:none!important}
.tool-header.shop-header-active .workspace-primary{position:relative;flex:0 0 auto;z-index:2;margin-left:auto;margin-right:105px}
.tool-header.shop-header-active .workspace-primary a,.tool-header.shop-header-active #task-center-button{color:var(--ink);background:transparent}
.tool-header.shop-header-active .workspace-primary a:hover,.tool-header.shop-header-active #task-center-button:hover{background:var(--button-bg)}
.tool-header.shop-header-active .shop-header-content{position:relative;flex:1;height:64px;order:-1;inset:auto;max-width:calc(100% - 580px);padding-left:24px}
.tool-header.shop-header-active .shop-header-text{display:flex;align-items:center;gap:18px}
.tool-header.shop-header-active .shop-header-text strong{position:static;width:auto;max-width:65%;font-size:26px;letter-spacing:0;text-align:left;line-height:1.3}
.tool-header.shop-header-active .shop-header-text span{position:static;flex:1;width:auto;font-size:14px;letter-spacing:0;text-align:left;line-height:1.4}
#workspace-recent-tasks{position:fixed;right:0;top:42%;z-index:39;min-height:44px;max-width:34px;padding:10px 8px;border:1px solid #a4c6b7;border-right:0;border-radius:8px 0 0 8px;background:#fff;color:#173d35;font:600 14px/1.5 "Microsoft YaHei",sans-serif;cursor:pointer;writing-mode:vertical-rl}
#workspace-task-pin,#workspace-mark-all-viewed{min-height:42px;padding:8px 12px;border:1px solid #b8c8c2;border-radius:7px;background:#fff;color:#174d3f;font:600 14px/1.4 "Microsoft YaHei",sans-serif;cursor:pointer}
#workspace-mark-all-viewed{white-space:nowrap}#workspace-mark-all-viewed:disabled{cursor:wait;color:#526c60}
#workspace-task-pin[aria-pressed=true]{background:#e8f4ef}#task-center-list .task-mini-card{cursor:pointer}
#task-center-drawer header #workspace-task-pin{width:auto;flex:0 0 auto;white-space:nowrap;margin-left:auto}#task-center-drawer header #task-center-close{flex:0 0 40px}
.lucky-desktop-navigation #workspace-recent-tasks,.lucky-desktop-sidebar #workspace-recent-tasks,.lucky-desktop-sidebar #workspace-task-pin{display:none!important}
#workspace-notice{position:fixed;right:24px;bottom:24px;max-width:min(420px,85vw);padding:14px 20px;background:#173d35;color:white;border-radius:8px;z-index:160;font-size:14px}
.workspace-primary :focus-visible,.workspace-more :focus-visible,#workspace-recent-tasks:focus-visible,#workspace-task-pin:focus-visible,#workspace-mark-all-viewed:focus-visible{outline:3px solid #087c60;outline-offset:2px}
@media(max-width:1350px){.tool-header .brand strong{display:none}.tool-header .top-actions{gap:2px}.tool-header .top-actions>a,.tool-header .top-actions>button{padding-inline:7px}.workspace-primary{gap:0}.workspace-primary>a,.workspace-primary>span>a,.workspace-primary #task-center-button{padding-inline:8px}}
@media(max-width:1050px) and (min-width:851px){.tool-header .brand{display:none}.tool-header .quota{padding-inline:4px}.tool-header .avatar-button b{max-width:42px}.tool-header .top-actions{gap:0}body>header.tool-header{gap:6px;padding-inline:10px}.workspace-primary>a,.workspace-primary>span>a,.workspace-primary #task-center-button{padding-inline:6px}}
@media(max-width:850px){body>header.tool-header{height:auto;min-height:64px;flex-wrap:wrap;padding:8px 12px;gap:8px}.tool-header .brand{display:none}.workspace-primary{order:2;flex-basis:100%;justify-content:space-between;flex-wrap:wrap}.tool-header .top-actions{order:1;flex-wrap:wrap;justify-content:flex-end;width:100%}.workspace-primary>a,.workspace-primary>span>a,.workspace-primary #task-center-button{font-size:13px;padding-inline:5px}.workspace-more-menu{min-width:180px}.user-center-toolbar{flex-wrap:wrap}#workspace-mark-all-viewed{margin-left:auto}.member-layout{min-width:0}#workspace-recent-tasks{top:auto;bottom:16px;max-width:none;writing-mode:horizontal-tb;padding:10px 14px}}
