:root{color:#121a31;font-synthesis:none;--accent:#2939b7;--accent-soft:#eef0ff;--border:#dfe3ec;--muted:#687189;--surface:#fff;--canvas:#f8f9fc;--danger:#d83a4a;--warning:#e59220;--success:#1d9b58;background:#f8f9fc;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--canvas);min-width:320px}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:var(--accent)}.app-shell{grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);z-index:20;background:#fff;flex-direction:column;height:100vh;padding:25px 14px 18px;display:flex;position:sticky;top:0}.brand{letter-spacing:-.03em;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:0 10px 28px;font-size:20px;font-weight:760;display:flex}.brand-mark{background:var(--accent);color:#fff;border-radius:9px;place-items:center;width:40px;height:40px;display:grid}.sidebar nav{gap:5px;display:grid}.nav-item{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:13px;width:100%;padding:12px 14px;font-size:14px;font-weight:570;display:flex;position:relative}.nav-item:hover{background:#f3f5f9}.nav-item.active{background:var(--accent-soft);color:#1e2c92}.nav-item.active:before{content:"";background:var(--accent);border-radius:0 3px 3px 0;width:3px;position:absolute;top:7px;bottom:7px;left:-14px}.create-nav{margin-top:20px}.sidebar-user{border-top:1px solid var(--border);align-items:center;gap:10px;margin-top:auto;padding:18px 7px 0;display:flex}.sidebar-user>div{flex:1;min-width:0}.sidebar-user strong,.sidebar-user small{text-overflow:ellipsis;display:block;overflow:hidden}.sidebar-user strong{font-size:13px}.sidebar-user small{color:var(--muted);margin-top:3px;font-size:11px}.sidebar-user form button{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:7px}.avatar{color:#35415e;background:#e9edf8;border-radius:50%;flex:none;place-items:center;width:23px;height:23px;font-size:9px;font-weight:750;display:inline-grid}.avatar-large{color:#fff;background:#2939b7;width:38px;height:38px;font-size:12px}.main-content{min-width:0}.page{max-width:1600px;min-height:100vh;margin:0 auto;padding:30px 28px 42px}.page-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.page-header h1{letter-spacing:-.04em;margin:0;font-size:29px;line-height:1.1}.page-header p{color:var(--muted);margin:7px 0 0;font-size:13px}.header-actions{align-items:center;gap:9px;display:flex}.button{cursor:pointer;border:1px solid #0000;border-radius:7px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-size:13px;font-weight:650;text-decoration:none;transition:background .15s,border-color .15s,transform .15s;display:inline-flex}.button:active{transform:translateY(1px)}.button:disabled{opacity:.55;cursor:not-allowed}.button.primary{color:#fff;background:var(--accent)}.button.primary:hover{background:#202fa2}.button.secondary{border-color:var(--border);background:#fff}.button.secondary:hover{border-color:#bdc4d4}.button.success{background:var(--success);color:#fff}.button.small{min-height:34px;padding:0 11px;font-size:12px}.button.large{min-height:46px;padding:0 23px}.icon-button{width:36px;height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;display:inline-grid}.icon-button:hover{color:#1f2943;background:#f1f3f7}.danger-icon:hover{color:var(--danger);background:#fff0f1}.filters{border:1px solid var(--border);background:#fff;border-radius:10px;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px;padding:14px;display:flex}.filters.compact{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;padding:0 0 18px}.filters label{border:1px solid var(--border);color:#4b5670;background:#fff;border-radius:7px;align-items:center;gap:7px;height:38px;padding:0 10px;font-size:12px;display:inline-flex}.filters select,.filters input{color:#283149;background:0 0;border:0;outline:0;font-size:12px}.filters select{cursor:pointer;min-width:118px}.filters .search-field{flex:230px;max-width:390px}.search-field input{width:100%;min-width:0}.toggle-filter input{display:none}.toggle-filter{cursor:pointer}.toggle-filter.selected{color:#b72c3a;background:#fff6f7;border-color:#f0afb5}.reset-filter{color:var(--accent);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;font-size:12px;display:flex}.kanban-board{grid-template-columns:repeat(4,minmax(260px,1fr));align-items:start;gap:10px;padding-bottom:14px;display:grid;overflow-x:auto}.kanban-column{border:1px solid var(--border);background:#f7f8fb;border-radius:9px;min-width:260px;min-height:590px;padding:8px;transition:border-color .15s,background .15s}.kanban-column.is-over{background:#f1f3ff;border-color:#8290eb}.kanban-column>header{justify-content:space-between;align-items:center;height:42px;padding:0 4px 0 6px;display:flex}.kanban-column>header div{align-items:center;gap:8px;min-width:0;display:flex}.kanban-column h2{text-transform:uppercase;letter-spacing:.035em;white-space:nowrap;margin:0;font-size:11px}.kanban-column header span{color:#596278;background:#e9ebf1;border-radius:5px;place-items:center;min-width:23px;height:21px;font-size:10px;display:grid}.status-square{background:#3f50d0;border-radius:2px;width:10px;height:10px}.status-in_progress .status-square{background:var(--warning)}.status-waiting .status-square{background:var(--danger)}.status-done .status-square{background:var(--success)}.column-tasks{align-content:start;gap:7px;min-height:490px;display:grid}.add-column-task{color:#4d5bac;cursor:pointer;background:0 0;border:1px dashed #c9cfdd;border-radius:7px;justify-content:center;align-items:center;gap:6px;width:100%;height:38px;font-size:11px;display:flex}.add-column-task:hover{background:#fff;border-color:#9da7c0}.column-empty{color:#98a0b2;border:1px dashed #0000;place-items:center;height:80px;font-size:11px;display:grid}.task-card{z-index:1;background:#fff;border:1px solid #d9deea;border-left:3px solid #5365e5;border-radius:7px;padding:12px 12px 11px 10px;transition:border-color .15s,box-shadow .15s,transform .15s;position:relative;box-shadow:0 1px 2px #1e27420a}.task-card:hover{border-color:#aeb7d3 #aeb7d3 #aeb7d3 #5365e5;box-shadow:0 5px 14px #1e274214}.task-card.dragging{z-index:100;opacity:.9;box-shadow:0 14px 30px #1e27422e}.status-done .task-card{border-left-color:var(--success)}.card-head{align-items:center;gap:5px;min-height:19px;display:flex}.drag-handle{color:#a8afbf;cursor:grab;background:0 0;border:0;place-items:center;padding:0;display:grid}.drag-handle:active{cursor:grabbing}.task-id{color:#7b8499;font-size:10px}.priority-label{color:#596278;align-items:center;gap:5px;margin-left:auto;font-size:9px;display:flex}.priority-label i{background:#8892a7;border-radius:2px;width:7px;height:7px}.priority-label.low i{background:var(--success)}.priority-label.normal i{background:var(--warning)}.priority-label.high i,.priority-label.critical i{background:var(--danger)}.card-title{text-align:left;color:#182038;cursor:pointer;background:0 0;border:0;width:100%;min-height:50px;padding:8px 2px 11px 20px;font-size:12px;font-weight:690;line-height:1.42;display:block}.card-title:hover{color:var(--accent)}.card-meta{color:#657087;flex-wrap:wrap;align-items:center;gap:8px 12px;padding-left:20px;font-size:9.5px;display:flex}.card-meta>span{align-items:center;gap:4px;display:inline-flex}.card-meta .assignee{color:#4e5870}.card-meta .overdue{color:#c02f3d;font-weight:650}.card-meta .avatar{width:19px;height:19px;font-size:7px}.inline-error,.form-error{color:#ae2836;background:#fff1f2;border:1px solid #f1c2c7;border-radius:7px;padding:10px 12px;font-size:12px}.loading-grid{grid-template-columns:repeat(4,1fr);gap:10px;display:grid}.loading-grid>div{border:1px solid var(--border);background:#f7f8fb;border-radius:9px;min-height:540px;padding:55px 8px 8px}.loading-grid span{background:#fff;border:1px solid #e5e8ef;border-radius:7px;height:125px;margin-bottom:8px;animation:1.2s infinite alternate pulse;display:block}@keyframes pulse{to{opacity:.48}}.tabs{border-bottom:1px solid var(--border);gap:4px;margin-bottom:22px;display:flex;overflow-x:auto}.tabs button{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:11px 13px;font-size:12px}.tabs button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:650}.my-groups{gap:24px;display:grid}.task-group>header{color:#4e5871;align-items:center;gap:8px;margin-bottom:10px;display:flex}.task-group h2{color:#222c45;margin:0;font-size:13px}.task-group header span{background:#e9ecf3;border-radius:4px;padding:2px 6px;font-size:10px}.my-task-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:9px;display:grid}.task-table-wrap{border:1px solid var(--border);background:#fff;border-radius:10px;overflow:hidden}.task-table{border-collapse:collapse;width:100%;font-size:12px}.task-table th{text-align:left;color:#7b8499;border-bottom:1px solid var(--border);text-transform:uppercase;letter-spacing:.04em;background:#fafbfc;padding:11px 13px;font-size:10px}.task-table td{color:#3f4961;cursor:pointer;border-bottom:1px solid #eceef3;padding:13px}.task-table tr:last-child td{border-bottom:0}.task-table tbody tr:hover{background:#fafbff}.task-table td:first-child{min-width:280px}.task-table td:first-child strong{color:#172039;margin-top:4px;display:block}.table-id{color:#81899b;font-size:10px}.status-text,.room-source{white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.status-text i{background:#3f50d0;border-radius:2px;width:8px;height:8px}.status-text.in_progress i{background:var(--warning)}.status-text.waiting i{background:var(--danger)}.status-text.done i{background:var(--success)}.priority-text{font-size:10px;font-weight:680}.priority-text.high,.priority-text.critical{color:var(--danger)}.priority-text.normal{color:#b46b0e}.priority-text.low{color:var(--success)}.empty-cell{text-align:center;color:var(--muted);padding:40px!important}.empty-state{text-align:center;color:var(--muted);padding:48px 20px}.empty-state h3{color:#29324a;margin:0 0 7px;font-size:16px}.empty-state p{margin:0;font-size:12px}.muted{color:#8a92a5!important}.modal-backdrop,.drawer-backdrop{z-index:1000;background:#1118277a;display:flex;position:fixed;inset:0}.modal-backdrop{justify-content:center;align-items:center;padding:20px}.task-modal{background:#fff;border-radius:11px;width:min(650px,100%);max-height:calc(100vh - 30px);overflow:auto;box-shadow:0 24px 70px #0f172a3d}.task-modal header,.drawer-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:20px;padding:21px 23px;display:flex}.task-modal h2{letter-spacing:-.025em;margin:0;font-size:21px}.eyeless-label{color:var(--accent);text-transform:uppercase;margin-bottom:5px;font-size:10px;font-weight:700;display:block}.form-body{gap:16px;padding:22px 23px 12px;display:grid}.field{gap:7px;display:grid;position:relative}.field>span,.properties-grid label>span{color:#657087;font-size:10px;font-weight:630}.field input,.field textarea,.field select,.drawer-section textarea,.properties-grid input,.properties-grid select,.drawer-title-input{color:#172039;background:#fff;border:1px solid #d6dbe6;border-radius:7px;outline:none;width:100%;padding:10px 11px;font-size:12px}.field input:focus,.field textarea:focus,.field select:focus,.drawer-section textarea:focus,.properties-grid input:focus,.properties-grid select:focus,.drawer-title-input:focus{border-color:#6c7ce0;box-shadow:0 0 0 3px #eef0ff}.field textarea,.drawer-section textarea{resize:vertical;line-height:1.5}.form-grid{grid-template-columns:1.5fr 1fr 1fr;gap:12px;display:grid}.date-field svg,.date-property svg{color:#7d8699;position:absolute;bottom:11px;left:10px}.date-field input,.date-property input{padding-left:34px}.source-hint{color:#4c5892;background:#f7f8ff;border:1px solid #dfe3f5;border-radius:7px;padding:10px 12px;font-size:11px}.task-modal footer{justify-content:flex-end;gap:8px;padding:16px 23px 20px;display:flex}.drawer-backdrop{justify-content:flex-end}.task-drawer{background:#fff;grid-template-rows:auto 1fr auto;width:min(610px,100%);height:100%;display:grid;box-shadow:-15px 0 50px #0f172a26}.drawer-header{padding:21px 20px}.drawer-header>div:first-child{flex:1;min-width:0}.drawer-id{color:var(--accent);font-size:12px;font-weight:750}.drawer-header h2{letter-spacing:-.025em;margin:8px 0 0;font-size:20px;line-height:1.3}.drawer-title-input{margin-top:7px;font-size:17px;font-weight:680}.drawer-head-actions{align-items:center;gap:5px;display:flex}.drawer-scroll{padding:18px 20px 30px;overflow-y:auto}.properties-grid{border:1px solid var(--border);border-radius:8px;grid-template-columns:1fr 1fr;gap:13px;padding:13px;display:grid}.properties-grid label{gap:6px;display:grid;position:relative}.properties-grid select,.properties-grid input{padding:9px 10px}.properties-grid :disabled{color:#3f4961;opacity:1;background:#fafbfc}.drawer-section{margin-top:24px}.drawer-section h3{align-items:center;gap:7px;margin:0 0 10px;font-size:12px;display:flex}.drawer-section>p{color:#3f4961;white-space:pre-wrap;margin:0;font-size:12px;line-height:1.6}.source-card{border:1px solid var(--border);border-radius:8px;padding:13px}.source-meta{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.source-meta span{color:#7a8397;font-size:9px}.source-meta strong{color:#34405c;margin-top:4px;font-size:11px;display:block}.source-card blockquote{color:#3c465e;background:#f7f8fb;border:1px solid #e5e8ef;border-left:3px solid #9ba6c4;border-radius:5px;margin:14px 0 12px;padding:10px 12px;font-size:11px;line-height:1.5}.source-card a{align-items:center;gap:5px;font-size:11px;font-weight:620;text-decoration:none;display:inline-flex}.activity-list{border:1px solid var(--border);border-radius:8px;overflow:hidden}.activity-row{border-bottom:1px solid #ebedf2;align-items:center;gap:10px;padding:11px 12px;display:flex}.activity-row:last-child{border-bottom:0}.activity-row p{color:#454f66;margin:0;font-size:10.5px}.activity-row small{color:#8a92a5;margin-top:3px;font-size:9px;display:block}.drawer-footer{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;gap:8px;padding:15px 20px;display:flex}.auth-screen{color:#47516a;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-screen>p{font-size:13px}.brand-loader{border:4px solid #d9deef;border-top-color:var(--accent);border-radius:50%;width:42px;height:42px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth-panel{text-align:center;border:1px solid var(--border);background:#fff;border-radius:12px;width:min(420px,100%);padding:38px;box-shadow:0 15px 40px #1e274214}.auth-panel h1{color:#16203a;margin:12px 0 8px;font-size:27px}.auth-panel p{margin:0 auto 24px;font-size:13px;line-height:1.6}.auth-mark{background:var(--accent);color:#fff;border-radius:10px;place-items:center;width:48px;height:48px;margin:auto;font-size:27px;display:grid}@media (width<=1150px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.page{padding-left:18px;padding-right:18px}.kanban-board{grid-template-columns:repeat(4,280px)}.task-table th:nth-child(6),.task-table td:nth-child(6){display:none}}@media (width<=760px){.app-shell{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--border);grid-template-columns:auto 1fr;align-items:center;height:auto;padding:11px;display:grid;position:static}.brand{padding:0;font-size:0}.brand-mark{width:36px;height:36px}.sidebar nav{justify-content:flex-end;gap:2px;display:flex}.nav-item{justify-content:center;width:40px;height:40px;padding:0}.nav-item span{display:none}.nav-item.active:before{width:auto;height:3px;inset:auto 8px -11px}.create-nav{margin:0}.sidebar-user{display:none}.page{padding:20px 12px 32px}.page-header{margin-bottom:19px}.page-header h1{font-size:24px}.page-header p{display:none}.filters,.filters.compact{background:0 0;border:0;flex-wrap:nowrap;padding:0 0 14px;overflow-x:auto}.filters label{flex:none}.filters .search-field{flex:0 0 210px}.kanban-board{grid-template-columns:repeat(4,min(82vw,310px))}.kanban-column{min-width:min(82vw,310px);min-height:520px}.task-table-wrap{overflow-x:auto}.task-table{min-width:730px}.form-grid{grid-template-columns:1fr}.task-modal{border-radius:8px}.task-drawer{width:100%}.drawer-head-actions .button span{display:none}.properties-grid{grid-template-columns:1fr}.source-meta{grid-template-columns:1fr 1fr}.drawer-footer{justify-content:stretch}.drawer-footer .button{flex:1;padding:0 8px}}.app-shell.is-embedded{display:block}.is-embedded .page{max-width:none;padding:14px 10px 25px}.is-embedded .page-header{margin-bottom:14px}.is-embedded .page-header h1{font-size:22px}.is-embedded .page-header p{display:none}.is-embedded .kanban-board{grid-template-columns:repeat(4,min(84vw,300px))}.is-embedded .kanban-column{min-width:min(84vw,300px)}.is-embedded .filters{flex-wrap:nowrap;overflow-x:auto}.is-embedded .filters label{flex:none}.is-embedded .filters .search-field{flex-basis:200px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
