:root{font-family:Inter,Arial,sans-serif;color:#0f172a;background:#eef4fb;line-height:1.5;font-weight:400}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{background:#eef4fb}#root{min-height:100vh}a{text-decoration:none}button,input,select{font:inherit}.auth-screen{min-height:100vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#eef4fb,#f8fbff)}.auth-page{min-height:0;flex:1;display:grid;grid-template-columns:1.1fr 1fr;background:linear-gradient(135deg,#eef4fb,#f8fbff)}.auth-left{background:linear-gradient(145deg,#0d3b75,#1164bf);display:flex;align-items:center;justify-content:center;padding:48px;color:#fff}.auth-brand-box{max-width:480px}.auth-logo{width:min(240px,72%);height:auto;margin-bottom:18px}.auth-brand-box h1{font-size:clamp(2rem,3vw,3rem);margin:0 0 10px}.auth-brand-box p{margin:0;opacity:.92;font-size:1.05rem}.auth-right{display:flex;align-items:center;justify-content:center;padding:30px}.auth-card,.page-card{background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid rgba(148,163,184,.18);box-shadow:0 22px 60px #0f172a14;border-radius:24px}.auth-card{width:100%;max-width:460px;padding:32px}.eyebrow{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#1164bf;margin-bottom:8px}.auth-card h2,.page-head h2{margin:0 0 8px;font-size:1.9rem}.muted,.page-head p{color:#64748b;margin-top:0}label{display:block;margin:16px 0 8px;font-weight:600;color:#1e293b}input,select{width:100%;padding:14px 16px;border-radius:14px;border:1px solid #d7dfeb;background:#f8fbff;outline:none}input:focus,select:focus{border-color:#1164bf;box-shadow:0 0 0 4px #1164bf1f}.primary-btn,.secondary-btn,.small-btn,.text-btn{border:none;cursor:pointer;transition:.2s ease}.primary-btn{width:100%;margin-top:22px;padding:14px 18px;border-radius:14px;background:linear-gradient(135deg,#1164bf,#0d4b8f);color:#fff;font-weight:700}.primary-btn:hover{transform:translateY(-1px)}.primary-btn:disabled{opacity:.7;cursor:wait}.secondary-btn,.small-btn.secondary{background:#e8f1fb;color:#0d4b8f}.secondary-btn{padding:12px 18px;border-radius:12px;font-weight:600}.auth-footer-links,.auth-actions-row{margin-top:18px;display:flex;justify-content:space-between;gap:16px}.remember-login{display:flex;align-items:center;gap:10px;margin:16px 0 0;cursor:pointer;font-weight:500;color:#475569}.remember-login input{width:18px;height:18px;margin:0;accent-color:#1164bf}.auth-footer-links a,.auth-actions-row a,.text-btn{color:#1164bf;font-weight:600;background:transparent;padding:0}.alert{padding:12px 14px;border-radius:14px;margin:12px 0;font-size:.95rem}.alert.success{background:#ecfdf3;color:#166534;border:1px solid #bbf7d0}.alert.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.dashboard-shell{min-height:100vh;display:grid;grid-template-columns:280px 1fr}.sidebar{background:linear-gradient(180deg,#0e2f57,#104a87);color:#fff;padding:24px;position:fixed;inset:0 auto 0 0;width:280px;height:100vh;overflow-y:auto;overscroll-behavior:contain}.sidebar-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}.sidebar-brand img{width:64px;height:auto;object-fit:contain}.sidebar-brand h2{margin:0;font-size:1.1rem}.sidebar-brand p{margin:0;opacity:.85;font-size:.9rem}.sidebar-nav{display:flex;flex-direction:column;gap:10px}.sidebar-nav a{color:#ffffffe6;padding:12px 14px;border-radius:12px;font-weight:600}.sidebar-nav a.active,.sidebar-nav a:hover{background:#ffffff24;color:#fff}.main-area{padding:24px;min-width:0;display:flex;flex-direction:column;grid-column:2}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.content-area{flex:1}.topbar h1{margin:0;font-size:1.8rem}.topbar p{margin:4px 0 0;color:#64748b}.hero-panel{background:linear-gradient(135deg,#fff,#f3f8ff);border:1px solid #dce8f7;border-radius:24px;padding:28px;margin-bottom:22px}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stat-card{background:#fff;border-radius:20px;padding:22px;box-shadow:0 12px 40px #0f172a0f;border:1px solid #e2e8f0}.stat-card span{display:block;color:#64748b;margin-bottom:8px}.stat-card strong{font-size:1.1rem}.page-card-narrow{max-width:760px}.page-head{margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.users-grid{display:grid;grid-template-columns:420px 1fr;gap:20px}.table-wrap{overflow-x:auto}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th,.table-wrap td{text-align:left;padding:14px 10px;border-bottom:1px solid #e2e8f0}.table-wrap th{color:#475569;font-size:.9rem}.row-actions{display:flex;gap:8px;flex-wrap:wrap}.small-btn{padding:10px 12px;border-radius:10px;background:#1164bf;color:#fff;font-weight:600}@media (max-width: 1080px){.dashboard-shell{grid-template-columns:1fr}.sidebar{padding-bottom:12px}.users-grid,.form-grid,.stat-grid{grid-template-columns:1fr}}@media (max-width: 900px){.auth-page{grid-template-columns:1fr}.auth-left{min-height:280px}}.row-actions{display:flex;gap:8px;align-items:center}.top-gap{margin-top:10px}.small-btn{padding:10px 14px;border-radius:12px;background:linear-gradient(135deg,#1164bf,#0d4b8f);color:#fff;font-weight:700}.small-btn:hover{transform:translateY(-1px)}.small-btn.secondary:hover{background:#dcecfb}.small-btn.danger{background:#fee2e2;color:#b91c1c}.small-btn.danger:hover{background:#fecaca}.users-grid .table-wrap td:last-child{min-width:260px}@media (max-width: 1100px){.users-grid{grid-template-columns:1fr}}@media (max-width: 900px){.dashboard-shell{grid-template-columns:1fr}.sidebar{padding-bottom:10px}.main-area{padding:16px}.stat-grid,.form-grid{grid-template-columns:1fr}}textarea{width:100%;padding:14px 16px;border-radius:14px;border:1px solid #d7dfeb;background:#f8fbff;outline:none;resize:vertical;font:inherit}textarea:focus{border-color:#1164bf;box-shadow:0 0 0 4px #1164bf1f}.page-card{padding:24px}.page-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.form-grid .full-span{grid-column:1 / -1}.inline-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.inline-field .small-btn{white-space:nowrap;min-width:96px}.row-actions{display:flex;gap:10px;align-items:center}.wrap-actions{flex-wrap:wrap}.top-gap{margin-top:8px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px 10px;border-bottom:1px solid #e2e8f0;vertical-align:top}.cell-title{font-weight:700}.cell-subtitle{color:#64748b;font-size:.9rem;margin-top:3px}.small-btn{padding:10px 12px;border-radius:10px;background:linear-gradient(135deg,#1164bf,#0d4b8f);color:#fff;font-weight:600}.small-btn.danger{background:#b91c1c;color:#fff}.small-btn.secondary,.link-btn.secondary{background:#e8f1fb;color:#0d4b8f}.link-btn{display:inline-flex;align-items:center;justify-content:center}.full-span{grid-column:1 / -1}.users-grid,.clients-layout,.detail-stack,.documents-stack,.notes-layout{display:grid;gap:20px}.not-found-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.not-found-card{width:min(100%,520px)}.not-found-card h2{margin:0 0 8px;font-size:2rem}.not-found-card p{margin:0;color:#64748b}.clients-layout{grid-template-columns:380px 1fr;align-items:start}.projects-layout{grid-template-columns:minmax(320px,350px) minmax(0,1fr)}.project-list-card{min-width:0}.project-table-wrap{width:100%}.projects-table{min-width:1080px!important;table-layout:fixed}.projects-table th:nth-child(1),.projects-table td:nth-child(1){width:220px}.projects-table th:nth-child(2),.projects-table td:nth-child(2){width:170px}.projects-table th:nth-child(3),.projects-table td:nth-child(3){width:155px}.projects-table th:nth-child(4),.projects-table td:nth-child(4){width:120px}.projects-table th:nth-child(5),.projects-table td:nth-child(5){width:90px}.projects-table th:nth-child(6),.projects-table td:nth-child(6){width:90px}.projects-table th:nth-child(7),.projects-table td:nth-child(7){width:110px}.projects-table th:nth-child(8),.projects-table td:nth-child(8){width:125px}.projects-table .cell-title,.projects-table .cell-subtitle,.projects-table th,.projects-table td{overflow-wrap:normal;word-break:normal}.projects-table .row-actions{flex-wrap:nowrap}.projects-table td:last-child{min-width:125px}.client-form-card{position:sticky;top:24px}.filters-row{display:flex;gap:12px;align-items:center}.filters-row.compact input,.filters-row.compact select{min-width:180px}.status-pill{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:.85rem;font-weight:700;text-transform:capitalize}.status-pill.active{background:#dcfce7;color:#166534}.status-pill.inactive{background:#fee2e2;color:#b91c1c}.badge-row{display:flex;gap:8px;flex-wrap:wrap}.badge-lite{background:#eef4fb;color:#0d4b8f;border-radius:999px;padding:8px 12px;font-weight:600}.tabs-row{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.tab-btn{border:none;background:#e8f1fb;color:#0d4b8f;padding:10px 16px;border-radius:12px;cursor:pointer;font-weight:700}.tab-btn.active{background:linear-gradient(135deg,#1164bf,#0d4b8f);color:#fff}.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.overview-grid .full-span{grid-column:1 / -1}.nested-card{padding:20px;box-shadow:none;border:1px solid #e2e8f0;background:#fff}.documents-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.list-stack{display:grid;gap:12px}.file-row,.timeline-item,.empty-card{border:1px solid #e2e8f0;border-radius:16px;padding:14px;background:#fff;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.timeline-item{display:block}.timeline-meta{color:#64748b;font-size:.9rem;margin-bottom:8px}.timeline-note{white-space:pre-wrap}.dashboard-stats-wide{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 1100px){.clients-layout,.documents-columns,.notes-layout{grid-template-columns:1fr}.client-form-card{position:static}}@media (max-width: 900px){.dashboard-shell{grid-template-columns:1fr}.sidebar{padding-bottom:12px}.sidebar-nav{flex-direction:row;flex-wrap:wrap}.form-grid,.overview-grid,.dashboard-stats-wide,.stat-grid{grid-template-columns:1fr}}.checkbox-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkbox-pill{display:flex;gap:8px;align-items:center;border:1px solid #d7dfeb;border-radius:12px;padding:10px 12px;background:#f8fbff}.task-card{border:1px solid #e2e8f0;border-radius:16px;padding:14px;background:#fff}.active-task-card{border-color:#1164bf;box-shadow:0 0 0 3px #1164bf1f}.split-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.align-end{align-items:end}@media (max-width: 900px){.checkbox-grid,.compact-grid{grid-template-columns:1fr}}.link-card{color:inherit}.link-card:hover{border-color:#bfd4ef;background:#f8fbff}.activity-scroll{max-height:560px;overflow-y:auto;padding-right:6px}.planner-columns{align-items:start}.planner-sections{display:grid;gap:20px}.planner-sections.compact-sections{gap:16px}.section-title{margin:4px 0 12px;font-size:1rem;color:#1e293b}.planner-task-card{width:100%;text-align:left;cursor:pointer}.task-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.compact-stat{padding:16px;box-shadow:none}.drop-zone{border:1px dashed #9ebbe3;background:#f8fbff;border-radius:16px;padding:16px;display:grid;gap:10px}.drop-zone input[type=file]{background:#fff}.upload-preview{display:grid;gap:10px}.upload-preview img,.chat-image{max-width:100%;max-height:240px;object-fit:cover;border-radius:12px;border:1px solid #d7dfeb}.chat-item{background:#fbfdff}.status-pill,.badge-lite{text-transform:none}.status-pill.to-do{background:#e0f2fe;color:#075985}.status-pill.in-progress{background:#fff7ed;color:#c2410c}.status-pill.review{background:#f3e8ff;color:#7e22ce}.status-pill.completed{background:#dcfce7;color:#166534}.status-pill.cancelled{background:#fee2e2;color:#b91c1c}.status-pill.draft,.status-pill.prepared{background:#eff6ff;color:#1d4ed8}.status-pill.sent{background:#fef3c7;color:#92400e}.status-pill.follow-up-needed,.status-pill.followed-up,.status-pill.pending,.status-pill.partially-paid{background:#fff7ed;color:#c2410c}.status-pill.approved,.status-pill.paid,.status-pill.active{background:#dcfce7;color:#166534}.status-pill.rejected,.status-pill.overdue,.status-pill.expired,.status-pill.inactive{background:#fee2e2;color:#b91c1c}.priority-pill.low{background:#ecfeff;color:#155e75}.priority-pill.medium{background:#eff6ff;color:#1d4ed8}.priority-pill.high{background:#fff7ed;color:#c2410c}.priority-pill.urgent{background:#fee2e2;color:#b91c1c}.project-top-grid{align-items:stretch}.project-top-grid .nested-card{height:100%}@media (max-width: 900px){.task-meta-grid{grid-template-columns:1fr}}.topbar-actions{display:flex;align-items:center;gap:12px}.bell-btn{position:relative;border:1px solid #dbe6f4;background:#fff;width:48px;height:48px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 28px #0f172a0f}.bell-btn.has-alert{animation:bellPulse 1.8s ease-in-out infinite}.bell-icon{font-size:1.25rem}.notif-count{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;border-radius:999px;background:#dc2626;color:#fff;font-size:.75rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;padding:0 6px}.toast-stack{position:fixed;right:24px;top:24px;z-index:100;display:flex;flex-direction:column;gap:12px;width:min(360px,calc(100vw - 32px))}.notif-toast{width:100%;text-align:left;border:1px solid #dbe6f4;background:#fffffffa;border-radius:18px;padding:14px 16px;box-shadow:0 20px 45px #0f172a29;animation:notificationSlideIn .22s ease-out}@keyframes notificationSlideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.toast-top-row{display:flex;align-items:center;gap:8px;color:#0d4b8f;font-weight:700;margin-bottom:6px}.toast-bell{font-size:1rem}.toast-label{font-size:.85rem}@keyframes bellPulse{0%,to{transform:translateY(0);box-shadow:0 10px 28px #0f172a0f}50%{transform:translateY(-1px);box-shadow:0 18px 38px #dc26262e}}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:60;padding:24px}.modal-card{background:#fff;border-radius:24px;box-shadow:0 24px 80px #0f172a3d;width:min(880px,100%);max-height:88vh;overflow:auto;padding:24px}.wide-modal{width:min(1100px,100%)}.small-modal{width:min(480px,100%)}.line-items{margin:20px 0;display:grid;gap:10px}.line-item{display:grid;grid-template-columns:minmax(160px,.9fr) minmax(260px,1.6fr) 90px 130px 42px;gap:10px;align-items:center}.line-item textarea{resize:vertical}.line-head{padding:0 4px;color:#64748b;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}.document-total{text-align:right;font-size:1.08rem;font-weight:800;padding:18px 0;border-top:1px solid #e2e8f0;margin-top:14px}@media (max-width:800px){.line-head{display:none}.line-item{grid-template-columns:1fr 1fr}.line-item textarea{grid-column:1/-1}.line-item .danger{justify-self:end}}.task-detail-modal{width:min(980px,100%)}.task-list-only{display:block}.nav-with-count{display:flex!important;align-items:center;justify-content:space-between;gap:12px}.nav-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:12px;font-weight:800}.notification-blocked{font-size:12px;font-weight:700;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:8px 10px}.title-count{vertical-align:middle;margin-left:6px}.chat-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.chat-alert-btn{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:999px;padding:7px 11px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.priority-filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.filter-chip{border:1px solid #dbe3ef;background:#fff;color:#475569;border-radius:999px;padding:8px 16px;font:inherit;font-weight:700;cursor:pointer}.filter-chip:hover,.filter-chip.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.number-summary{display:grid;gap:12px}.tall-scroll{max-height:560px;overflow-y:auto}.permissions-box{padding:12px;border:1px solid #d7dbe7;border-radius:12px;background:#f8fafc}.permissions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:8px}.permission-chip{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #d7dbe7;border-radius:10px;background:#fff}.permission-chip input{margin:0}.content-area{min-width:0}.menu-toggle-btn,.sidebar-close-btn,.sidebar-overlay{display:none}.topbar-main{display:flex;align-items:center;gap:14px;min-width:0}.topbar-main>div{min-width:0}.topbar-main h1,.topbar-main p{overflow-wrap:anywhere}.sidebar{min-width:0}.sidebar-brand{justify-content:space-between}.sidebar-brand>div{flex:1}.filters-row,.auth-footer-links,.auth-actions-row{flex-wrap:wrap}.page-card,.hero-panel,.stat-card,.nested-card,.empty-card,.file-row,.timeline-item,.task-card,.notif-toast,.auth-card,.page-head,.split-head,.topbar,.topbar-actions,.row-actions,.badge-row,.filters-row{min-width:0}.page-head h2,.hero-panel h2,.stat-card strong,.cell-title,.file-row,.timeline-note,.muted,.page-head p,.cell-subtitle{overflow-wrap:anywhere}.table-wrap{width:100%}.table-wrap table{min-width:700px}@media (max-width: 1280px){.dashboard-shell{grid-template-columns:250px 1fr}.main-area{padding:20px}.sidebar{width:250px}.page-card,.hero-panel,.modal-card{padding:20px}.users-grid{grid-template-columns:1fr}}@media (max-width: 1080px){.dashboard-shell{display:block}.sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#0f172a73;z-index:89}.sidebar{position:fixed;top:0;left:0;bottom:0;width:min(320px,86vw);overflow-y:auto;z-index:90;transform:translate(-100%);transition:transform .25s ease;padding:22px 18px 28px;box-shadow:0 20px 50px #0f172a47}.sidebar.sidebar-open{transform:translate(0)}.sidebar-nav{flex-direction:column;gap:8px}.menu-toggle-btn{display:inline-flex;width:46px;height:46px;border:1px solid #dbe6f4;background:#fff;border-radius:14px;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0;box-shadow:0 10px 28px #0f172a0f}.menu-toggle-btn span{width:18px;height:2px;background:#0d4b8f;border-radius:999px;display:block}.sidebar-close-btn{display:inline-flex;width:38px;height:38px;border:1px solid rgba(255,255,255,.2);background:#ffffff1a;color:#fff;border-radius:12px;align-items:center;justify-content:center;flex:0 0 auto}.main-area{padding:16px}.topbar{align-items:flex-start}.topbar-actions{width:100%;justify-content:flex-start}.topbar-actions .secondary-btn{width:auto}.clients-layout,.documents-columns,.notes-layout,.overview-grid,.dashboard-stats-wide,.form-grid,.stat-grid,.task-meta-grid,.project-top-grid,.checkbox-grid,.compact-grid{grid-template-columns:1fr}.client-form-card{position:static}}@media (max-width: 768px){.auth-page{grid-template-columns:1fr}.auth-left{min-height:auto;padding:28px 20px}.auth-right{padding:18px}.auth-card{padding:24px 18px;border-radius:20px}.main-area{padding:14px}.topbar{flex-direction:column;align-items:stretch;margin-bottom:18px}.topbar h1{font-size:1.45rem}.page-card,.hero-panel,.modal-card{padding:16px;border-radius:18px}.page-head{flex-direction:column;align-items:flex-start;gap:10px}.split-head,.file-row{flex-direction:column;align-items:flex-start}.row-actions,.badge-row,.filters-row,.tabs-row,.auth-footer-links,.auth-actions-row{width:100%}.row-actions>*,.filters-row>*,.auth-footer-links>*,.auth-actions-row>*{width:100%}.small-btn,.secondary-btn,.link-btn,.primary-btn,.tab-btn{width:100%;justify-content:center}.table-wrap table{min-width:620px}.toast-stack{right:12px;left:12px;width:auto;top:12px}.modal-overlay{padding:14px}}@media (max-width: 560px){.sidebar{width:min(300px,88vw)}.sidebar-brand img{width:46px}.topbar-main{align-items:flex-start}.menu-toggle-btn{width:42px;height:42px;border-radius:12px}.hero-panel,.page-card,.auth-card,.modal-card{padding:14px}.auth-card h2,.page-head h2{font-size:1.45rem}input,select,textarea,.notif-toast{padding:12px 14px}}.site-footer{margin-top:24px;padding:16px 20px;border-top:1px solid #dbe7f5;color:#475569;font-size:.9rem;text-align:center}.site-footer p{margin:0}.site-footer.compact{margin-top:0;background:#ffffff8c;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.chat-page{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:18px;height:calc(100vh - 174px);min-height:580px}.chat-contacts,.chat-conversation{padding:0;overflow:hidden;border-radius:20px}.chat-contacts{display:flex;flex-direction:column}.chat-list-head{display:flex;justify-content:space-between;align-items:center;padding:22px 22px 12px;gap:12px}.chat-list-head h2{margin:0;font-size:1.45rem}.chat-list-head .eyebrow{margin-bottom:2px}.online-pill{flex:none;padding:6px 10px;border-radius:999px;background:#e8f8ee;color:#166534;font-size:.75rem;font-weight:700}.chat-contacts>input{margin:0 18px 14px;width:calc(100% - 36px);padding:11px 14px}.chat-contact-list{overflow-y:auto;padding:0 10px 14px}.chat-contact{width:100%;border:0;background:transparent;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:11px;align-items:center;text-align:left;padding:11px;border-radius:14px;cursor:pointer;color:#0f172a}.chat-contact:hover{background:#f1f6fc}.chat-contact.active{background:#e7f0fb}.chat-avatar{width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1164bf,#0e2f57);color:#fff;font-size:.82rem;font-weight:800}.chat-avatar.large{width:46px;height:46px;flex:none}.chat-contact-copy{min-width:0;display:block}.chat-contact-copy strong,.chat-contact-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-contact-copy small{color:#64748b;margin-top:2px}.unread-badge{min-width:22px;height:22px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;background:#1164bf;color:#fff;font-size:.72rem;font-weight:800}.chat-conversation{display:flex;flex-direction:column;background:#f7faff}.chat-empty{margin:auto;text-align:center;color:#64748b;padding:30px}.chat-empty>div{font-size:3rem}.chat-empty h2{color:#0f172a;margin-bottom:6px}.chat-empty p{margin:0}.chat-conversation-head{padding:15px 20px;display:flex;align-items:center;gap:12px;background:#fff;border-bottom:1px solid #e2e8f0}.chat-conversation-head h3,.chat-conversation-head p{margin:0}.chat-conversation-head p{color:#64748b;font-size:.82rem}.chat-back{display:none;border:0;background:#e8f1fb;color:#0d4b8f;width:38px;height:38px;border-radius:12px;font-size:1.2rem}.chat-messages{flex:1;overflow-y:auto;padding:22px}.chat-day-note{width:fit-content;max-width:90%;margin:10px auto 24px;padding:8px 12px;border-radius:999px;background:#e8eef6;color:#64748b;font-size:.78rem;text-align:center}.new-messages-divider{display:flex;align-items:center;gap:10px;margin:18px 0 10px;color:#dc2626;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.new-messages-divider:before,.new-messages-divider:after{content:"";height:1px;background:#fecaca;flex:1}.new-messages-divider span{white-space:nowrap}.message-row{display:flex;margin:8px 0}.message-row.mine{justify-content:flex-end}.message-bubble{max-width:min(70%,620px);background:#fff;border:1px solid #e1e8f1;padding:10px 13px;border-radius:6px 17px 17px;box-shadow:0 4px 14px #0f172a0a;overflow-wrap:anywhere}.message-row.mine .message-bubble{background:linear-gradient(135deg,#1164bf,#0d4b8f);color:#fff;border:0;border-radius:17px 6px 17px 17px}.message-bubble p{white-space:pre-wrap;margin:0 0 4px}.message-bubble>small{display:block;opacity:.68;font-size:.67rem;text-align:right;margin-top:5px}.chat-image{display:block;max-width:100%;max-height:340px;border-radius:11px;margin-top:6px;object-fit:contain}.file-attachment{display:flex;align-items:center;gap:8px;background:#ffffff29;color:inherit;border:1px solid rgba(148,163,184,.35);padding:10px;border-radius:10px;margin-top:6px}.file-attachment span{overflow:hidden;text-overflow:ellipsis}.chat-composer{padding:12px 18px 14px;background:#fff;border-top:1px solid #e2e8f0}.chat-composer .alert{margin-top:0}.composer-row{display:flex;align-items:flex-end;gap:10px}.composer-row textarea{flex:1;min-height:46px;max-height:120px;resize:vertical;padding:12px 14px;border:1px solid #d7dfeb;border-radius:14px;background:#f8fbff;font:inherit;outline:none}.composer-row textarea:focus{border-color:#1164bf;box-shadow:0 0 0 4px #1164bf1f}.attach-btn{margin:0;width:46px;height:46px;flex:none;border-radius:13px;background:#e8f1fb;color:#0d4b8f;display:inline-flex;justify-content:center;align-items:center;font-size:1.55rem;cursor:pointer}.attach-btn input{display:none}.chat-send-btn{height:46px;padding:0 18px;border:0;border-radius:13px;background:#1164bf;color:#fff;font-weight:700;cursor:pointer}.chat-send-btn:disabled{opacity:.5;cursor:not-allowed}.composer-hint{display:block;color:#94a3b8;padding:6px 0 0 56px;font-size:.7rem}.attachment-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#edf5ff;color:#0d4b8f;padding:8px 10px;border-radius:10px;margin-bottom:8px;font-size:.82rem}.attachment-preview span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.attachment-preview button{border:0;background:transparent;color:inherit;font-size:1.2rem;cursor:pointer}@media (max-width: 760px){.chat-page{display:block;height:calc(100vh - 140px);min-height:500px}.chat-contacts,.chat-conversation{height:100%;border-radius:16px}.chat-page.has-conversation .chat-contacts{display:none}.chat-page:not(.has-conversation) .chat-conversation{display:none}.chat-back{display:inline-block}.chat-conversation-head{padding:10px 12px}.chat-messages{padding:14px 10px}.message-bubble{max-width:84%}.chat-composer{padding:10px}.composer-hint{display:none}.chat-send-btn{padding:0 14px}}.report-hero-panel{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.9fr);gap:20px;align-items:center}.report-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.report-summary-chip{background:#ffffffd9;border:1px solid #d8e5f5;border-radius:18px;padding:16px;box-shadow:0 12px 30px #0f172a0d}.report-summary-chip span{display:block;color:#64748b;font-size:.85rem;margin-bottom:6px}.report-summary-chip strong{color:#0f172a;font-size:1rem}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.report-export-card{position:relative;overflow:hidden}.report-export-card:after{content:"";position:absolute;inset:auto -40px -40px auto;width:140px;height:140px;border-radius:999px;background:#1164bf14}.report-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px}.report-badge,.report-file-tag{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 12px;font-size:.78rem;font-weight:700}.report-badge{background:#e7f0fb;color:#0d4b8f}.report-file-tag{background:#0e2f57;color:#fff}.report-feature-list{margin:0 0 18px;padding-left:18px;color:#475569}.report-feature-list li+li{margin-top:6px}.report-download-btn{position:relative;z-index:1}.report-export-card.green .report-badge{background:#e8f8ee;color:#166534}.report-export-card.violet .report-badge{background:#f3e8ff;color:#6b21a8}.report-export-card.amber .report-badge{background:#fff7df;color:#a16207}.report-export-card.green:after{background:#22c55e14}.report-export-card.violet:after{background:#a855f717}.report-export-card.amber:after{background:#f59e0b17}.dashboard-home{display:grid;gap:20px}.dashboard-welcome{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:190px;padding:34px 38px;border-radius:28px;color:#fff;background:linear-gradient(125deg,#0b3971,#1164bf 52%,#6d5ce7);box-shadow:0 22px 50px #1164bf38}.welcome-copy{position:relative;z-index:2}.welcome-date{display:inline-block;margin-bottom:10px;padding:6px 11px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:#ffffff21;font-size:.76rem;font-weight:700;letter-spacing:.04em}.welcome-copy h2{margin:0 0 8px;font-size:clamp(1.8rem,3vw,2.65rem);line-height:1.15}.welcome-copy h2 span{display:inline-block;animation:dashboard-wave 2.2s ease-in-out infinite;transform-origin:70% 70%}.welcome-copy p{margin:0;color:#ffffffd1;font-size:1rem}.dashboard-top-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.dashboard-top-actions a{padding:9px 13px;border:1px solid rgba(255,255,255,.28);border-radius:11px;background:#ffffff26;color:#fff;font-size:.8rem;font-weight:800;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .2s,transform .2s}.dashboard-top-actions a:hover{background:#fff;color:#0d4b8f;transform:translateY(-2px)}.welcome-action{position:relative;z-index:2;display:inline-flex;align-items:center;gap:14px;flex:none;padding:13px 17px;border-radius:14px;color:#0d4b8f;background:#fff;font-weight:800;box-shadow:0 10px 28px #0000001f;transition:transform .2s ease}.welcome-action:hover{transform:translateY(-2px)}.welcome-orb{position:absolute;border-radius:50%;background:#ffffff1a}.orb-one{width:230px;height:230px;right:16%;top:-145px}.orb-two{width:170px;height:170px;right:-45px;bottom:-90px}@keyframes dashboard-wave{0%,60%,to{transform:rotate(0)}70%{transform:rotate(16deg)}80%{transform:rotate(-8deg)}90%{transform:rotate(12deg)}}.dashboard-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dashboard-metric-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-metric{position:relative;min-width:0;display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:13px;padding:20px;border:1px solid #e2e8f0;border-radius:21px;background:#fff;color:#0f172a;box-shadow:0 12px 32px #0f172a0e;transition:transform .2s ease,box-shadow .2s ease}.dashboard-metric:hover{transform:translateY(-4px);box-shadow:0 18px 38px #0f172a1a}.metric-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;font-size:1.25rem;font-weight:900}.dashboard-metric.blue .metric-icon{color:#1164bf;background:#e5f1ff}.dashboard-metric.violet .metric-icon{color:#6d28d9;background:#f1eaff}.dashboard-metric.orange .metric-icon{color:#c25b0a;background:#fff1df}.dashboard-metric.green .metric-icon{color:#15803d;background:#e4f8eb}.metric-label,.dashboard-metric small{display:block;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.metric-label{font-size:.8rem;font-weight:700}.dashboard-metric strong{display:block;margin:1px 0;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-metric small{font-size:.73rem}.metric-arrow{color:#94a3b8}.dashboard-focus-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px}.dashboard-focus-grid.single{grid-template-columns:1fr}.goal-card,.quick-card,.dashboard-task-panel{padding:24px;border:1px solid #e2e8f0;border-radius:24px;background:#fff;box-shadow:0 12px 34px #0f172a0d}.goal-card{color:#fff;border:0;background:linear-gradient(135deg,#172554,#283c8f)}.section-kicker{color:#1164bf;font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.goal-card .section-kicker{color:#9cc9ff}.goal-card h3,.quick-card h3,.dashboard-task-panel h3{margin:3px 0 0;font-size:1.25rem}.goal-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.goal-card p{margin:20px 0 9px;color:#ffffffb3;font-size:.85rem}.goal-percentage{font-size:2rem;font-weight:900}.goal-track{overflow:hidden;height:13px;border-radius:999px;background:#ffffff29}.goal-track span{display:block;width:var(--goal-width);height:100%;border-radius:inherit;background:linear-gradient(90deg,#42d7b5,#a7f3d0);box-shadow:0 0 18px #42d7b5a6;animation:goal-grow 1.25s cubic-bezier(.22,.8,.3,1) both}@keyframes goal-grow{0%{width:0}to{width:var(--goal-width)}}.goal-footer{display:flex;justify-content:space-between;gap:16px;margin-top:13px;font-size:.78rem;color:#ffffffb8}.goal-footer a{color:#fff;font-weight:800}.quick-card>div:first-child{margin-bottom:14px}.quick-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-action{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px;border-radius:14px;background:#f5f8fc;color:#1e293b;transition:background .2s,transform .2s}.quick-action:hover{background:#e8f1fb;transform:translate(2px)}.quick-action>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#fff;color:#1164bf;font-weight:900}.quick-action strong,.quick-action small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quick-action strong{font-size:.82rem}.quick-action small{color:#64748b;font-size:.68rem}.quick-action b{color:#94a3b8}.dashboard-section-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:15px}.dashboard-section-head a{color:#1164bf;font-size:.82rem;font-weight:800}.dashboard-task-list{display:grid}.dashboard-task-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto 90px;align-items:center;gap:14px;padding:13px 5px;color:#1e293b;border-top:1px solid #edf1f6}.dashboard-task-row:first-child{border-top:0}.task-priority-dot{width:9px;height:9px;border-radius:50%;background:#60a5fa;box-shadow:0 0 0 4px #dbeafe}.task-priority-dot.high,.task-priority-dot.urgent{background:#f97316;box-shadow:0 0 0 4px #ffedd5}.task-priority-dot.low{background:#22c55e;box-shadow:0 0 0 4px #dcfce7}.dashboard-task-copy{min-width:0}.dashboard-task-copy strong,.dashboard-task-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-task-copy small{color:#64748b;font-size:.76rem;margin-top:2px}.dashboard-task-row time{color:#64748b;font-size:.74rem;text-align:right}.dashboard-all-clear{display:flex;align-items:center;gap:13px;padding:20px;border-radius:16px;background:#ecfdf3;color:#166534}.dashboard-all-clear>span{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#fff;font-weight:900}.dashboard-all-clear strong,.dashboard-all-clear p{display:block;margin:0}@media (max-width: 1180px){.dashboard-metric-grid,.dashboard-metric-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-focus-grid{grid-template-columns:1fr}}@media (max-width: 700px){.dashboard-welcome{min-height:230px;padding:26px 22px;align-items:flex-start;flex-direction:column}.welcome-action{width:100%;justify-content:space-between}.dashboard-metric-grid,.dashboard-metric-grid.three,.quick-action-grid{grid-template-columns:1fr}.goal-card,.quick-card,.dashboard-task-panel{padding:18px}.dashboard-task-row{grid-template-columns:10px minmax(0,1fr) auto}.dashboard-task-row time{display:none}.dashboard-task-row .status-pill{font-size:.65rem;padding:5px 7px}}@media (prefers-reduced-motion: reduce){.welcome-copy h2 span,.goal-track span{animation:none}}.task-status-tabs{display:flex;gap:9px;overflow-x:auto;padding:3px 2px 15px;scrollbar-width:thin}.task-status-tab{flex:none;display:inline-flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid transparent;border-radius:12px;color:#475569;background:#f1f5f9;cursor:pointer;font-weight:800;transition:transform .18s,box-shadow .18s}.task-status-tab b{min-width:23px;height:23px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:#fffc;font-size:.7rem}.task-status-tab:hover,.task-status-tab.active{transform:translateY(-2px);box-shadow:0 7px 18px #0f172a1a}.task-status-tab.active{color:#fff;background:#334155}.task-status-tab.to-do.active{background:#2563eb}.task-status-tab.in-progress.active{background:#f97316}.task-status-tab.review.active{background:#7c3aed}.task-status-tab.completed.active{background:#16a34a}.task-status-tab.cancelled.active{background:#dc2626}.trello-board{display:grid;grid-template-columns:repeat(5,minmax(260px,1fr));gap:14px;overflow-x:auto;padding:4px 2px 14px;align-items:start}.trello-board.single-column{grid-template-columns:minmax(280px,760px)}.trello-column{overflow:hidden;border:1px solid #e2e8f0;border-radius:17px;background:#f5f7fa}.trello-column>header{display:flex;align-items:center;gap:9px;padding:14px;border-top:4px solid #3b82f6}.trello-column.in-progress>header{border-color:#f97316}.trello-column.review>header{border-color:#8b5cf6}.trello-column.completed>header{border-color:#22c55e}.trello-column.cancelled>header{border-color:#ef4444}.column-dot{width:9px;height:9px;border-radius:50%;background:#3b82f6}.in-progress .column-dot{background:#f97316}.review .column-dot{background:#8b5cf6}.completed .column-dot{background:#22c55e}.cancelled .column-dot{background:#ef4444}.trello-column header h3{flex:1;margin:0;font-size:.88rem}.trello-column header b{min-width:24px;height:24px;display:grid;place-items:center;border-radius:999px;color:#64748b;background:#fff;font-size:.7rem}.trello-column-body{display:grid;gap:10px;min-height:110px;max-height:62vh;overflow-y:auto;padding:0 10px 12px}.trello-task-card{position:relative;width:100%;padding:13px;text-align:left;color:#1e293b;border:1px solid #e2e8f0;border-left:3px solid #3b82f6;border-radius:12px;background:#fff;box-shadow:0 3px 10px #0f172a0b;cursor:pointer;transition:transform .18s,box-shadow .18s}.trello-task-card.in-progress{border-left-color:#f97316}.trello-task-card.review{border-left-color:#8b5cf6}.trello-task-card.completed{border-left-color:#22c55e}.trello-task-card.cancelled{border-left-color:#ef4444;opacity:.75}.trello-task-card:hover,.trello-task-card.active{transform:translateY(-2px);box-shadow:0 9px 20px #0f172a1c}.trello-task-card.active{outline:2px solid #1164bf}.trello-card-top,.trello-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#64748b;font-size:.68rem}.trello-task-card>strong{display:block;margin-top:10px;font-size:.88rem}.trello-task-card>p{margin:5px 0 13px;color:#64748b;font-size:.72rem;line-height:1.4}.priority-label{padding:4px 7px;border-radius:6px;color:#1d4ed8;background:#dbeafe;font-weight:900;text-transform:uppercase;font-size:.6rem}.priority-label.high,.priority-label.urgent{color:#b91c1c;background:#fee2e2}.priority-label.medium{color:#a16207;background:#fef3c7}.priority-label.low{color:#15803d;background:#dcfce7}.trello-empty{padding:22px 8px;text-align:center;color:#94a3b8;font-size:.76rem;border:1px dashed #cbd5e1;border-radius:11px}.job-task-filters{margin-bottom:3px}.job-trello-board{grid-template-columns:repeat(5,minmax(230px,1fr))}.job-trello-board.single-column{grid-template-columns:minmax(260px,1fr)}@media (max-width: 700px){.dashboard-top-actions{display:grid;grid-template-columns:repeat(2,1fr);width:100%}.dashboard-top-actions a{text-align:center}.trello-board{grid-template-columns:repeat(5,minmax(82vw,1fr))}.trello-board.single-column{grid-template-columns:minmax(0,1fr)}.trello-column-body{max-height:none}}@media (max-width: 1080px){.report-hero-panel,.report-grid,.report-summary-strip{grid-template-columns:1fr}}@media (max-width: 900px){.site-footer{padding:14px 16px;font-size:.82rem}}
