:root{--brand:#5b4ee6;--brand-dark:#4338ca;--sidebar-bg:#1e1b3a;--sidebar-hover:#2b2752;--bg:#f4f5f8;--surface:#ffffff;--border:#e3e5ea;--text:#26282b;--text-muted:#7a7f87;--green:#1ca35c;--red:#d94848;--amber:#e8a13c;--radius:8px;--shadow:0 1px 3px rgba(20, 20, 40, .08)}*{box-sizing:border-box;margin:0;padding:0}body,html{height:100%}body{font-family:Inter,sans-serif;background:var(--bg);color:var(--text);font-size:14px}a{cursor:pointer}button{font-family:inherit;cursor:pointer}input,select,textarea{font-family:inherit;font-size:14px}.app-shell{display:flex;height:100vh}.app-shell.no-chrome{display:block}.main-col{flex:1;display:flex;flex-direction:column;min-width:0}.content{flex:1;overflow:auto;padding:24px}.no-chrome .content{padding:0;height:100vh}.sidebar{width:76px;background:var(--sidebar-bg);display:flex;flex-direction:column;align-items:center;padding:12px 0;flex-shrink:0}.sidebar-logo{color:#fff;background:var(--brand);width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:18px;cursor:pointer;margin-bottom:18px}.sidebar-nav{flex:1;display:flex;flex-direction:column;gap:4px;width:100%}.sidebar-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;color:#9c98c4;padding:10px 0;font-size:10px;text-decoration:none;border-left:3px solid transparent}.sidebar-nav a i{font-size:17px}.sidebar-nav a:hover{color:#fff;background:var(--sidebar-hover)}.sidebar-nav a.active{color:#fff;border-left-color:var(--brand);background:var(--sidebar-hover)}.sidebar-footer{display:flex;flex-direction:column;align-items:center;gap:6px}.sidebar-footer a{color:#9c98c4;padding:8px}.sidebar-footer a:hover{color:#fff}.app-version{color:#6a668f;font-size:10px}.topbar{height:56px;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:14px;padding:0 20px;flex-shrink:0}.topbar-search{margin-right:auto}.topbar-search{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--border);border-radius:20px;padding:6px 14px;width:320px;color:var(--text-muted)}.topbar-search input{border:none;background:0 0;outline:0;flex:1}.topbar-user{display:flex;align-items:center;gap:8px}.user-avatar{width:32px;height:32px;border-radius:50%;background:var(--brand);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}.user-name{font-weight:600}.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px;flex-wrap:wrap}.page-header h1{font-size:20px;font-weight:700}.page-actions{display:flex;gap:8px;align-items:center}.pipeline-select{padding:8px 12px;border:1px solid var(--border,#ccc);border-radius:6px;background:#fff;cursor:pointer;max-width:260px}.btn{border:1px solid var(--border);background:var(--surface);color:var(--text);padding:8px 14px;border-radius:var(--radius);font-weight:600;font-size:13px}.btn:hover{background:var(--bg)}.btn-primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn-primary:hover{background:var(--brand-dark)}.btn-success{background:var(--green);border-color:var(--green);color:#fff}.btn-danger{background:var(--red);border-color:var(--red);color:#fff}.btn-link{border:none;background:0 0;color:var(--brand);padding:4px}.btn:disabled{opacity:.5;cursor:not-allowed}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}.muted{color:var(--text-muted)}.error-msg{color:var(--red);font-size:13px;margin:8px 0}.success-msg{color:var(--green);font-size:13px;margin:8px 0}.empty-state{text-align:center;color:var(--text-muted);padding:40px 0}.form-group{margin-bottom:14px}.form-group label{display:block;font-size:12px;font-weight:600;color:var(--text-muted);margin-bottom:5px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:9px 12px;border:1px solid var(--border);border-radius:var(--radius);outline:0;background:var(--surface)}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--brand)}.form-row{display:flex;gap:12px}.form-row .form-group{flex:1}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:16px}.tabs button{border:none;background:0 0;padding:10px 16px;font-weight:600;color:var(--text-muted);border-bottom:2px solid transparent}.tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}.table-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:auto}table.data-table{width:100%;border-collapse:collapse}.data-table th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);padding:10px 14px;border-bottom:1px solid var(--border);background:#fafbfc}.data-table td{padding:11px 14px;border-bottom:1px solid var(--border)}.data-table tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background:#f7f8fb;cursor:pointer}.modal-overlay{position:fixed;inset:0;background:rgba(20,18,45,.5);display:flex;align-items:center;justify-content:center;z-index:100}.modal-content{background:var(--surface);border-radius:12px;width:480px;max-width:94vw;max-height:88vh;overflow:auto;padding:20px}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.modal-header h2{font-size:17px}.btn-close{border:none;background:0 0;font-size:16px;color:var(--text-muted)}.modal-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.kanban{display:flex;gap:12px;overflow-x:auto;align-items:flex-start;padding-bottom:12px}.kanban-col{background:#eceef2;border-radius:var(--radius);min-width:260px;width:260px;flex-shrink:0;display:flex;flex-direction:column;max-height:calc(100vh - 200px)}.kanban-col-header{padding:10px 12px;border-bottom:2px solid var(--border)}.kanban-col-header h3{font-size:13px;font-weight:700}.kanban-col-header .col-total{font-size:12px;color:var(--text-muted)}.kanban-col-body{padding:8px;overflow-y:auto;flex:1;min-height:60px}.kanban-col.drag-over{outline:2px dashed var(--brand);outline-offset:-2px}.deal-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:10px 12px;margin-bottom:8px;cursor:grab;box-shadow:var(--shadow)}.deal-card:active{cursor:grabbing}.deal-card{position:relative}.deal-card .deal-title{font-weight:600;margin-bottom:4px;padding-right:18px}.deal-card .deal-meta{font-size:12px;color:var(--text-muted);display:flex;justify-content:space-between}.deal-card .deal-value{color:var(--text);font-weight:600}.deal-labels{display:flex;gap:4px;margin-bottom:6px}.label-bar{display:inline-block;width:30px;height:8px;border-radius:4px}.deal-status-dot{position:absolute;top:10px;right:10px;width:10px;height:10px;border-radius:50%}.dot-overdue{background:var(--red)}.dot-none{background:var(--amber)}.dot-future,.dot-today{background:var(--green)}.deal-footer{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.deal-owner img{width:22px;height:22px;border-radius:50%;object-fit:cover;display:block}.owner-initials{width:22px;height:22px;border-radius:50%;background:var(--brand);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:700}.add-deal{display:none;text-align:center;color:var(--text-muted);font-size:12px;font-weight:600;padding:8px;border:1px dashed var(--border);border-radius:var(--radius);cursor:pointer;margin-top:2px}.kanban-col:hover .add-deal{display:block}.add-deal:hover{color:var(--brand);border-color:var(--brand);background:#f7f6fd}.drag-actions{position:fixed;left:0;right:0;bottom:0;display:flex;gap:10px;padding:14px 20px;background:rgba(30,27,58,.95);z-index:90}.drag-target{flex:1;text-align:center;padding:16px 0;border:2px dashed rgba(255,255,255,.35);border-radius:10px;color:#fff;font-weight:700;font-size:13px;letter-spacing:.04em}.drag-target.drag-over{background:rgba(255,255,255,.12);border-style:solid}.target-delete{color:#ffb3b3}.target-won{color:#9be8bd}.target-lost{color:#ffd9a1}.target-move{color:#cfcaff}.board-totals{font-size:14px}.row-menu{position:absolute;right:40px;top:8px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px rgba(20,18,45,.14);min-width:170px;z-index:50;overflow:hidden}.row-menu a{display:flex;align-items:center;gap:8px;padding:9px 14px;font-size:13px;color:var(--text)}.row-menu a:hover{background:#f7f6fd}.activity-type-icon{color:var(--text-muted)}.assignee-avatars{display:inline-flex;gap:4px}.assignee img{width:24px;height:24px;border-radius:50%;object-fit:cover;display:block}.settings-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.label-preview{display:inline-block;padding:3px 10px;border-radius:10px;font-size:12px;font-weight:700}.badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:700;text-transform:uppercase}.badge-open{background:#e8e6fb;color:var(--brand-dark)}.badge-won{background:#dcf3e6;color:var(--green)}.badge-lost{background:#fbe3e3;color:var(--red)}.badge-overdue{background:#fbe3e3;color:var(--red)}.badge-today{background:#fdf1dd;color:var(--amber)}.badge-planned{background:#e8e6fb;color:var(--brand-dark)}.activity-group-title{font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-muted);margin:18px 0 8px}.activity-item{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:10px 14px;margin-bottom:6px}.activity-item.done .activity-subject{text-decoration:line-through;color:var(--text-muted)}.activity-item input[type=checkbox]{width:16px;height:16px;accent-color:var(--brand)}.activity-subject{font-weight:600;flex:1}.activity-meta{font-size:12px;color:var(--text-muted)}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg);padding:24px}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:32px;width:420px;max-width:96vw;box-shadow:var(--shadow)}.auth-logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;margin-bottom:20px;color:var(--sidebar-bg)}.auth-logo i{color:var(--brand)}.auth-card h1{font-size:20px;margin-bottom:6px}.auth-sub{color:var(--text-muted);margin-bottom:18px}.auth-alt{margin-top:16px;text-align:center;color:var(--text-muted);font-size:13px}.auth-alt a{color:var(--brand);font-weight:600}.advanced-toggle{font-size:12px;color:var(--text-muted);cursor:pointer;margin-bottom:10px;display:inline-block}.signup-card{width:560px}.stepper{display:flex;gap:0;margin-bottom:24px}.stepper .step{flex:1;text-align:center;font-size:11px;font-weight:600;color:var(--text-muted);position:relative;padding-top:22px}.stepper .step::before{content:'';width:14px;height:14px;border-radius:50%;background:var(--border);position:absolute;top:0;left:50%;transform:translateX(-50%)}.stepper .step::after{content:'';position:absolute;top:6px;left:-50%;width:100%;height:2px;background:var(--border);z-index:-1}.stepper .step:first-child::after{display:none}.stepper .step.active{color:var(--brand)}.stepper .step.active::before,.stepper .step.done::before{background:var(--brand)}.stepper .step.done{color:var(--brand)}.code-inputs{display:flex;gap:10px;justify-content:center;margin:18px 0}.code-inputs input{width:48px;height:56px;text-align:center;font-size:24px;font-weight:700;border:1px solid var(--border);border-radius:var(--radius);outline:0}.code-inputs input:focus{border-color:var(--brand)}.pw-meter{height:5px;background:var(--border);border-radius:3px;margin-top:6px;overflow:hidden}.pw-meter-bar{height:100%;transition:width .2s}.pw-weak{background:var(--red)}.pw-medium{background:var(--amber)}.pw-strong{background:var(--green)}.goal-options{display:flex;flex-direction:column;gap:8px;margin:12px 0}.goal-options label{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:var(--radius);padding:12px;cursor:pointer;font-weight:500}.goal-options label:hover{border-color:var(--brand)}.goal-options input{accent-color:var(--brand);width:16px;height:16px}.creating-account{text-align:center;padding:40px 0}.spinner{width:44px;height:44px;border:4px solid var(--border);border-top-color:var(--brand);border-radius:50%;margin:0 auto 18px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.deal-layout{display:flex;gap:20px;align-items:flex-start}.deal-main{flex:2;min-width:0}.deal-side{flex:1;min-width:260px}.timeline-item{border-left:2px solid var(--border);padding:0 0 14px 14px;margin-left:6px;position:relative}.timeline-item::before{content:'';width:10px;height:10px;border-radius:50%;background:var(--brand);position:absolute;left:-6px;top:3px}@media (max-width:800px){.deal-layout{flex-direction:column}.topbar-search{width:160px}.sidebar-nav a span{display:none}}.tenant-list{display:flex;flex-direction:column;gap:8px;margin:14px 0}.tenant-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;cursor:pointer;color:var(--text)}.tenant-item:hover{border-color:var(--brand);background:#f7f6fd}.tenant-item .tenant-name{flex:1;font-weight:600}.tenant-item .fa-chevron-right{color:var(--muted);font-size:12px}.tenant-switcher{position:relative;margin-left:auto;margin-right:14px}.tenant-current{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;font-size:13px;color:var(--text);padding:6px 10px;border:1px solid var(--border);border-radius:8px}.tenant-current:hover{border-color:var(--brand)}.tenant-current .fa-chevron-down{font-size:10px;color:var(--muted)}.tenant-menu{position:absolute;top:calc(100% + 6px);right:0;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px rgba(20,18,45,.12);min-width:220px;z-index:60;overflow:hidden}.tenant-menu a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;font-size:13px;color:var(--text);cursor:pointer}.tenant-menu a:hover{background:#f7f6fd}.tenant-menu a.current{font-weight:700;color:var(--brand-dark)}.notice-msg{color:var(--green);font-size:13px;margin:8px 0}.danger-link{color:var(--red);cursor:pointer}.danger-link:hover{opacity:.75}.stage-bar{display:flex;gap:2px;margin-bottom:8px}.stage-seg{flex:1;text-align:center;padding:9px 6px;background:var(--surface);border:1px solid var(--border);font-size:12px;font-weight:600;cursor:pointer;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stage-seg:first-child{border-radius:8px 0 0 8px}.stage-seg:last-child{border-radius:0 8px 8px 0}.stage-seg.pre-selected{background:#f39201;color:#1c1c1c;border-color:#f39201}.stage-seg.selected{font-weight:800}.stage-breadcrumb{font-size:13px;color:var(--text-muted);cursor:pointer;margin-bottom:6px}.stage-breadcrumb:hover{color:var(--brand)}.stage-breadcrumb-select{margin-bottom:10px;max-width:320px}.inline-field{display:flex;align-items:center;gap:8px}.inline-field input{flex:1}.inline-value{flex:1;padding:6px 0}.icon-link{color:var(--text-muted);cursor:pointer}.icon-link:hover{color:var(--brand)}.icon-link.disabled{opacity:.3;pointer-events:none}.text-link{color:var(--brand);font-size:13px;font-weight:600;cursor:pointer;display:inline-block;margin:4px 0}.product-row{display:grid;grid-template-columns:1fr 64px 84px 80px 20px;gap:6px;align-items:center;margin-bottom:6px}.product-amount{font-size:12px;font-weight:700;text-align:right}.label-chips{border:1px solid var(--border);border-radius:var(--radius);padding:7px 10px;min-height:36px;cursor:pointer;display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:var(--surface)}.label-options{border:1px solid var(--border);border-radius:var(--radius);margin-top:4px;background:var(--surface);max-height:200px;overflow:auto}.label-options a{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;cursor:pointer;color:var(--text)}.label-options a:hover{background:#f7f6fd}.section-header{display:flex;align-items:center;gap:10px;font-weight:700;margin:18px 0 8px}.section-header:first-child{margin-top:0}.btn-mini{font-size:11px;padding:3px 8px}.feed-item{display:flex;gap:10px;margin-bottom:8px}.type-icon{width:30px;height:30px;border-radius:50%;background:#e9e5dc;color:#242323;display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0;margin-top:4px}.feed-body{flex:1;background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 12px;min-width:0}.feed-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.feed-head .info{font-size:12px;color:var(--text-muted)}.feed-actions{margin-left:auto;display:flex;gap:8px}.feed-content{border-top:1px solid var(--border);margin-top:7px;padding-top:4px;font-size:14px;overflow-wrap:anywhere}.done-text{text-decoration:line-through;color:var(--text-muted)}.contact-list-row{display:grid;grid-template-columns:1fr 110px 20px;gap:6px;align-items:center;margin-bottom:6px}.modal-wide{width:760px;max-width:96vw}.new-deal-cols{display:flex;gap:20px}.new-deal-main{flex:3;min-width:0}.new-deal-side{flex:2;min-width:0}.suggest-list{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin-top:4px;max-height:180px;overflow:auto}.suggest-list a{display:block;padding:8px 12px;cursor:pointer;color:var(--text);font-size:13px}.suggest-list a:hover{background:#f7f6fd}@media (max-width:700px){.new-deal-cols{flex-direction:column}}.stage-edit-row{display:grid;grid-template-columns:1fr 20px 20px 20px;gap:8px;align-items:center;margin-bottom:6px}.user-avatar-img{width:28px;height:28px;border-radius:50%;object-fit:cover;vertical-align:middle}.profile-photo-row{display:flex;align-items:center;gap:14px;margin-bottom:16px}.profile-photo{width:64px;height:64px;border-radius:50%;object-fit:cover}.profile-photo-fallback{width:64px;height:64px;font-size:22px;display:inline-flex;align-items:center;justify-content:center}.board-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:14px}.board-tabs button{border:none;background:0 0;padding:10px 16px;font-weight:600;color:var(--text-muted);border-bottom:2px solid transparent}.board-tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}.board-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}.board-toolbar select{padding:7px 10px;border:1px solid var(--border);border-radius:6px;background:#fff;max-width:180px}.board-toolbar .spacer{flex:1}.sprint-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:14px;overflow:hidden}.sprint-section-header{display:flex;align-items:center;gap:10px;padding:10px 14px;cursor:pointer;background:#fafbfc;border-bottom:1px solid var(--border);flex-wrap:wrap}.sprint-section-header h3{font-size:14px;font-weight:700}.sprint-section-header .sprint-dates{font-size:12px;color:var(--text-muted)}.sprint-section-header .sprint-actions{margin-left:auto;display:flex;gap:6px;align-items:center}.sprint-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.sprint-dot.active{background:var(--green)}.sprint-dot.planning{background:var(--amber)}.sprint-dot.completed{background:var(--text-muted)}.sprint-totals{display:flex;align-items:center;gap:12px;padding:8px 14px;font-size:12px;color:var(--text-muted);border-top:1px solid var(--border)}.add-task-inline{display:block;padding:9px 14px;color:var(--text-muted);font-size:13px;font-weight:600;cursor:pointer}.add-task-inline:hover{color:var(--brand);background:#f7f6fd}.add-task-inline-form{display:flex;gap:8px;padding:8px 14px;align-items:center}.add-task-inline-form input{flex:1;padding:7px 10px;border:1px solid var(--brand);border-radius:6px;outline:0}.task-table td.drop-target-row{background:#f0eefc}tr.task-row td{cursor:pointer}tr.task-row.dragging{opacity:.4}.section-dropzone.drag-over{outline:2px dashed var(--brand);outline-offset:-2px}.task-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:10px 12px;margin-bottom:8px;cursor:grab;box-shadow:var(--shadow);position:relative}.task-card:active{cursor:grabbing}.task-card .task-title{font-weight:600;margin-bottom:6px}.task-card .task-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px;color:var(--text-muted)}.badge-mini{display:inline-block;padding:2px 8px;border-radius:10px;font-size:10px;font-weight:700}.badge-sp{background:#eceef2;color:var(--text)}.status-badge{display:inline-block;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:700}.assignee-stack{display:inline-flex}.assignee-stack .user-avatar,.assignee-stack img{width:22px;height:22px;border-radius:50%;font-size:9px;margin-left:-6px;border:2px solid #fff;object-fit:cover}.assignee-stack .user-avatar:first-child,.assignee-stack img:first-child{margin-left:0}.slideover-backdrop{position:fixed;inset:0;background:rgba(20,18,45,.35);z-index:95}.slideover{position:fixed;top:0;right:0;bottom:0;width:720px;max-width:96vw;background:var(--surface);box-shadow:-8px 0 30px rgba(20,18,45,.18);z-index:96;display:flex;flex-direction:column}.slideover-header{display:flex;align-items:center;gap:10px;padding:14px 20px;border-bottom:1px solid var(--border)}.slideover-header input.task-title-input{flex:1;border:none;outline:0;font-size:18px;font-weight:700;font-family:inherit}.slideover-body{flex:1;overflow-y:auto;padding:16px 20px}.slideover-footer{display:flex;justify-content:space-between;gap:8px;padding:12px 20px;border-top:1px solid var(--border)}.task-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin-bottom:18px}.task-grid .form-group{margin-bottom:0}.task-section{margin-bottom:20px}.task-section h3{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);border-bottom:1px solid var(--border);padding-bottom:6px;margin-bottom:10px}.checklist-row{display:flex;align-items:center;gap:8px;margin-bottom:6px}.checklist-row input[type=checkbox]{width:15px;height:15px;accent-color:var(--brand)}.checklist-row input[type=text]{flex:1;border:none;border-bottom:1px solid transparent;outline:0;padding:4px 2px}.checklist-row input[type=text]:focus{border-bottom-color:var(--brand)}.checklist-row .completed{text-decoration:line-through;color:var(--text-muted)}.subtask-table td{padding:7px 10px;font-size:13px}.attachment-row{display:flex;align-items:center;gap:10px;padding:6px 0;font-size:13px}.attachment-thumb{width:36px;height:36px;object-fit:cover;border-radius:6px;border:1px solid var(--border)}.upload-drop{border:2px dashed var(--border);border-radius:var(--radius);padding:16px;text-align:center;color:var(--text-muted);cursor:pointer;font-size:13px}.upload-drop:hover{border-color:var(--brand);color:var(--brand)}.comment-item{display:flex;gap:10px;margin-bottom:12px}.comment-body{flex:1;background:var(--bg);border-radius:8px;padding:8px 12px}.comment-head{display:flex;gap:8px;align-items:baseline;font-size:12px;color:var(--text-muted);margin-bottom:3px}.comment-head strong{color:var(--text)}.assignee-picker{border:1px solid var(--border);border-radius:var(--radius);padding:6px 10px;min-height:36px;cursor:pointer;display:flex;flex-wrap:wrap;gap:6px;align-items:center;background:var(--surface)}.assignee-chip{display:inline-flex;align-items:center;gap:6px;background:#eceef2;border-radius:12px;padding:2px 8px 2px 2px;font-size:12px;font-weight:600}.assignee-chip .user-avatar,.assignee-chip img{width:20px;height:20px;font-size:8px;border-radius:50%}.tag-chip{display:inline-block;background:#e8e6fb;color:var(--brand-dark);border-radius:10px;padding:2px 9px;font-size:11px;font-weight:700}.home-group-title{font-size:12px;font-weight:700;text-transform:uppercase;color:var(--text-muted);margin:18px 0 8px}.home-group-title.overdue{color:var(--red)}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.project-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px;cursor:pointer;box-shadow:var(--shadow);position:relative}.project-card:hover{border-color:var(--brand)}.project-card h3{font-size:15px;margin-bottom:6px}.project-card .project-desc{font-size:13px;color:var(--text-muted);min-height:34px;margin-bottom:10px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.project-card-footer{display:flex;align-items:center;justify-content:space-between}.project-card .edit-project{position:absolute;top:12px;right:12px;color:var(--text-muted)}.project-card .edit-project:hover{color:var(--brand)}.member-role-row{display:grid;grid-template-columns:14px 1fr 130px 14px;gap:8px;align-items:center;margin-bottom:6px}.member-role-row .member-drag-handle{padding:0;width:14px;text-align:center}.member-role-row>.danger-link{width:14px;text-align:center}.member-role-row.member-add-row{grid-template-columns:1fr 130px auto}.progress-bar{background:#eceef2;border-radius:6px;height:8px;width:120px;overflow:hidden;display:inline-block;vertical-align:middle}.progress-bar .fill{height:100%;background:var(--green)}.pm-drag-panel{position:fixed;right:16px;top:76px;bottom:16px;width:230px;overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px;box-shadow:var(--shadow);z-index:40}.pm-drag-panel h4{font-size:13px;margin-bottom:4px}.pm-drag-panel p{font-size:11px;margin-bottom:10px}.pm-player-chip{display:flex;align-items:center;gap:8px;padding:5px 6px;border-radius:8px;cursor:grab;margin-bottom:4px;font-size:13px}.pm-player-chip:hover{background:var(--bg)}.pm-player-chip .user-avatar,.pm-player-chip img{width:28px;height:28px;min-width:28px;border-radius:50%;object-fit:cover;font-size:10px}.pm-player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pm-drop-hover{outline:2px dashed var(--brand);outline-offset:-2px;background:#f2f0ff!important}.btn.active{border-color:var(--brand);color:var(--brand)}.assignee-input{border:none;outline:0;flex:1;min-width:90px;font-size:13px;background:0 0}.assignee-field{position:relative}.assignee-suggest{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin-top:4px;max-height:220px;overflow-y:auto;position:absolute;top:100%;left:0;right:0;z-index:60}.assignee-suggest a{display:flex;align-items:center;gap:8px;padding:7px 10px;font-size:13px;cursor:pointer}.assignee-suggest a:hover{background:var(--bg)}.assignee-suggest .user-avatar,.assignee-suggest img{width:24px;height:24px;min-width:24px;border-radius:50%;object-fit:cover;font-size:9px}.assignee-chip .chip-x{color:var(--text-muted);margin-left:2px;cursor:pointer}.assignee-chip .chip-x:hover{color:var(--red)}.slideover-crumb{padding:6px 18px;border-bottom:1px solid var(--border);font-size:12px}.slideover-crumb a{color:var(--brand);cursor:pointer;font-weight:600}.timer-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}.timer-display{font-family:monospace;font-size:18px;letter-spacing:2px;min-width:86px}.timer-display.running{color:var(--green)}.note-previews{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.note-previews img{max-width:140px;max-height:100px;border-radius:8px;border:1px solid var(--border)}.history-entry{padding:8px 0;border-bottom:1px solid var(--border);font-size:12px}.history-head{display:flex;align-items:center;gap:8px;margin-bottom:3px}.history-head .badge{font-size:10px}.history-change{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin:2px 0 2px 12px}.hist-from{color:var(--red);text-decoration:line-through}.hist-to{color:var(--green)}.topbar-search{position:relative}.gs-dropdown{position:absolute;top:110%;left:0;min-width:320px;max-width:420px;background:#fff;border:1px solid #e2e1ef;border-radius:10px;box-shadow:0 8px 24px rgba(30,27,58,.14);z-index:300;padding:6px 0;max-height:60vh;overflow-y:auto}.gs-group-label{padding:8px 12px 4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#8b89a3}.gs-group-label .fas{margin-right:6px}.gs-item{display:block;padding:8px 12px;color:#26243d;cursor:pointer;font-size:14px}.gs-item:hover{background:#f4f3fb}.crop-editor{display:flex;flex-direction:column;align-items:center;gap:14px;padding:8px 0}.crop-frame{position:relative;overflow:hidden;border-radius:12px;background:#14122a;cursor:grab;touch-action:none}.crop-frame:active{cursor:grabbing}.crop-circle{position:absolute;inset:0;border-radius:50%;box-shadow:0 0 0 999px rgba(20,18,42,.55);pointer-events:none}.crop-editor input[type=range]{width:80%}.nav-toggle{display:none;background:0 0;border:0;font-size:18px;color:#26243d;padding:8px 10px;cursor:pointer}.nav-backdrop{display:none}@media (max-width:768px){.nav-toggle{display:inline-block}.sidebar{position:fixed;left:0;top:0;bottom:0;z-index:400;transform:translateX(-110%);transition:transform .2s ease}.sidebar.nav-open{transform:translateX(0);box-shadow:4px 0 24px rgba(0,0,0,.25)}.nav-backdrop{display:block;position:fixed;inset:0;background:rgba(20,18,42,.45);z-index:350}}.status-tabs{display:flex;gap:4px;margin:0 0 16px;border-bottom:1px solid var(--border)}.status-tabs a{padding:8px 14px;font-size:13px;font-weight:600;color:var(--text-muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.status-tabs a:hover{color:var(--text)}.status-tabs a.active{color:var(--brand);border-bottom-color:var(--brand)}.status-tabs .count{display:inline-block;margin-left:5px;font-size:11px;font-weight:700;background:var(--bg);border-radius:9px;padding:1px 7px;color:var(--text-muted)}.project-card.is-inactive{opacity:.72}.project-card h3 .badge-status{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;background:var(--bg);color:var(--text-muted);border-radius:9px;padding:2px 8px;margin-left:6px;vertical-align:middle}.project-status-actions{display:flex;gap:12px;margin-top:8px}.project-status-actions a{font-size:12px;color:var(--text-muted);cursor:pointer}.project-status-actions a:hover{color:var(--brand)}.task-row.subtask-row td:first-child{padding-left:34px;position:relative}.task-row.subtask-row td:first-child::before{content:'\21B3';position:absolute;left:16px;color:var(--text-muted);font-size:12px}.task-row.subtask-row{background:#fbfbfd}.notes-rendered{border:1px solid var(--border);border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.55;min-height:42px;cursor:text;background:var(--surface)}.notes-rendered p{margin:0 0 8px}.comment-html img,.notes-rendered img{max-width:100%;border-radius:6px}.comment-html p{margin:0 0 6px}.bell-wrap{position:relative}.bell-btn{position:relative;display:inline-block;padding:8px 10px;color:var(--text-muted);cursor:pointer}.bell-btn:hover{color:var(--brand)}.bell-badge{position:absolute;top:2px;right:2px;background:var(--red);color:#fff;font-size:10px;font-weight:700;border-radius:9px;padding:1px 5px}.bell-menu{position:absolute;top:110%;right:0;width:340px;max-height:60vh;overflow-y:auto;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px rgba(30,27,58,.14);z-index:300;padding:6px 0}.mention-suggest{position:absolute;bottom:calc(100% + 4px);top:auto;left:0;right:auto;min-width:240px}.period-nav{display:flex;align-items:center;gap:8px}.period-label{font-weight:700;text-transform:capitalize;min-width:150px;text-align:center}.overdue-count{color:var(--red);font-weight:700}.quad-badge{font-size:11px;font-weight:700;border-radius:9px;padding:2px 9px;background:var(--bg);color:var(--text-muted)}.quad-Superalocado{background:#fdecea;color:#c0392b}.quad-Capacitar{background:#fef5e7;color:#b9770e}.quad-Saudável{background:#eafaf1;color:#1e8449}.quad-Ocioso{background:var(--bg);color:var(--text-muted)}.axis-label{font-size:11px;fill:#8b89a3}.dot-label{font-size:11px;fill:#26243d}.member-drag-handle{color:var(--text-muted);cursor:grab;padding:0 6px 0 0}.member-role-row.member-drag-over{outline:2px dashed var(--brand);outline-offset:2px;border-radius:6px}.inbox-card{margin-bottom:16px}.inbox-item{display:block;padding:8px 10px;border-radius:8px;color:var(--text);cursor:pointer}.inbox-item:hover{background:var(--bg)}.inbox-item.unseen{background:#f4f3fb;border-left:3px solid var(--brand)}.task-row.nest-hover{outline:2px dashed var(--brand);outline-offset:-2px;background:#f4f3fb}pm-rich-editor{display:block}.rich-toolbar{display:flex;gap:2px;align-items:center;flex-wrap:wrap;border:1px solid var(--border);border-bottom:0;border-radius:8px 8px 0 0;padding:4px 6px;background:var(--bg)}.rich-toolbar button{border:0;background:0 0;padding:5px 8px;border-radius:5px;cursor:pointer;color:var(--text-muted);font-size:13px}.rich-toolbar button:hover{background:#eceef2;color:var(--text)}.rich-colors{display:inline-flex;gap:3px;margin-left:6px}.rich-colors button{width:16px;height:16px;border-radius:4px;padding:0;border:1px solid rgba(0,0,0,.15)}.rich-area{border:1px solid var(--border);border-radius:0 0 8px 8px;min-height:120px;padding:10px 12px;font-size:13px;line-height:1.55;background:var(--surface);outline:0;overflow-y:auto;max-height:40vh}.rich-area img{max-width:100%;border-radius:6px}.rich-area blockquote{border-left:3px solid var(--border);margin:6px 0;padding:2px 10px;color:var(--text-muted)}.rich-area.rich-drag-over{outline:2px dashed var(--brand);outline-offset:-2px}.info-tip{position:relative;display:inline-block;margin-left:4px;color:var(--text-muted);cursor:help;outline:0}.info-tip .info-tip-body{display:none;position:absolute;left:0;top:130%;z-index:200;width:300px;background:#26243d;color:#fff;font-weight:400;font-size:12px;line-height:1.5;border-radius:8px;padding:10px 12px;box-shadow:0 8px 24px rgba(30,27,58,.3)}.info-tip:focus .info-tip-body,.info-tip:hover .info-tip-body{display:block}.drill-card.drill-flash{outline:2px solid var(--brand);outline-offset:2px;transition:outline-color 1.2s ease}@media (max-width:768px){.bell-menu{position:fixed;left:50%;right:auto;top:64px;transform:translateX(-50%);width:min(92vw,360px)}}.st-todo{background:#eceef2;color:#5c6370}.st-inprogress{background:#e3e9fd;color:#2d4fc7}.st-review{background:#fdf3d7;color:#9a7208}.st-done{background:#ddf3e4;color:#1c7a43}.task-card-group{margin-bottom:10px}.task-card-group .task-card{margin-bottom:0}.subs-toggle{cursor:pointer;color:var(--brand-dark);display:inline-flex;align-items:center;gap:4px}.subs-toggle .fa-chevron-down,.subs-toggle .fa-chevron-up{font-size:9px}.subtask-cards{margin:0 0 0 14px;padding-left:10px;border-left:2px solid #d9d6f5}.subtask-card{background:#f6f5fd;border:1px solid #e4e1f8;border-radius:8px;padding:8px 10px;margin-top:6px;cursor:pointer}.subtask-card:hover{border-color:var(--brand)}.subtask-card .task-title{font-size:12.5px}.subtask-card .status-badge{font-size:10px;padding:2px 8px}.type-chips{display:flex;gap:8px;flex-wrap:wrap;padding-top:2px}.type-chip{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:700;border:1.5px solid;cursor:pointer;background:0 0}.type-chip.selected{box-shadow:0 1px 4px rgba(0,0,0,.15)}.type-chip.disabled{opacity:.55;pointer-events:none}.badge-visibility{font-size:10.5px;font-weight:700;border-radius:10px;padding:2px 9px;vertical-align:middle;margin-left:6px;display:inline-flex;align-items:center;gap:5px}.badge-visibility .fas{font-size:9px}.vis-all{background:#e8f7ee;color:#1c7a43}.vis-members{background:#fdf3d7;color:#9a7208}.alloc-head{display:flex;align-items:center;gap:10px;margin-bottom:2px}.alloc-head .spacer{flex:1}.alloc-table th.num{font-size:11px;max-width:120px;white-space:normal}.alloc-cell{position:relative}.alloc-bar{position:absolute;left:0;bottom:0;height:2px;background:var(--brand);opacity:.55}.alloc-total td{font-weight:700;border-top:2px solid var(--brand);background:#faf9ff}.alloc-coverage{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--text-muted);margin-bottom:12px}.cov-chip{background:#f1f0fb;color:var(--brand-dark);border:1px solid transparent;border-radius:10px;padding:2px 10px;font-weight:700;cursor:pointer}.cov-chip.active{background:var(--brand);color:#fff}.cov-chip.off{background:#f3f4f6;color:#9aa3ad;font-weight:400}