*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Arial,sans-serif;color:#171329;background:#160c35}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}:root{--violet: #7c4dff;--violet-2: #9c6cff;--ink: #171329;--muted: #746d87;--line: #e7e2f2;--panel: rgba(255,255,255,.94);--soft: #f6f3fb;--cyan: #20a8e8;--orange: #f59e0b;--green: #19bd45;--red: #f0526b}.screen{min-height:100vh;padding:22px 28px 32px;background:radial-gradient(circle at 9% 0%,rgba(124,77,255,.5),transparent 23%),linear-gradient(170deg,#140935f5,#1c0d44e6 34%,#e9e1f9f2)}.topbar,.nav,.workspace-shell,.form-shell,.login-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 24px 70px #2112472e}.topbar{height:70px;display:grid;grid-template-columns:270px 1fr auto;align-items:center;gap:22px;color:#fff}.brand{display:flex;align-items:center;gap:13px;font-weight:800;letter-spacing:.05em}.brand-mark{width:45px;height:45px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.35);background:radial-gradient(circle at 30% 25%,#ffffff38,#ffffff0f);box-shadow:inset 0 0 18px #a88bfa40,0 12px 32px #220a5459}.brand-mark img{width:31px;height:31px;display:block;filter:drop-shadow(0 0 10px rgba(168,139,250,.65))}.brand-title{font-size:30px;line-height:25px}.brand-subtitle{font-size:10px;color:#ffffffad;letter-spacing:.12em}.search{height:52px;border:1px solid rgba(255,255,255,.16);background:#ffffff1f;border-radius:18px;color:#fff;padding:0 20px;outline:none}.search::placeholder{color:#ffffff9e}.userbar{display:flex;align-items:center;gap:18px}.primary-btn{border:0;border-radius:16px;padding:14px 20px;color:#fff;background:linear-gradient(135deg,#8f55ff,#6c4cff);font-weight:700;box-shadow:0 12px 30px #7049ff57}.ghost-btn,.icon-btn{border:1px solid var(--line);background:#fff;color:#645b78;border-radius:9px;height:40px;padding:0 14px}.icon-btn{width:40px;padding:0;display:grid;place-items:center}.avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;border:2px solid rgba(255,255,255,.5)}.nav{display:grid;grid-template-columns:repeat(8,minmax(116px,1fr));gap:1px;margin:8px 0 0;border:1px solid rgba(255,255,255,.13);background:#ffffff14;border-radius:14px;overflow:hidden}.nav a,.nav button{height:56px;border:0;color:#ffffffd4;background:transparent;display:flex;align-items:center;justify-content:center;gap:10px;font-weight:700}.nav .active{background:linear-gradient(180deg,#9c6cfff2,#6848d8f2);color:#fff}.nav .disabled{color:#ffffff57;cursor:not-allowed}.workspace-shell{margin-top:10px;border-radius:24px;background:var(--panel);border:1px solid rgba(255,255,255,.8);overflow:hidden}.content{padding:22px}.stats{display:grid;grid-template-columns:repeat(6,1fr) 1.9fr;gap:12px}.stat,.automation{min-height:88px;border:1px solid var(--line);background:#ffffffc7;border-radius:9px;display:flex;align-items:center;gap:14px;padding:16px 18px}.stat-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#f0eafd;color:var(--violet)}.stat-title{font-size:13px;color:var(--muted)}.stat-value{font-size:27px;font-weight:800;color:#19152d}.automation{justify-content:flex-start;background:#f2edff}.toolbar{display:flex;align-items:center;gap:10px;padding:18px 0;border-top:1px solid #f0edf7;margin-top:18px}.toolbar .spacer{flex:1}.menu-wrap{position:relative}.menu-popover{position:absolute;z-index:20;top:46px;left:0;min-width:220px;padding:10px;border:1px solid #e7e1f1;border-radius:8px;background:#fff;box-shadow:0 18px 50px #291b4e29;display:grid;gap:6px}.menu-popover label,.menu-popover button{width:100%;min-height:34px;border:0;border-radius:7px;background:transparent;color:#4c435f;text-align:left;padding:8px 9px;font-size:13px}.menu-popover label{display:flex;align-items:center;gap:8px}.menu-popover button.active,.menu-popover button:hover,.menu-popover label:hover{background:#f3effb;color:var(--violet)}.segmented{display:flex;gap:4px;background:#f1edf8;padding:4px;border-radius:8px}.segmented button{border:0;border-radius:7px;padding:9px 13px;background:transparent;color:#766d89;font-weight:700}.segmented .selected{background:var(--violet);color:#fff}.board-layout{display:grid;grid-template-columns:1fr 290px;gap:16px}.board{display:grid;grid-template-columns:repeat(5,minmax(190px,1fr));gap:12px}.column{background:#f6f3fa;border:1px solid #eee8f7;border-radius:10px;padding:12px;min-height:540px}.column-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;font-weight:800;color:#302843}.dot{width:11px;height:11px;border-radius:50%;display:inline-block;margin-right:8px}.count{font-size:12px;border-radius:999px;background:#ebe5f4;padding:3px 8px;color:#6e6481}.task-card{display:block;background:#fff;border:1px solid #e8e2f0;border-left:3px solid var(--cyan);border-radius:8px;padding:15px;margin-bottom:10px;min-height:150px;box-shadow:0 8px 22px #3124530f}.task-card.review{border-left-color:var(--orange)}.task-card.progress{border-left-color:var(--violet-2)}.task-card.waiting{border-left-color:#facc15}.task-card.done{border-left-color:var(--green)}.task-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.task-title{font-size:13px;line-height:18px;font-weight:800;text-transform:uppercase;color:#28223d}.task-code,.card-meta{color:#70687f;font-size:12px}.task-desc{margin:10px 0 0;color:#5f566f;font-size:12px;line-height:17px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px}.chip{display:inline-flex;align-items:center;height:22px;border-radius:5px;padding:0 7px;font-size:10px;font-weight:800;text-transform:uppercase;background:#e8f8ff;color:#2099c9}.chip.done{background:#e8faed;color:#23a44b}.priority{color:#8d6dff;font-size:12px}.people{display:flex;gap:6px}.mini-avatar{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:800}.activity{background:#f8f5fd;border-left:1px solid #eee8f7;padding:12px;border-radius:9px}.activity h3{margin:0 0 14px;font-size:14px}.event{background:#fff;border:1px solid #ebe5f4;border-radius:8px;padding:12px;margin-bottom:10px;font-size:12px;color:#514763}.event b{display:block;color:#27213b;margin-bottom:5px}.data-table{width:100%;border-collapse:separate;border-spacing:0 8px}.data-table th{text-align:left;font-size:12px;color:#776f87;font-weight:800;padding:0 12px}.data-table td{background:#fff;border-top:1px solid #ece7f4;border-bottom:1px solid #ece7f4;padding:14px 12px;font-size:13px}.data-table td:first-child{border-left:1px solid #ece7f4;border-radius:8px 0 0 8px;font-weight:800}.data-table td:last-child{border-right:1px solid #ece7f4;border-radius:0 8px 8px 0}.table-sub{margin-top:4px;color:var(--muted);font-size:12px;font-weight:500;max-width:440px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-type-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #f0edf7}.doc-type-tabs button{border:1px solid #e6dff0;background:#fff;color:#5b526c;border-radius:999px;padding:9px 12px;font-weight:800}.doc-type-tabs button.active{background:var(--violet);border-color:var(--violet);color:#fff}.doc-type-tabs span{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;margin-left:6px;border-radius:999px;background:#f0ebfb;color:#6c55cc;font-size:11px}.doc-type-tabs button.active span{background:#ffffff38;color:#fff}.form-shell{max-width:980px;margin:22px auto;background:#fffffff5;border-radius:18px;padding:26px}.form-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.form-head h1{margin:0;font-size:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:8px;color:#5c536c;font-size:12px;font-weight:800}.field.full{grid-column:1 / -1}.field input,.field textarea,.field select{border:1px solid var(--line);border-radius:9px;padding:13px 14px;outline:none;background:#fff;color:#201936}.field textarea{min-height:128px;resize:vertical}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.task-editor{max-width:1280px;margin:16px auto}.task-editor-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;color:#fff;margin-bottom:16px}.task-editor-head h1{margin:8px 0;font-size:32px;line-height:38px;max-width:820px}.back-link{color:#ffffffc2;font-weight:800;font-size:13px}.editor-subline{display:flex;gap:8px;flex-wrap:wrap;color:#ffffffb3;font-size:12px}.editor-subline span{border:1px solid rgba(255,255,255,.16);background:#ffffff17;border-radius:999px;padding:6px 10px}.editor-actions{display:flex;gap:10px}.task-editor-body{display:grid;grid-template-columns:280px 1fr;gap:16px}.task-summary,.task-main-panel{background:#fffffff5;border:1px solid rgba(255,255,255,.74);border-radius:14px;box-shadow:0 24px 70px #2112472e}.task-summary{padding:16px;align-self:start}.status-card{display:flex;gap:12px;align-items:center;border-bottom:1px solid #eee8f7;padding-bottom:14px;color:#342a47}.status-card div div{color:var(--muted);font-size:12px;margin-top:3px}.status-dot{width:14px;height:14px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 6px #20a8e81f}.status-dot.review{background:var(--orange);box-shadow:0 0 0 6px #f59e0b21}.status-dot.progress{background:var(--violet-2);box-shadow:0 0 0 6px #9c6cff24}.status-dot.waiting{background:#facc15;box-shadow:0 0 0 6px #facc1529}.status-dot.done{background:var(--green);box-shadow:0 0 0 6px #19bd4521}.task-facts{margin:0;display:grid;gap:0}.task-facts div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid #f1edf7}.task-facts dt{color:var(--muted);font-size:12px;font-weight:800}.task-facts dd{margin:0;color:#27213b;font-size:13px;font-weight:800;text-align:right}.task-main-panel{min-height:650px;overflow:hidden}.tabs{display:flex;gap:4px;padding:12px 14px 0;border-bottom:1px solid #eee8f7;background:#fbf9fe}.tabs button{border:0;background:transparent;color:#71687f;padding:13px 15px;font-weight:800;border-bottom:2px solid transparent}.tabs button.active{color:var(--violet);border-bottom-color:var(--violet)}.tabs span{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;margin-left:5px;border-radius:999px;background:#ede7fb;font-size:11px}.task-details,.thread-panel,.files-panel,.history-panel{padding:20px}.thread-panel{display:grid;gap:16px}.comment-list{display:grid;gap:12px}.comment{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start}.comment-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#7552f0;color:#fff;font-weight:800}.comment-head{display:flex;justify-content:space-between;gap:12px;color:#2c253d}.comment-head span,.comment p,.file-row small,.history-row small{color:var(--muted);font-size:12px}.comment p{margin:7px 0 0;line-height:18px}.comment-box{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;border-top:1px solid #eee8f7;padding-top:16px}.comment-box textarea{min-height:86px;resize:vertical;border:1px solid var(--line);border-radius:9px;padding:12px;outline:none}.upload-drop{min-height:112px;border:1px dashed #b9a8e8;border-radius:10px;display:grid;place-items:center;gap:4px;background:#f8f4ff;color:var(--violet);font-weight:800;margin-bottom:14px;cursor:pointer}.upload-drop input{display:none}.upload-drop small{color:var(--muted);font-weight:500}.upload-progress{margin:0 0 12px;color:var(--violet);font-size:13px;font-weight:800}.file-list{display:grid;gap:8px}.file-row{width:100%;border:1px solid #ebe5f4;background:#fff;border-radius:8px;padding:12px;display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;text-align:left;color:#2d263e}.file-row b,.file-row small{display:block}.file-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#f0ebfb;color:var(--violet)}.history-row{display:grid;grid-template-columns:18px 1fr;gap:10px;padding:0 0 18px}.history-row>span{width:10px;height:10px;border-radius:50%;background:var(--violet);margin-top:5px;box-shadow:0 0 0 5px #eee8ff}.history-row b{color:#28213a}.history-row p{margin:5px 0;color:#5d536d;font-size:13px}.empty-state{color:var(--muted);border:1px dashed #d9d0e8;border-radius:8px;padding:18px;text-align:center;background:#fbf9fe}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 18% 18%,rgba(137,89,255,.55),transparent 30%),linear-gradient(150deg,#12072c,#28115e 50%,#efe8ff)}.login-card{width:min(420px,100%);border:1px solid rgba(255,255,255,.26);background:#ffffff1c;color:#fff;border-radius:18px;padding:32px}.login-card input{width:100%;height:48px;border-radius:9px;border:1px solid rgba(255,255,255,.2);background:#ffffff1f;color:#fff;padding:0 14px;outline:none}.login-card label{display:block;margin:16px 0 7px;color:#ffffffb8;font-size:12px;font-weight:800}.error{margin-top:14px;color:#ffd7df;font-size:13px}@media(max-width:1180px){.topbar{grid-template-columns:1fr;height:auto}.nav,.stats{grid-template-columns:repeat(2,1fr)}.board-layout,.board,.task-editor-body{grid-template-columns:1fr}.task-editor-head{flex-direction:column}}@media(max-width:760px){.screen{padding:14px}.stats,.form-grid{grid-template-columns:1fr}.toolbar{flex-wrap:wrap}}
