/* SPUTNITSA workspace UI. Deliberately loaded after legacy component styles.
   Brand artwork stays unchanged; operational text uses a legible system face. */
body{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.45}
button,input,textarea,select,summary{font-family:inherit;letter-spacing:normal;word-spacing:normal}
input[type="checkbox"],input[type="radio"]{min-height:16px!important;min-width:16px!important;width:16px!important;height:16px!important;flex:0 0 16px;padding:0;accent-color:#e58b1e}
.telegram-events label{font-size:13px!important;min-height:42px}.telegram-channels{padding:6px 0!important;gap:18px}.telegram-channels .switch{margin:8px 0}
.shell{--muted:#62666d;--ux-muted:#62666d;--ux-line:#dfe1e5}
.shell h1,.shell h2,.shell h3,.modal h2,.drawer h2{letter-spacing:-.02em;text-transform:none;line-height:1.3}
.top h1{font-size:22px!important;line-height:1.3!important;text-transform:none!important}
.top p{font-size:12px!important;line-height:1.5!important;color:#646970!important}
.top{gap:10px;padding:14px 24px!important;box-shadow:none!important;border-bottom:1px solid #e2e4e8!important}
.top .secondary,.top .primary{font-size:13px!important;min-height:36px;padding:8px 12px!important}
.top .secondary:hover,.top .secondary:focus-visible{color:#24272c!important;background:#f0f1f3!important}
.stats-dashboard small,.stats-dashboard p,.timeline-labels,.timeline-legend,.chart-legend{font-size:12px!important;color:#c5c7ca!important}.dashboard-panel h2{font-size:15px!important}.dashboard-kpis article>span{font-size:13px!important}
.content{padding:22px 24px}
.field>span,.label,.meta small,.comments-title{font-size:12px!important;font-weight:600;letter-spacing:0!important;text-transform:none!important;line-height:1.4!important;margin-bottom:6px}
.shell .input,.shell select,.modal .input,.modal select,.drawer .input,.drawer select{font-size:14px!important;line-height:1.4!important;padding:9px 11px;min-height:40px;border-radius:7px;min-width:0}
.field small,.task-links-input+small{font-size:12px!important;line-height:1.45!important}
.primary,.secondary{font-size:14px;line-height:1.4;padding:9px 13px;min-height:38px;border-radius:7px;box-shadow:none!important}
.shell .secondary,.modal-body .secondary,.drawer .secondary{background:#fff;color:#353a40;border:1px solid #d9dce1}
.shell .secondary:hover,.modal-body .secondary:hover,.drawer .secondary:hover{background:#f4f5f7;border-color:#a7adb5}
.shell .danger,.drawer .danger{color:#ad3030!important}
.settings-card,.personnel-row,.personnel-filters{border:1px solid #dfe1e5!important;box-shadow:none!important;border-radius:10px!important}
.settings-card h2{font-size:20px!important}.section-head p{font-size:13px!important;line-height:1.5}
.section-head small{font-size:11px;letter-spacing:.04em;color:#687078}
.nav button span{font-size:12px!important;letter-spacing:0!important}
.profile-full-name,.profile>div b{font-size:13px!important;line-height:1.35!important}
.profile{cursor:pointer}
.board{gap:16px;padding:16px 24px 22px}
.column{width:304px;min-width:304px;border-radius:10px!important;box-shadow:none!important}
.col-head b{font-size:14px;line-height:1.4}.col-head{padding:12px;min-height:48px}
.card{border:1px solid #dedfe3!important;border-radius:9px!important;box-shadow:0 1px 2px #00000006!important;padding:12px!important}
.card:hover{transform:none!important;border-color:#b6bbc3!important;box-shadow:0 3px 10px #0000000b!important}
.card-title{font-size:14px!important;line-height:1.5!important;font-weight:600;overflow-wrap:anywhere;margin:10px 0}
.card-assignee-label>span,.card-foot{font-size:11px!important}
.card .card-assignee{font-size:12px!important;min-height:32px;padding:5px 8px}
.quick-status-select{font-size:11px!important;min-height:30px!important;max-width:150px;padding:4px 7px!important}
.filters{gap:4px;overflow-x:auto}.filters button{font-size:12px!important;min-height:34px;white-space:nowrap}
.task-title{font-size:22px!important;line-height:1.4!important;overflow-wrap:anywhere}
.drawer{width:620px;max-width:100vw}.drawer-body{padding:20px 24px}
.meta{gap:8px;margin:14px 0}.meta>div{padding:9px 11px!important}.meta small{font-size:11px!important}
.task-files-block{padding:14px!important;border:1px solid #e2ded7!important;border-left:3px solid #ed9b32!important;border-radius:8px!important;margin-bottom:12px!important}
.task-files-title{margin-bottom:10px!important}.task-files-title b{font-size:13px!important;letter-spacing:0!important;line-height:1.4!important;text-transform:none!important}
.task-files-title b small{font-size:12px!important;font-weight:400;line-height:1.45;overflow-wrap:anywhere}
.task-file-empty{font-size:13px!important;padding:4px 0 12px!important}
.task-file a{padding:10px!important;gap:10px!important}.task-file a i{width:30px!important;height:30px!important;font-size:19px!important;flex:none}
.task-file b{font-size:13px!important;line-height:1.4!important}.task-file small{font-size:12px!important;line-height:1.4!important;overflow-wrap:anywhere}
.task-link-disclosure summary{cursor:pointer;color:#754208;font-size:13px;font-weight:600;min-height:36px;display:flex;align-items:center;gap:8px;list-style:none}
.task-link-disclosure summary::-webkit-details-marker{display:none}.task-link-disclosure summary:before{content:'+';font-size:20px;font-weight:400}.task-link-disclosure[open] summary:before{content:'−'}
.task-link-add{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;margin:10px 0 0!important}
.task-link-add .field{margin:0}.task-link-add .input{width:100%!important;font-size:14px!important;min-height:40px!important}
.task-link-add button{font-size:13px!important;min-height:38px!important;justify-self:start;width:auto!important;padding:8px 12px!important}
.task-link-help{font-size:12px;color:#6b6257;margin:0}
.drawer-actions{gap:8px;padding:12px 20px!important;flex-wrap:wrap;background:#fff;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
.drawer-actions button{font-size:13px!important;min-height:38px!important;padding:8px 12px!important}
.modal{max-height:calc(100dvh - 32px)!important;overscroll-behavior:contain}
.modal-head{padding:14px 20px!important;min-height:58px}.modal-head h2{font-size:19px!important;line-height:1.35}
.modal-body{padding:18px 20px}.modal-body>.actions{position:sticky;bottom:-18px;z-index:3;background:#fff;padding:12px 0;margin-top:20px;border-top:1px solid #dfe1e5}
.formats button{font-size:13px!important;background:#fff!important;color:#444!important;border:1px solid #d9dce1!important;padding:8px 12px!important}
.formats button.active{background:#fff3e0!important;color:#774500!important;border-color:#db9d44!important}
.deadline-shortcuts button{font-size:12px!important;background:#f5f5f5!important;color:#454545!important}
.task-template-picker{padding:10px 12px!important}.task-template-picker b{font-size:13px!important}.task-template-picker small{display:none}.task-template-picker span{font-size:12px!important}
.editor-tools button,.close,.link-delete,.icon-btn{min-width:32px;min-height:32px}
.comment-add .input{font-size:14px!important}.comment-add button{min-width:42px;min-height:42px}
.bubble p{font-size:14px!important;line-height:1.5}.bubble b{font-size:12px!important}.bubble time{font-size:11px!important}
.telegram-settings{display:grid!important;grid-template-columns:1fr!important;max-width:840px!important;width:100%;gap:16px!important}
.telegram-settings .settings-card{width:100%;grid-column:1/-1}.telegram-settings .switch{font-size:14px;line-height:1.5}
.personnel-filters select,.personnel-filters input{font-size:13px!important}.personnel-person b{font-size:14px!important}.personnel-person small{font-size:12px!important}
.admin-section-tabs button{font-size:13px!important}.taxonomy-row{font-size:13px}.manage-row{flex-wrap:wrap;min-width:0}
.messenger-search input,#messenger-search{font-size:14px!important}.messenger-name,.messenger-person b{font-size:14px!important}
.messenger-chat-head .person-favorite-mini{display:none!important}
.login .field>span{color:#c7c3bc!important}.login .input,.login select,.login textarea{font-size:16px!important}.auth-box h1{font-size:28px!important;letter-spacing:0!important}.auth-box p{line-height:1.5!important}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #a65d00!important;outline-offset:3px!important}
@media(min-width:801px) and (max-width:1200px){.nav{flex:1;min-width:0;overflow-x:auto}.nav button{padding-inline:8px!important;flex:none}.nav button span{display:block!important;max-width:none!important;font-size:11px!important}.brand{width:142px!important}.brand img{width:130px!important}.profile{min-width:120px!important;width:150px!important}.top>div:first-child{min-width:200px}.top{flex-wrap:wrap}}
@media(max-width:800px){
 .nav{height:calc(68px + env(safe-area-inset-bottom))!important;bottom:0!important;overflow-x:auto!important;overflow-y:hidden!important;justify-content:flex-start!important;padding-bottom:env(safe-area-inset-bottom);scrollbar-width:none}
 .nav button{flex:1 0 76px!important;min-width:76px!important;height:64px!important;min-height:64px!important;padding:6px 3px!important;gap:4px!important}
 .nav button span{font-size:11px!important;max-width:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.2!important}
 .top{padding:12px!important;gap:6px!important}.top h1{font-size:20px!important}.top-actions{overflow-x:auto!important}.top .secondary,.top .primary{font-size:12px!important;min-height:40px}.top>.top-view{flex:1 0 calc(25% - 5px)!important;padding:7px 3px!important;white-space:nowrap!important;font-size:11px!important}
 .content{padding:14px 12px}.board{padding:12px;gap:12px}.column{min-width:min(304px,calc(100vw - 32px));width:min(304px,calc(100vw - 32px))}
 .profile-full-name,.profile>div b{font-size:12px!important;white-space:normal!important;max-height:34px!important;max-width:150px!important}
 .personnel-filters.personnel-filters-visible{grid-template-columns:repeat(2,minmax(0,1fr))!important}.personnel-filters.personnel-filters-visible #people-search{grid-column:1/-1!important}
 .personnel-filters select{font-size:12px!important}.settings-card{padding:16px!important}.section-head{gap:12px;flex-wrap:wrap}
 .personnel-filters #people-sort{grid-column:1/-1!important}
 .modal{max-height:calc(100dvh - 16px)!important}.overlay{padding:8px}.modal-body{padding:16px}.modal-body>.actions{bottom:-16px}
 .drawer{width:100vw;max-width:100vw}.drawer-body{padding:16px}.drawer-actions{padding:10px 12px!important}.drawer-actions button{min-height:42px!important}
 .task-title{font-size:20px!important}.grid2{grid-template-columns:1fr!important;gap:0}.drawer .meta{grid-template-columns:repeat(2,minmax(0,1fr))!important}.drawer .meta>div{min-width:0;font-size:13px}.drawer .meta select{font-size:13px!important}
 .input,select,textarea{font-size:16px!important}.formats{flex-wrap:wrap;gap:6px}
 .modal-body .input,.modal-body select,.drawer .input{font-size:16px!important}
 .my-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
