/* Shared visual refinement for the administrator and member workspaces. */
html{scroll-behavior:smooth}body{letter-spacing:.01em}button,input,select,textarea{transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}button:active{transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--cm-accent) 28%,transparent)!important;outline-offset:2px}.brand img{filter:drop-shadow(0 5px 10px #1d5f8e18)}header{position:sticky;top:0;z-index:30;backdrop-filter:blur(14px)}.account-identity{display:flex;align-items:center;gap:8px;padding:5px 9px;border:1px solid var(--cm-line);border-radius:9px;background:color-mix(in srgb,var(--cm-panel) 82%,transparent);color:var(--cm-ink);line-height:1.15}.account-identity>span:last-child{display:grid}.account-identity b{max-width:190px;overflow:hidden;text-overflow:ellipsis;font-size:12px}.account-identity small{color:var(--cm-muted);font-size:10px}.account-dot{width:8px;height:8px;border-radius:50%;background:#25ae70;box-shadow:0 0 0 4px #25ae7018}.logout-button{background:transparent!important;color:var(--cm-muted)!important;border:1px solid var(--cm-line)!important;box-shadow:none!important}.logout-button:hover{color:#b24b4b!important;border-color:#d9a6a6!important;background:#fff2f2!important}.card,.form-card,.viewer,.reader{transition:box-shadow .2s ease,border-color .2s ease}.card:hover,.form-card:hover{border-color:color-mix(in srgb,var(--cm-accent) 42%,var(--cm-line));box-shadow:0 14px 34px #235f8d16}.nav,.document,.doc{transition:background .16s ease,color .16s ease,border-color .16s ease}.nav.active{position:relative}.nav.active::before{content:"";position:absolute;left:3px;top:25%;bottom:25%;width:3px;border-radius:4px;background:var(--cm-accent)}.page,.tab{animation:cm-page-in .18s ease both}@keyframes cm-page-in{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:none}}::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--cm-muted) 42%,transparent);border-radius:10px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-track{background:transparent}
@media(max-width:800px){body{min-width:0}.shell{display:block!important}.shell aside{display:block!important;position:sticky;top:0;z-index:45;width:100%;padding:11px 12px!important;border-right:0!important;border-bottom:1px solid var(--cm-line);box-shadow:0 8px 24px #143b5d12}.shell aside .brand,.shell aside .project,.shell aside .foot{display:none!important}.shell aside nav{display:flex;gap:7px;overflow-x:auto;padding-bottom:2px}.shell aside nav button{width:auto!important;min-width:max-content;padding:9px 12px!important}.shell .nav.active::before{left:20%;right:20%;top:auto;bottom:1px;width:auto;height:3px}.shell header{height:auto;min-height:62px;padding:10px 14px!important}.shell header>div:last-child{gap:6px!important;flex-wrap:wrap;justify-content:flex-end}.account-identity{display:none}.shell .page{padding:25px 15px!important}.shell .viewer{border-radius:9px}.shell .preview{min-height:520px}body>aside{display:flex!important;position:sticky;top:0;z-index:45;align-items:center;gap:7px;padding:10px 12px!important;overflow-x:auto;border-right:0!important;border-bottom:1px solid var(--cm-line)}body>aside .brand,body>aside>p{display:none!important}body>aside .nav{width:auto!important;min-width:max-content;padding:9px 12px!important}body>main header{padding:10px 14px!important;height:auto;min-height:62px}body>main .tab{padding:24px 15px!important}.grid{grid-template-columns:1fr!important}.managed-group-head,.group-member,.group-grant{align-items:flex-start!important;flex-direction:column!important}.row-actions{width:100%}.reader{grid-template-columns:1fr!important;height:auto!important}.reader iframe{height:560px}.theme-toggle{white-space:nowrap}}
@media(max-width:520px){header strong,header>div:first-child span{font-size:12px}.theme-toggle{font-size:0!important}.theme-toggle::after{content:"主题";font-size:12px}.logout-button{font-size:0!important}.logout-button::after{content:"退出";font-size:12px}.intro h1,.head h1{font-size:27px!important}.viewer{margin-top:24px!important}}