/* Local interaction pass: readable editors, calm motion, precise pointer. */
:root{--motion-ease:cubic-bezier(.22,.75,.2,1)}
button,a,input,select,textarea{transition:background-color .18s,border-color .18s,box-shadow .18s,color .18s}
button:focus-visible,a:focus-visible{outline:3px solid #8cb7ff;outline-offset:3px}
.primary{transition:transform .18s var(--motion-ease),box-shadow .18s,background .18s}
.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 18px #2455e825}
.primary:active:not(:disabled){transform:translateY(1px) scale(.98)}
button:disabled{cursor:default;opacity:.5}
.publication-card{transition:transform .3s var(--motion-ease),box-shadow .3s,border-color .3s}
.publication-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px #244a8c12}
.page-arrived .publication-card{animation:card-reveal .42s var(--motion-ease) both}.page-arrived .publication-card:nth-child(2){animation-delay:35ms}.page-arrived .publication-card:nth-child(3){animation-delay:70ms}.page-arrived .publication-card:nth-child(4){animation-delay:100ms}.page-arrived .publication-card:nth-child(5){animation-delay:130ms}.page-arrived .publication-card:nth-child(6){animation-delay:160ms}
@keyframes card-reveal{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.section-arrived{animation:section-reveal .32s var(--motion-ease) both}@keyframes section-reveal{from{opacity:.4;translate:0 8px}to{opacity:1;translate:0 0}}
.sidebar,.main-shell{transition:width .36s var(--motion-ease),margin-left .36s var(--motion-ease),transform .36s var(--motion-ease)}
.nav-item{position:relative}.nav-item.active::before{content:'';position:absolute;left:0;top:24%;height:52%;width:3px;background:#4778e9;border-radius:3px;animation:nav-marker .3s var(--motion-ease)}@keyframes nav-marker{from{scale:1 .2;opacity:0}to{scale:1 1;opacity:1}}
.toast{animation:toast-in .25s var(--motion-ease)}@keyframes toast-in{from{translate:0 10px;opacity:0}to{translate:0 0;opacity:1}}
#cursor-hotspot{transition:background-color .15s,box-shadow .15s;will-change:transform}
#cursor-hotspot.text-target::before{content:'';position:absolute;left:2px;top:-7px;width:2px;height:20px;background:#164b99;border:1px solid white;border-radius:3px}
#pet-stage.pointer-outside:not(.pet-working){visibility:hidden}
.pet-working #cursor-hotspot{box-shadow:0 0 0 2px #1852c6,0 0 0 6px #24b9fa21}
.pet[data-state='run'] .pet-sprite{animation:none}
.pet .pet-sprite{filter:drop-shadow(0 4px 3px #1c4f931c)}
.pet.near-top>span#mascot-speech{bottom:auto;top:90px;border-radius:2px 11px 11px 11px}
.pet>span#mascot-speech{max-width:min(230px,65vw);white-space:normal;line-height:1.5;transition:opacity .2s,translate .2s;translate:0 4px}
.pet.speaking>span#mascot-speech{translate:0 0}
.pet[data-state='search'] .pet-thinking{animation:thinking 1.2s infinite;letter-spacing:3px}
.paper-front{border:1px solid #e3eaf5;border-radius:4px;background:#f7f9fc}.paper-front>.publication-grid{transform:none!important;translate:none!important}.paper-front .publication-card{animation:none!important;transform:none!important}.paper-stage{filter:none}.paper-fold{filter:none}
.editor-v2{width:min(960px,96vw);border-radius:18px}.editor-v2 .editor-body{max-height:57vh;padding:24px 32px;scrollbar-gutter:stable}.editor-step{animation:none}.editor-v2 input,.editor-v2 select,.editor-v2 textarea{font-size:13px;line-height:1.6;border-color:#d9e2f1}.editor-v2 label{font-size:12px;color:#476081}.editor-v2 small{color:#6f819e;line-height:1.7}.editor-v2 input:focus,.editor-v2 select:focus,.editor-v2 textarea:focus{border-color:#709cf4;box-shadow:0 0 0 3px #386ce910;outline:0}.editor-v2 textarea{resize:vertical}.editor-step>label{margin-bottom:19px}.step-intro h3{font-size:18px}.step-intro p{font-size:12px;color:#7387a5}.step-symbol{color:#c1d2f2}.editor-progress button{transition:color .2s,border-color .2s}.editor-progress b{transition:background .2s,scale .2s}.editor-progress .active b{scale:1.08}.editor-v2 .editor-step .required{display:inline;color:#356ad6}
.editor-save-status{display:flex;justify-content:space-between;gap:12px;padding:10px 32px;background:#f5f8fd;border-bottom:1px solid #e8eef8;font-size:10px;color:#8a99af}.editor-save-status #editor-state{color:#6783a7}.editor-save-status #editor-state.is-dirty{color:#a16b13}.editor-save-status #editor-state::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:7px}kbd{font-family:inherit;background:white;border:1px solid #dfe6f1;border-bottom-width:2px;padding:1px 4px;border-radius:4px;font-size:9px}.field-counter{display:block;text-align:right;font-variant-numeric:tabular-nums}.inline-field-error{display:block;font-size:11px;line-height:1.5;color:#b44357;margin-top:5px}.editor-v2 [aria-invalid=true]{border-color:#d78e9c;background:#fffafb}.selected-author-chips{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:20px}.selected-author-chips:empty{display:none}.selected-author-chips>span{color:#8192ab;font-size:11px}.selected-author-chips button{font-size:11px;padding:7px 10px;color:#3868b7;background:#edf4ff;border:1px solid #d4e4ff;border-radius:20px}.selected-author-chips button span{margin-left:8px;color:#7e9ac3}.author-option{padding:13px 14px}.author-option strong{font-size:12px}.author-option small{font-size:10px}.author-option:has(input:checked){box-shadow:inset 3px 0 #608eec}.author-options{max-height:210px}.characteristic-row{border:1px solid #e6edf8;animation:card-reveal .2s var(--motion-ease)}.file-upload{transition:border-color .2s,background .2s,box-shadow .2s}.file-upload.drag-over{border-color:#4c8cef;background:#ecf5ff;box-shadow:0 0 0 5px #388bf214}.file-upload #existing-file{display:block;overflow-wrap:anywhere}.editor-summary span{font-size:12px;color:#6b7e9d}.editor-summary strong{font-size:15px;color:#345886}.editor-v2:has(form[aria-busy=true]) .editor-toolbar{pointer-events:none;opacity:.55}.editor-v2:has(form[aria-busy=true]) .editor-save-status #editor-state{color:#3c73d9}.dialog-footer{border-top:1px solid #e1e9f5;background:#fbfcff}.dialog-footer .primary{min-width:126px}.dialog-footer>span{font-size:10px;line-height:1.6}
.sheet-table{border:1px solid #e0e8f3;box-shadow:0 6px 26px #24436805}.sheet-table table{min-width:980px}.sheet-table th{position:sticky;top:0;background:#f6f9fe;font-size:10px;color:#7e91ae;z-index:1}.sheet-table td{transition:background .2s}.sheet-table tr:hover:not(.editing-row){background:#fafcff}.sheet-table .row-title{font-size:13px}.sheet-table .table-authors{font-size:11px}.sheet-table .editing-row{background:#f4f8ff;box-shadow:inset 3px 0 #648de1}.editing-row textarea,.editing-row input,.editing-row select{background:#fff;border:1px solid #cbdaf0;font-size:12px;line-height:1.6}.editing-row .cell-changed{background:#fffbed;border-color:#e2c578;box-shadow:0 0 0 2px #e7c55a0b}.row-state{display:block;margin-top:8px;color:#8b7747;font-size:10px}.row-buttons{gap:8px}.row-buttons .primary{font-size:10px}.row-saving{opacity:.65}.row-saved{animation:row-saved 1.5s ease}@keyframes row-saved{0%,30%{background:#e8f8f0}to{background:transparent}}.table-toolbar .search-field{margin:0;min-width:240px}.table-search-submit{font-size:11px;font-weight:700;background:#edf3ff;color:#4776c9;padding:7px 10px;border-radius:7px;white-space:nowrap}.table-tip{font-size:11px;color:#788da9}.row-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.row-comparison>div{background:#fff9ef;border:1px solid #ecdec3;border-radius:9px;padding:12px;font-size:11px;overflow-wrap:anywhere}.row-comparison p{margin:5px 0;color:#8a775b}.row-comparison+button{margin-right:10px}
.intro-word{font-size:clamp(58px,9vw,104px);letter-spacing:-.055em;line-height:1.2}.intro-sql{width:auto;animation:none!important}.intro-russian{left:0;top:0;animation:none!important}.intro-rest,.intro-dot,.intro-pet,.intro-progress span{animation:none!important}.intro-pet{left:0;top:115px;width:132px;height:132px}.intro-pet>div{filter:drop-shadow(0 9px 5px #204c9125)}.intro-progress span{scale:1;transform-origin:left}.intro-floor{height:2px;filter:blur(.3px)}.intro-landed .intro-floor{animation:floor-glow .65s ease}@keyframes floor-glow{50%{box-shadow:0 0 35px 3px #64b8f538}}.intro-label{color:#6e89af}.intro-scene p{color:#6683ab}.intro-russian{white-space:nowrap}#skip-intro{color:#5378ad;background:#ffffffba}.brand-description{transform-origin:top left}.brand-description span{font-size:13px;color:#5c7191}.login-form-wrap form{animation:card-reveal .5s .1s both}
@media(max-width:600px){.editor-v2 .editor-body{padding:20px;max-height:54vh}.editor-save-status{padding:10px 20px;font-size:9px}.editor-save-status>span:last-child{display:none}.editor-v2 .dialog-footer>span{display:block}.editor-v2 .dialog-footer{gap:10px}.editor-progress button{font-size:9px}.step-intro h3{font-size:16px}.step-intro p{font-size:11px}.row-comparison{grid-template-columns:1fr}.intro-pet{top:108px;width:105px;height:105px}.intro-word{letter-spacing:-.055em}.table-toolbar select{flex:1}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.publication-card:hover,.primary:hover:not(:disabled){transform:none}}
