/* TUSUR workspaces, accessible editor and companion choreography. */
:root{--blue:#2455e8}.role-switch{display:flex;flex-direction:column;gap:4px}.role-switch>span{font-size:8px;color:#929fb6}.role-switch select{font-size:11px;font-weight:700;color:#4267b1;background:#f1f5ff;border:1px solid #e3eafa;padding:7px 25px 7px 10px;min-width:145px;border-radius:7px}.profile-copy strong{max-width:195px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy small{font-size:9px}.topbar-right{gap:15px}.topbar{padding-left:32px;padding-right:27px}.local-badge{display:none}.helper-card{padding-top:82px;overflow:hidden}.helper-card::before{content:'';position:absolute;top:-4px;left:45px;width:100px;height:100px;background:url('/static/elephant-sprites.png') 0 0/400% 400%;animation:pet-card-idle 3s steps(1) infinite}.helper-spark{top:30px}.helper-card strong{font-size:12px}.helper-card p{font-size:10px}.hero-tag{letter-spacing:1.3px}.publication-card h3{font-size:14px}.card-authors{white-space:normal;line-height:1.7;font-size:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.language-badge{font-size:8px;letter-spacing:.6px;color:#6888b1;background:#f0f5fc;padding:3px 6px;border-radius:4px}.filter-panel{flex-wrap:wrap}.filter-panel label{flex:1 1 120px}.page-heading .tiny-label{letter-spacing:1.2px}.page-heading p{font-size:12px}.title-dot{margin-left:3px}.profile-menu{width:280px}.role-notice{display:flex;align-items:center;gap:8px;background:#eef4ff;padding:10px 13px;border-radius:8px;font-size:10px;color:#7188b1;margin-bottom:18px}.role-notice b{color:#466fbd}.directory-card h3{font-size:14px;line-height:1.6}.author-fullname{font-size:12px;font-weight:700;color:#4c638b}.directory-card .author-meta{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}
.editor-v2{width:min(880px,96vw)}.editor-v2 .dialog-head{padding:22px 30px}.editor-toolbar{padding:0 30px;border-bottom:1px solid var(--border);background:#fcfdff}.editor-progress{display:flex;gap:5px;padding-top:13px}.editor-progress button{display:flex;align-items:center;gap:7px;flex:1;padding:9px 4px 15px;color:#a0abc0;font-size:11px;font-weight:700;border-bottom:2px solid transparent}.editor-progress b{display:grid;place-items:center;width:23px;height:23px;border:1px solid #e1e7f1;border-radius:50%;font-size:9px}.editor-progress button.active{border-bottom-color:var(--blue);color:var(--blue)}.editor-progress button.active b{background:var(--blue);color:white;border-color:var(--blue)}.editor-progress button.complete b{background:#eaf7f2;color:#389f7a;border-color:#d6efe4}.metadata-btn{display:flex;margin:8px 0 10px auto;color:#7c91b1;font-size:10px;font-weight:600;padding:4px}.editor-v2 .editor-body{max-height:58vh;min-height:360px;padding:25px 30px 22px}.step-intro{display:flex;gap:13px;align-items:center;margin-bottom:24px}.step-symbol{font-size:31px;color:#d4e0f7;font-weight:800;letter-spacing:-1.5px}.step-intro h3{font-size:16px;font-weight:800;letter-spacing:-.3px}.step-intro p{font-size:10px;color:#96a3b9;line-height:1.8;margin-top:5px}.editor-v2 input,.editor-v2 select,.editor-v2 textarea{font-size:12px}.editor-step{animation:step-in .3s ease}.language-picks{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:2px}.language-picks button{font-size:10px;border:1px solid #e2e7f2;border-radius:7px;padding:7px 10px;background:white;color:#8593ab}.language-picks button.selected{background:#eef4ff;border-color:#b6cbff;color:#3568c1}.author-picker-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:15px 0 9px}.author-picker-heading h4{margin:0;font-size:11px}.author-picker-heading button{font-size:10px}.author-picker-search{width:100%;padding:10px 12px!important;border-radius:8px 8px 0 0!important;background:#fbfcff!important}.author-options{border:1px solid #e4eaf4;border-top:0;border-radius:0 0 8px 8px;max-height:190px;overflow:auto;background:white}.author-option{display:flex;align-items:center;flex-direction:row;gap:11px;padding:12px 13px;margin:0;border-bottom:1px solid #f1f4f8;cursor:pointer}.author-option:last-child{border:0}.author-option input{accent-color:var(--blue);width:15px;height:15px;flex-shrink:0}.author-option strong{font-size:11px;display:block;font-weight:600}.author-option small{display:block;font-size:9px;margin-top:4px}.author-option:has(input:checked){background:#f3f7ff}.contact-label{margin-top:22px}.field-hint{font-size:10px;color:#92a0b7;line-height:1.9;margin-bottom:13px}.characteristic-row{background:#f7f9fd;border-radius:9px;padding:12px;display:grid;grid-template-columns:1fr 1fr 30px;gap:8px;margin:10px 0}.characteristic-row input{grid-column:1}.characteristic-row select{grid-column:2;font-size:10px}.characteristic-row textarea{grid-column:1/3;font-size:11px;min-height:60px}.characteristic-row .remove-characteristic{grid-column:3;grid-row:1/3;color:#b9919c;font-size:22px}.editor-summary{border:1px solid #e3eaf7;background:#f9fbff;padding:19px;border-radius:10px;font-size:11px;line-height:1.9}.editor-summary strong{display:block;font-size:13px;color:#526b94;margin-bottom:8px}.editor-summary span{display:block;color:#91a0b7}.inline-checkbox{display:flex;flex-direction:row;align-items:center;gap:9px}.inline-checkbox input{accent-color:var(--blue)}#metadata-dialog{width:min(720px,94vw)}#metadata-json{width:100%;font:12px Consolas,monospace;background:#f7f9fd;line-height:1.7}.metadata-actions{display:flex;justify-content:space-between;gap:15px;margin:17px 0}.api-link{font-size:10px;color:#8298bc}.editor-v2 label>.required{display:none}.metadata-pulse{animation:metadata-pulse .8s ease}.empty-author{padding:17px;font-size:10px;color:#9aa7bb}
#pet-stage{position:fixed;inset:0;pointer-events:none;z-index:2147483646;overflow:hidden}html.elephant-cursor,html.elephant-cursor *{cursor:none!important}#cursor-hotspot{position:fixed;left:0;top:0;width:6px;height:6px;border:1px solid #4c7be7;border-radius:50%;background:#a8c5ff80;box-shadow:0 0 0 3px #3b76ed08;pointer-events:none}#cursor-hotspot.clicked::after{content:'';position:absolute;inset:-9px;border:1px solid #4782ee;border-radius:50%;animation:click-ring .45s ease-out both}.pet{position:fixed;left:0;top:0;width:100px;height:100px;pointer-events:none;will-change:transform;z-index:2}.pet-sprite{position:absolute;inset:0;background:url('/static/elephant-sprites.png') no-repeat;background-size:400% 400%;filter:drop-shadow(0 3px 2px #3362ae10)}.pet-shadow{position:absolute;width:48px;height:8px;border-radius:50%;background:#173f7e13;filter:blur(3px);left:28px;bottom:18px}.pet[data-state="run"] .pet-shadow{animation:pet-shadow .2s infinite alternate}.pet[data-state="run"] .pet-sprite{animation:pet-bob .18s infinite alternate}.pet>span#mascot-speech{position:absolute;bottom:85px;left:15px;background:#fff;color:#5276b0;border:1px solid #dce7fc;border-radius:11px 11px 11px 2px;padding:8px 11px;white-space:nowrap;font-size:10px;box-shadow:0 5px 20px #1e4b8b0d;opacity:0;transition:opacity .2s}.pet.speaking>span#mascot-speech{opacity:1}.pet-thinking{display:none;position:absolute;top:0;left:40px;font-size:24px;color:#2d6de0;font-weight:800;letter-spacing:5px;animation:thinking 1s infinite}.pet[data-state="search"] .pet-thinking{display:block}.pet-happy .pet-sprite{animation:pet-celebrate .6s ease 2}#pet-paper{position:fixed;display:none;width:45px;height:60px;background:linear-gradient(125deg,#fff 65%,#e8effb);border:1px solid #d7e2f4;border-radius:3px 3px 13px 3px;box-shadow:3px 4px 8px #3459821c;padding:14px 7px;z-index:1;transform-origin:top right}#pet-paper span{display:block;height:2px;background:#c8d8ef;margin:5px 0}#pet-paper span:first-child{width:70%;background:#84a9e5}#pet-paper.gripped{display:block}.publication-grid{position:relative;perspective:1500px;transform-style:preserve-3d}.page-leaving{transform-origin:left top;animation:page-peel-left 1.45s cubic-bezier(.4,0,.35,1) forwards!important;pointer-events:none}.page-leaving-back{transform-origin:right top;animation:page-peel-right 1.45s cubic-bezier(.4,0,.35,1) forwards!important;pointer-events:none}.page-arrived{animation:page-arrived .5s ease both}.section-arrived{animation:step-in .4s ease both}main{overflow:hidden}#catalog-section{perspective:1400px}.search-field.pet-searching{border-color:#91b4fc;box-shadow:0 0 0 4px #356ce80a}.search-field.pet-searching::after{content:'';position:absolute;bottom:-1px;left:0;height:2px;background:linear-gradient(90deg,transparent,#4a8bf4,transparent);width:30%;animation:search-scan 1.1s ease-in-out infinite}
@keyframes pet-card-idle{0%,55%{background-position:0 0}60%,75%{background-position:66.666% 0}80%,100%{background-position:33.333% 0}}@keyframes page-peel-left{0%{transform:rotateY(0) skewY(0);filter:brightness(1)}35%{transform:rotateY(-28deg) skewY(-2deg) translateX(-3%);filter:brightness(.96)}70%{opacity:.8;transform:rotateY(-75deg) skewY(-5deg) translateX(-12%)}100%{opacity:0;transform:rotateY(-135deg) skewY(-8deg) translateX(-22%)}}@keyframes page-peel-right{0%{transform:rotateY(0)}35%{transform:rotateY(28deg) skewY(2deg) translateX(3%)}70%{opacity:.8;transform:rotateY(75deg) skewY(5deg) translateX(12%)}100%{opacity:0;transform:rotateY(135deg) skewY(8deg) translateX(22%)}}@keyframes page-arrived{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@keyframes step-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}@keyframes pet-bob{to{translate:0 -3px}}@keyframes pet-shadow{to{scale:.85}}@keyframes pet-celebrate{40%{translate:0 -16px}70%{translate:0 0}85%{translate:0 -4px}}@keyframes thinking{50%{opacity:.3;translate:0 -3px}}@keyframes click-ring{to{scale:2;opacity:0}}@keyframes search-scan{0%{left:0}100%{left:70%}}@keyframes metadata-pulse{50%{box-shadow:0 0 0 5px #4b84ee15}}
@media(max-width:1150px){.topbar{padding:0 20px}.profile-copy strong{max-width:150px;font-size:9px}.role-switch select{min-width:125px;font-size:10px}.breadcrumb{font-size:9px;gap:8px}.sidebar-bottom{padding-top:15px}.helper-card{padding-top:73px}.helper-card::before{left:34px;width:93px;height:93px}.helper-card p{font-size:9px}}
@media(max-width:800px){.role-switch{display:none}.profile-menu .mobile-role-select{display:block}.topbar-right{gap:8px}.editor-v2 .editor-body{max-height:56vh}.editor-toolbar{padding:0 20px}.editor-progress button{font-size:10px}.profile-copy strong{max-width:180px}.helper-card{padding-top:78px}}
@media(max-width:560px){.editor-v2 .dialog-head{padding:18px}.editor-v2 .editor-body{padding:18px;min-height:300px;max-height:52vh}.editor-progress{gap:2px}.editor-progress button{font-size:8px;gap:4px}.editor-progress b{width:18px;height:18px;font-size:8px}.editor-toolbar{padding:0 14px}.metadata-btn{font-size:9px}.step-intro h3{font-size:14px}.step-intro p{font-size:9px}.step-symbol{font-size:25px}.author-option strong{font-size:10px}.author-picker-heading{gap:5px}.author-picker-heading h4{font-size:10px}.author-picker-heading button{font-size:9px}.characteristic-row{grid-template-columns:1fr 25px}.characteristic-row select{grid-column:1}.characteristic-row textarea{grid-column:1}.characteristic-row .remove-characteristic{grid-column:2;grid-row:1/4}.editor-v2 .dialog-footer>div{justify-content:space-between}.publication-card h3{font-size:15px}.role-switch{display:none}}
@media(prefers-reduced-motion:reduce){html.elephant-cursor,html.elephant-cursor *{cursor:auto!important}#pet-stage{display:none!important}.page-leaving,.page-leaving-back{animation:none!important}}

.language-field{margin-bottom:20px}.language-field>label{margin-bottom:9px}.language-field>input{width:100%;margin-top:10px}.language-field>small{display:block;color:#97a4b8;font-size:9px;margin-top:8px}.pet.near-right>span#mascot-speech{left:auto;right:60px;border-radius:11px 11px 2px 11px}#search-submit{background:#eef3ff;color:#4671c5;border-radius:6px;padding:7px 10px;font-size:10px;white-space:nowrap;font-weight:700}#search-submit span{margin-left:10px}.mobile-role-select{width:100%;margin-bottom:12px}#mobile-role-select{width:100%;margin-bottom:12px}
.brand-wrap{position:relative}.brand-explain{padding:0;white-space:nowrap}.brand-word{display:inline-flex;align-items:baseline;gap:8px}.sidebar>.brand-wrap{padding:0 10px}.brand-description{display:none;position:absolute;top:52px;left:8px;width:285px;padding:22px;background:white;border:1px solid #dce6f9;border-radius:14px;box-shadow:0 15px 50px #1e396926;z-index:95}.brand-wrap:hover .brand-description,.brand-wrap.expanded .brand-description,.brand-wrap:focus-within .brand-description{display:block;animation:step-in .22s ease}.brand-description strong{display:block;font-size:22px;color:#2c59c1;letter-spacing:2px;margin-bottom:12px}.brand-description span{font-size:12px;line-height:1.9;color:#6b80a2;display:block}.brand-description b{color:#2558ce;font-weight:800}.brand-description i{font-style:normal;color:#b2bfce}.brand-description small{display:block;border-top:1px solid #edf1f8;padding-top:12px;margin-top:12px;font-size:9px;color:#9cabc1}.site-address{font-size:11px;color:#5176bb;font-weight:800;letter-spacing:1.3px;padding:5px 13px 0}.site-address span{color:#a3b4d2;font-weight:500}.sidebar-collapse{position:absolute;right:-12px;top:37px;border:1px solid #dce5f4;background:white;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;color:#7e96bd;font-size:20px;z-index:3;box-shadow:0 2px 7px #244e9810}.sidebar{transition:width .28s ease,transform .28s ease}.main-shell{transition:margin-left .28s ease}.sidebar-collapsed .sidebar{width:80px;padding:28px 10px 15px}.sidebar-collapsed .main-shell{margin-left:80px}.sidebar-collapsed .brand-word,.sidebar-collapsed .workspace-label,.sidebar-collapsed .nav-label,.sidebar-collapsed .helper-card,.sidebar-collapsed .sidebar-foot{display:none}.sidebar-collapsed .site-address{font-size:8px;letter-spacing:.1px;padding:8px 0;text-align:center}.sidebar-collapsed .nav-item{font-size:0;justify-content:center;gap:0;padding:15px 10px;margin-top:6px}.sidebar-collapsed .nav-item span{display:none}.sidebar-collapsed .nav-item svg{width:20px;height:20px}.sidebar-collapsed #nav{margin-top:22px}.sidebar-collapsed .brand-description{left:10px;top:62px}.sidebar-collapsed .sidebar>.brand-wrap{padding:0 10px}.sidebar-collapsed .sidebar-collapse{right:-12px}.table-toolbar{display:flex;gap:12px;margin-bottom:15px;align-items:center}.table-toolbar select{font-size:11px}.table-toolbar .primary{font-size:11px}.table-tip{display:flex;gap:9px;align-items:center;color:#92a2bb;font-size:10px;line-height:1.8;padding:0 0 16px}.table-tip svg{width:16px}.sheet-table{border-radius:12px}.sheet-table table{min-width:900px;table-layout:fixed}.sheet-table th:nth-child(1){width:31%}.sheet-table th:nth-child(2){width:23%}.sheet-table th:nth-child(3){width:8%}.sheet-table th:nth-child(4){width:10%}.sheet-table th:nth-child(5){width:14%}.sheet-table th:nth-child(6){width:14%}.sheet-table td{vertical-align:top;line-height:1.7;padding:17px 12px}.sheet-table th{padding:16px 12px}.table-title small{display:block;font-size:9px;color:#a1aec2;margin-top:9px}.row-title{text-align:left;font-size:12px;line-height:1.7;font-weight:700;padding:0}.row-title:hover{color:var(--blue)}.table-authors{font-size:10px;color:#7e90ab}.row-edit{display:flex;gap:6px;align-items:center;color:#5d7eb4;font-size:10px;padding:0}.row-edit svg{width:14px}.editing-row{background:#f7faff}.editing-row textarea,.editing-row input,.editing-row select{width:100%;font-size:11px;padding:8px;border-radius:6px;line-height:1.6}.row-buttons{display:flex;flex-direction:column;gap:7px}.row-buttons button{font-size:9px;min-height:30px;padding:7px 9px}.editing-row #row-full-editor{font-size:9px;color:var(--blue);padding:0}.paper-stage{position:fixed;z-index:80;pointer-events:none;overflow:visible;filter:drop-shadow(0 7px 8px #25466f0d)}.paper-front{position:absolute;inset:0;background:#f7f9fc;overflow:hidden;border-radius:10px}.paper-front>.publication-grid{perspective:none;animation:none!important;margin:0}.paper-fold{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.paper-stage .pet-hover-target{outline:0!important}#cursor-hotspot{width:10px;height:10px;background:#26d9ff;border:2px solid white;border-radius:50%;box-shadow:0 0 0 2px #1f65df,0 0 13px #2d94fa70;z-index:5;transition:width .12s,height .12s,box-shadow .12s}#cursor-hotspot.active-target{background:#fff36c;box-shadow:0 0 0 3px #2d68df,0 0 0 6px #348bff22}html.elephant-cursor .pet-hover-target{outline:2px solid #9dc4fa;outline-offset:3px}.intro-playing #pet-stage{visibility:hidden}.brand-intro{position:fixed;inset:0;z-index:2147483647;background:radial-gradient(ellipse at 50% 48%,#fff 0%,#f1f6ff 55%,#e9f0ff 100%);display:grid;place-items:center;overflow:hidden;transition:opacity .4s,visibility .4s}.brand-intro.intro-finished{opacity:0;visibility:hidden}.intro-scene{position:relative;width:min(700px,90vw);height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center}.intro-label{font-size:10px;letter-spacing:2px;color:#8da4c6;position:absolute;top:5px;animation:intro-caption 1s .2s both}.intro-word{display:flex;position:relative;align-items:baseline;font-size:110px;font-weight:800;letter-spacing:-7px;color:#234d9d;line-height:1.3}.intro-sql{width:221px;color:#2758c7;animation:sql-exit .75s 1.1s both;transform-origin:bottom right}.intro-russian{position:absolute;left:30px;opacity:0;animation:russian-enter .75s 1.6s forwards}.intro-rest{animation:rest-move .75s 1.6s forwards}.intro-dot{color:#34c8ef;animation:dot-bounce .7s 2.1s both}.intro-pet{position:absolute;width:140px;height:140px;left:-100px;top:115px;animation:intro-pet-run 2.6s .15s both;z-index:2}.intro-pet>div{width:100%;height:100%;background:url('/static/elephant-sprites.png') 0 33.333%/400% 400%;animation:intro-run-frames .4s steps(1) infinite,pet-bob .18s alternate infinite}.intro-floor{position:absolute;top:263px;width:520px;height:1px;background:linear-gradient(90deg,transparent,#b6cbea,transparent)}.intro-scene p{position:absolute;bottom:34px;font-size:14px;color:#809bc2;animation:intro-caption .6s 2s both}.intro-progress{position:absolute;bottom:0;width:120px;height:3px;background:#dfe9f9;border-radius:5px;overflow:hidden}.intro-progress span{display:block;height:100%;background:#4e83e9;transform-origin:left;animation:intro-progress 3.2s linear both}.intro-domain{position:absolute;bottom:40px;font-size:12px;letter-spacing:3px;color:#91a8ca}#skip-intro{position:absolute;right:30px;top:25px;font-size:11px;color:#849dc0;border:1px solid #d9e4f6;border-radius:20px;padding:9px 15px;background:#ffffff80}.login-story .brand-wrap{align-self:flex-start}.login-story .brand-description{top:48px}.login-story .brand{font-size:29px}
@keyframes sql-exit{0%{opacity:1;transform:none}60%{opacity:1;transform:rotate(-12deg) translate(-25px,-8px)}100%{opacity:0;transform:translate(-160px,65px) rotate(-26deg)}}@keyframes russian-enter{from{opacity:0;transform:translateY(-40px) rotate(-10deg)}70%{opacity:1;transform:translateY(7px) rotate(2deg)}to{opacity:1;transform:none}}@keyframes rest-move{to{transform:translateX(-37px)}}@keyframes dot-bounce{0%{transform:translateX(-37px) translateY(-70px)}55%{transform:translateX(-37px) translateY(7px)}80%{transform:translateX(-37px) translateY(-13px)}100%{transform:translateX(-37px)}}@keyframes intro-pet-run{0%{left:-100px;opacity:0}10%{opacity:1}40%{left:150px;transform:rotate(-6deg)}60%{left:180px;transform:translateY(-30px) rotate(7deg)}85%{left:460px;opacity:1}100%{left:670px;opacity:0}}@keyframes intro-run-frames{0%{background-position:0 33.333%}25%{background-position:33.333% 33.333%}50%{background-position:66.666% 33.333%}75%{background-position:100% 33.333%}}@keyframes intro-caption{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes intro-progress{from{scale:0 1}to{scale:1 1}}
@media(max-width:800px){.sidebar-collapsed .sidebar{width:235px;transform:translateX(-100%)}.sidebar-collapsed .sidebar.mobile-open{transform:translateX(0)}.sidebar-collapsed .main-shell{margin-left:0}.sidebar-collapsed .brand-word,.sidebar-collapsed .workspace-label,.sidebar-collapsed .nav-label{display:flex}.sidebar-collapsed .nav-item{font-size:11px;gap:12px;justify-content:flex-start}.sidebar-collapsed .nav-item span{display:inline}.sidebar-collapse{display:none}.table-toolbar{flex-wrap:wrap}.table-toolbar .search-field{flex-basis:100%}}
@media(max-width:560px){.intro-word{font-size:72px;letter-spacing:-5px}.intro-sql{width:145px}.intro-russian{left:16px}.intro-label{font-size:7px;letter-spacing:1.3px;top:30px}.intro-scene{height:320px}.intro-floor{top:232px;width:95%}.intro-pet{top:100px;width:110px;height:110px}.intro-scene p{font-size:11px;bottom:42px}.intro-domain{font-size:10px}.brand-description{width:260px}.table-toolbar .primary{font-size:10px}.paper-stage{display:none}}
@media(prefers-reduced-motion:reduce){.brand-intro{display:none}.sidebar,.main-shell{transition:none}.paper-stage{display:none}}
