:root{--ink:#22283b;--muted:#7c849a;--line:#e7e9f2;--bg:#f7f8fc;--purple:#5145e5;--purple-light:#f0efff;--white:#fff;--shadow:0 8px 30px rgba(25,31,56,.04);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}.app-body{min-height:100vh}.sidebar{width:258px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:25px 17px 16px;display:flex;flex-direction:column;z-index:20;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 34px}.brand b{font-size:17px;display:block;letter-spacing:-.4px}.brand small{display:block;font-size:9px;font-weight:800;letter-spacing:1.7px;color:#9ba2b5;margin-top:4px}.brand-mark{height:37px;width:37px;display:inline-grid;place-items:center;border-radius:12px;background:var(--purple);color:white;font-size:14px;font-weight:900;letter-spacing:-1px;flex-shrink:0;box-shadow:0 5px 12px #5145e52e}.nav-label{font-size:10px;font-weight:850;letter-spacing:1.7px;color:#9aa1b3;padding:0 12px;margin:0 0 12px}.nav-item{height:44px;display:flex;align-items:center;gap:13px;padding:0 13px;border-radius:10px;color:#687188;font-weight:650;margin-bottom:6px}.nav-item:hover,.nav-item.active{background:var(--purple-light);color:var(--purple)}.nav-split{display:flex;align-items:center;justify-content:space-between;margin-top:26px}.nav-split a{font-size:22px;color:var(--purple);width:29px;height:29px;border-radius:8px;background:var(--purple-light);display:grid;place-items:center}.project-link{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;color:#606980;font-size:12px}.project-link:hover{background:#f6f6fb}.project-link i{height:9px;width:9px;border-radius:3px;flex-shrink:0}.project-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.project-link small{font-size:10px;color:#a1a7b8}.sidebar-bottom{margin-top:auto;padding-top:22px}.main-area{margin-left:258px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:17px;padding:0 34px;position:sticky;top:0;z-index:15}.crumb{display:flex;align-items:center;gap:12px;min-width:190px;color:#a0a6b6}.crumb b{font-weight:400;color:#d0d3df}.crumb strong{color:#353b50;font-weight:700}.top-search{margin-left:auto;width:min(340px,36vw)}input,textarea,select{width:100%;border:1px solid #dfe3ee;border-radius:9px;background:#fff;padding:11px 13px;color:var(--ink);outline:none;transition:border .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:#8b83f2;box-shadow:0 0 0 3px #5145e515}input[type=color]{height:44px;padding:4px}input[type=file]{padding:8px}.top-search input{background:#fafbfe;border-color:#e8eaf2;padding:10px 13px}.icon-button,.avatar,.mobile-menu{border:1px solid var(--line);background:white;border-radius:10px;width:40px;height:40px;display:grid;place-items:center;color:var(--purple);font-size:20px}.avatar{border:0;border-radius:50%;background:#292f44;color:white;font-size:13px;font-weight:800}.profile-menu{display:none;position:absolute;right:25px;top:62px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:12px;padding:15px;min-width:200px;z-index:40}.profile-menu.open{display:grid;gap:10px}.profile-menu small{color:var(--muted)}.profile-menu a{padding:7px 0;color:#555e74}.mobile-menu{display:none}.page-content{width:100%;max-width:1600px;padding:34px 38px 45px;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:30px}.page-heading h1{font-size:31px;line-height:1.15;letter-spacing:-1.2px;margin:8px 0 8px;font-weight:780}.page-heading p{margin:0}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:850;color:#858da8}.muted{color:var(--muted)}.accent{color:var(--purple)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:0 16px;border:1px solid #e1e4ee;border-radius:9px;background:white;color:#596176;font-weight:700;white-space:nowrap}.btn:hover{border-color:#c8c4fa;background:#fbfaff}.btn.primary{background:var(--purple);border-color:var(--purple);color:white;box-shadow:0 4px 8px #5145e51c}.btn.primary:hover{background:#4338ca}.btn.full{width:100%}.small-btn{min-height:32px;padding:0 10px;font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:35px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 23px;min-height:142px;box-shadow:var(--shadow)}.stat-card>div{display:flex;justify-content:space-between;align-items:center;color:#7e879d;font-weight:650}.stat-card strong{display:block;font-size:34px;letter-spacing:-1px;margin:10px 0 5px}.stat-card small{font-size:11px;color:#9aa1b3}.stat-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;font-style:normal;font-size:17px}.purple{background:#f0efff;color:#7568f6}.blue{background:#eaf5ff;color:#2990e9}.orange{background:#fff4e5;color:#f39a30}.green{background:#e8fbf2;color:#1da875}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:25px 0 17px}.section-heading h2{font-size:19px;letter-spacing:-.45px;margin:0 0 5px}.section-heading p{margin:0}.section-heading>a{color:var(--purple);font-weight:700}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:30px}.project-card{background:white;border:1px solid var(--line);border-radius:13px;padding:19px;min-width:0;transition:transform .15s,border-color .15s,box-shadow .15s}.project-card:hover{transform:translateY(-2px);border-color:#d3cffd;box-shadow:var(--shadow)}.project-card-top{display:flex;align-items:center;gap:9px}.project-color{width:10px;height:10px;border-radius:3px}.project-key{font-size:10px;font-weight:850;letter-spacing:.7px;color:#858da2}.more{margin-left:auto;color:#a2a8b8}.project-card h3{font-size:16px;margin:17px 0 7px;letter-spacing:-.3px}.project-card p{font-size:12px;color:#8991a6;line-height:1.6;min-height:38px;margin:0 0 18px}.project-card-footer{border-top:1px solid #f0f1f6;padding-top:13px;display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#7c849a}.project-card-footer span:last-child{color:var(--purple);font-weight:700}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:20px;box-shadow:var(--shadow)}.table-panel{padding:0;overflow:hidden}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#9aa1b3;font-weight:800;background:#fcfcfe}th,td{padding:15px 20px;border-bottom:1px solid #f0f1f6}td{font-size:12px;color:#6e778e}tbody tr:last-child td{border-bottom:0}.table-task{font-size:13px;color:#30364a;font-weight:700;display:block}.table-task+small{font-size:10px;color:#a0a6b6;display:block;margin-top:4px}.status-badge,.pill{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;background:#f3f4f9;color:#707991;font-size:10px;font-weight:750}.status-badge.in_progress{background:#edf4ff;color:#3c83d8}.status-badge.review{background:#fff4e5;color:#bf7b19}.status-badge.done{background:#e9fbf2;color:#169b6b}.priority{font-size:10px;font-weight:750}.priority.urgent{color:#e04456}.priority.high{color:#e47a39}.priority.medium{color:#bd8a2d}.priority.low{color:#7d8aa7}.empty-state{text-align:center;padding:45px 20px}.empty-state h2{font-size:18px;margin:13px 0 8px}.empty-state p{margin:0 0 20px}.empty-icon{width:48px;height:48px;border-radius:14px;background:var(--purple-light);color:var(--purple);font-size:23px;display:grid;place-items:center;margin:auto}.form-panel{max-width:850px}.form-panel h2,.panel h2{font-size:17px;letter-spacing:-.3px;margin:0 0 18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.form-grid .span-2{grid-column:span 2}label{display:grid;gap:8px;font-weight:700;color:#5d657a;margin-bottom:17px}label small{font-weight:400}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:8px}.toolbar{display:flex;gap:10px;align-items:center;margin:-12px 0 18px}.board-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:13px;align-items:start;overflow-x:auto;padding-bottom:15px}.board-column{background:#f0f2f8;border:1px solid #e9ebf3;border-radius:12px;padding:12px;min-height:230px}.column-heading{display:flex;align-items:center;gap:8px;padding:5px 4px 14px;font-size:12px}.column-heading .count{margin-left:auto;color:#8b93a7;background:#e3e6ef;padding:3px 7px;border-radius:6px;font-size:10px}.status-dot{width:8px;height:8px;border-radius:50%;background:#9299aa}.status-dot.in_progress{background:#4387ec}.status-dot.review{background:#ed9b32}.status-dot.done{background:#23ad7a}.task-card{display:block;background:#fff;border:1px solid #e7e9f1;border-radius:10px;padding:13px;margin-bottom:9px;box-shadow:0 2px 4px #20264a05}.task-card:hover{border-color:#c8c3fb}.task-card-meta{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}.task-key{font-size:9px;color:#9299ad;font-weight:800;letter-spacing:.5px}.task-card>b{font-size:12px;line-height:1.5;display:block}.task-card p{font-size:11px;line-height:1.5;color:#8a92a6}.task-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:13px}.type-tag{background:#f4f5fa;color:#777f94;padding:4px 6px;border-radius:5px;font-size:9px}.assignee{height:24px;width:24px;border-radius:50%;background:#eeedff;color:var(--purple);display:grid;place-items:center;font-weight:800;font-size:10px}.due-date{display:block;color:#9a8290;margin-top:9px;font-size:10px}.team-panel{margin-top:15px}.panel-title{display:flex;justify-content:space-between}.inline-form{display:flex;gap:10px;align-items:center}.inline-form select:first-child{flex:2}.inline-form select{flex:1}.modal{border:0;border-radius:18px;padding:0;width:min(680px,calc(100% - 28px));max-height:90vh;box-shadow:0 25px 90px #171b3440}.modal::backdrop{background:#252a3c80;backdrop-filter:blur(4px)}.modal-form{padding:28px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.modal-head h2{font-size:24px;margin:8px 0}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}.task-description h2{margin-top:0}.task-description>p{line-height:1.75;color:#626b80;margin-bottom:30px}.comment{display:flex;gap:12px;padding:15px 0;border-bottom:1px solid #f0f1f6}.comment-avatar{height:32px;width:32px;border-radius:50%;background:#eeedff;color:var(--purple);display:grid;place-items:center;flex-shrink:0;font-weight:800}.comment p{line-height:1.6;white-space:normal}.comment small{font-size:10px}.comment-form{margin:15px 0 30px}.comment-form textarea{margin-bottom:10px}.properties label{margin-bottom:16px}.properties h2{margin-bottom:22px}.upload-form{display:flex;gap:10px;align-items:center;margin-top:12px}.upload-form input{min-width:0}.notification-row{display:flex;align-items:flex-start;gap:14px;padding:18px 4px;border-bottom:1px solid #f0f1f6}.notification-row:last-child{border-bottom:0}.notification-dot{height:8px;width:8px;border-radius:50%;background:#d4d8e4;margin-top:6px}.notification-row.unread .notification-dot{background:var(--purple)}.notification-content{flex:1}.notification-content p{margin:6px 0;color:#6e778e}.notification-content small{font-size:10px}.split-layout{display:grid;grid-template-columns:minmax(270px,.75fr) minmax(0,1.4fr);gap:18px;align-items:start}.split-layout .panel{min-width:0}.result-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 4px;border-bottom:1px solid #f0f1f6}.result-row:last-child{border:0}.result-row>div{display:grid;gap:5px}.result-row small{font-size:10px}.result-row b{font-size:13px}.progress-row{margin:18px 0}.progress-row>div:first-child{display:flex;justify-content:space-between;margin-bottom:8px;font-size:12px}.progress-track{height:8px;background:#f0f1f7;border-radius:9px;overflow:hidden}.progress-track i{display:block;height:100%;background:var(--purple);border-radius:9px}.danger-text{color:#e04456}.profile-card{text-align:center;max-width:440px}.profile-large{width:60px;height:60px;display:grid;place-items:center;margin:0 auto 15px;border-radius:50%;background:var(--purple-light);color:var(--purple);font-size:25px;font-weight:800}.profile-card h2{margin-bottom:5px}.profile-card p{margin:6px 0 17px}.app-footer{padding:0 38px 20px;color:#a2a8b8;font-size:10px}.alert{border-radius:9px;padding:12px 15px;margin-bottom:18px;font-size:13px}.alert.success{background:#eafaf2;color:#167c57}.alert.error{background:#fff0f1;color:#c82f42}.auth-body{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(ellipse at top,#f0efff 0%,#f7f8fc 45%)}.auth-card{width:min(430px,100%);background:white;border:1px solid var(--line);border-radius:18px;padding:35px;box-shadow:0 20px 65px #22283b0c}.auth-card>.brand-mark{margin-bottom:25px}.auth-card h1{font-size:27px;letter-spacing:-.8px;margin:8px 0}.auth-card>p{line-height:1.6}.auth-card label{margin-top:18px}.auth-card .btn{margin-top:8px}.auth-card .small{font-size:11px;text-align:center;margin-top:20px}.auth-card .eyebrow{margin:0}.auth-card .muted{font-size:13px}.small{font-size:11px}.table-wrap table{min-width:540px}
@media(max-width:1200px){.sidebar{width:225px}.main-area{margin-left:225px}.page-content{padding:28px 25px}.stats-grid{gap:11px}.stat-card{padding:18px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding:0 23px}.crumb{min-width:130px}.board-grid{grid-template-columns:repeat(4,230px)}}
@media(max-width:820px){.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:none}.sidebar.sidebar-open{transform:translateX(0);box-shadow:15px 0 40px #151a2d20}.main-area{margin-left:0}.mobile-menu{display:grid;flex-shrink:0}.topbar{height:62px;padding:0 15px;gap:10px}.crumb{min-width:0;flex:1;gap:7px;font-size:12px}.crumb>span{display:none}.top-search{width:38%;margin:0}.top-search input{font-size:12px}.page-content{padding:25px 17px 35px}.page-heading{align-items:flex-start}.page-heading h1{font-size:27px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout,.split-layout{grid-template-columns:1fr}.properties{order:-1}.inline-form{flex-wrap:wrap}.inline-form select{min-width:150px}.app-footer{padding:0 17px 18px}.board-grid{grid-template-columns:repeat(4,230px)}}
@media(max-width:520px){.topbar{gap:7px}.crumb{display:none}.top-search{flex:1;width:auto}.icon-button,.avatar{height:36px;width:36px}.page-heading{flex-direction:column;gap:15px;margin-bottom:23px}.page-heading>.btn{align-self:stretch}.page-heading h1{font-size:25px}.stats-grid{gap:10px}.stat-card{padding:15px;min-height:123px}.stat-card strong{font-size:29px}.stat-card small{font-size:10px}.project-grid{grid-template-columns:1fr}.project-card{padding:17px}.form-grid{grid-template-columns:1fr;gap:0}.form-grid .span-2{grid-column:auto}.form-actions .btn{flex:1}.panel{padding:17px}.table-panel{padding:0}.modal-form{padding:20px}.modal-head h2{font-size:21px}.inline-form{display:grid;grid-template-columns:1fr}.upload-form{display:grid}.upload-form .btn{width:100%}.section-heading{align-items:flex-start}.section-heading h2{font-size:17px}.auth-card{padding:26px}.notification-row{gap:10px}.notification-row .btn{padding:0 8px}.profile-menu{right:10px}.toolbar{flex-wrap:wrap}}
