/* Chicla Workspace — a self-contained, accessible application surface. */
:root {
  --cp-ink: #12243b;
  --cp-muted: #64758a;
  --cp-soft: #8b97a8;
  --cp-purple: #635bff;
  --cp-purple-dark: #5145dc;
  --cp-purple-wash: #eeedff;
  --cp-border: #e5eaf0;
  --cp-canvas: #f7f9fc;
  --cp-white: #fff;
  --cp-danger: #c54152;
  --cp-green: #208362;
  --cp-shadow: 0 7px 30px rgba(17, 38, 68, .045);
  --cp-font: "Aptos", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}
body.chicla-app-body { margin: 0; background: var(--cp-canvas); color: var(--cp-ink); }
body.cp-overlay-open { overflow: hidden; }
#chicla-app, #chicla-app * { box-sizing: border-box; }
#chicla-app { min-height: 100vh; font-family: var(--cp-font); font-size: 14px; line-height: 1.55; letter-spacing: -.01em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
#chicla-app button, #chicla-app input, #chicla-app textarea, #chicla-app select { font: inherit; }
#chicla-app button, #chicla-app a, #chicla-app input, #chicla-app textarea, #chicla-app select { -webkit-tap-highlight-color: transparent; }
#chicla-app button { cursor: pointer; }
#chicla-app a { color: inherit; text-decoration: none; }
#chicla-app h1, #chicla-app h2, #chicla-app h3, #chicla-app p { margin: 0; }
#chicla-app button:disabled, #chicla-app select:disabled, #chicla-app input:disabled { cursor: not-allowed; opacity: .55; }
#chicla-app :focus-visible { outline: 3px solid #9d98ff; outline-offset: 3px; }
#chicla-app .cp-icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; }
#chicla-app .cp-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#chicla-app .cp-shell { display: flex; min-height: 100vh; }
#chicla-app .cp-sidebar { width: 244px; flex: 0 0 244px; position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; flex-direction: column; background: white; border-right: 1px solid var(--cp-border); padding: 34px 19px 0; }
#chicla-app .cp-brand { display: flex; align-items: center; gap: 12px; width: fit-content; padding: 0 16px; color: #15263e; font-size: 30px; font-weight: 750; letter-spacing: -.075em; line-height: 1; }
#chicla-app .cp-brand-sub { display: block; font-size: 8px; letter-spacing: .24em; font-weight: 650; color: #77869b; margin-top: 9px; padding-left: 1px; }
#chicla-app .cp-brand-mark { display: flex; width: 28px; height: 35px; position: relative; transform: rotate(-14deg); }
#chicla-app .cp-brand-mark i { display: block; position: absolute; width: 8px; background: var(--cp-purple); border-radius: 2px; transform: skewY(-12deg); }
#chicla-app .cp-brand-mark i:nth-child(1) { height: 23px; top: 9px; left: 0; background: #a29aff; }
#chicla-app .cp-brand-mark i:nth-child(2) { height: 34px; top: 0; left: 11px; }
#chicla-app .cp-brand-mark i:nth-child(3) { height: 23px; top: 0; left: 22px; background: #3328b5; }
#chicla-app .cp-workspace-label { margin: 32px 13px 27px; display: flex; align-items: center; gap: 7px; color: #778599; font-size: 11px; font-weight: 500; }
#chicla-app .cp-workspace-dot { width: 6px; height: 6px; border-radius: 50%; background: #50aa92; box-shadow: 0 0 0 3px #edf8f4; }
#chicla-app .cp-nav-label { font-size: 9px; font-weight: 700; letter-spacing: .13em; color: #97a1b1; padding: 0 15px; margin-bottom: 12px; }
#chicla-app .cp-nav-label-secondary { margin-top: 34px; }
#chicla-app .cp-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-radius: 7px; margin: 4px 0; color: #64758a; font-weight: 550; font-size: 13px; transition: color .15s, background .15s; }
#chicla-app .cp-nav-item .cp-icon { width: 18px; height: 18px; }
#chicla-app .cp-nav-item:hover { color: var(--cp-ink); background: #f5f7fb; }
#chicla-app .cp-nav-item.is-active { color: #5a50e1; background: #f0efff; font-weight: 650; }
#chicla-app .cp-nav-count { margin-left: auto; color: white; background: #635bff; border-radius: 20px; min-width: 20px; height: 20px; line-height: 20px; font-size: 10px; text-align: center; padding: 0 5px; }
#chicla-app .cp-sidebar-bottom { margin-top: auto; padding-top: 40px; }
#chicla-app .cp-sidebar-note { border: 1px solid #e8e7fb; border-radius: 10px; margin: 0 8px 23px; padding: 17px 16px; background: linear-gradient(130deg,#f7f6ff,#fff); position: relative; overflow: hidden; }
#chicla-app .cp-sidebar-note:after { content: ""; position: absolute; width: 80px; height: 100px; right: -35px; top: 5px; transform: rotate(25deg); background: linear-gradient(180deg,#e4f7f7,#e6dfff); opacity: .8; }
#chicla-app .cp-note-icon { display: block; width: fit-content; color: #6c63e6; margin-bottom: 11px; }
#chicla-app .cp-sidebar-note p { color: #8090a3; font-size: 11px; line-height: 1.7; }
#chicla-app .cp-sidebar-note strong { color: #455573; font-weight: 600; }
#chicla-app .cp-profile { display: flex; align-items: center; gap: 10px; padding: 21px 6px; border-top: 1px solid var(--cp-border); }
#chicla-app .cp-profile-button { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 5px; margin: -5px; border: 0; border-radius: 7px; background: transparent; color: var(--cp-ink); text-align: left; }
#chicla-app .cp-profile-button:hover { background: #f3f5fb; }
#chicla-app .cp-profile-identity { flex: 1; min-width: 0; }
#chicla-app .cp-profile strong { display: block; font-size: 11px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#chicla-app .cp-profile-identity small { color: #65758c; display: block; font-size: 10px; margin-top: 2px; }
#chicla-app .cp-profile>.cp-icon-btn { width: 25px; min-width: 25px; }
#chicla-app .cp-avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; font-size: 11px; font-weight: 650; letter-spacing: -.02em; color: #586a80; background: #edf1f6; border: 2px solid white; }
#chicla-app .cp-avatar-sm { width: 27px; height: 27px; flex-basis: 27px; font-size: 9px; }
#chicla-app .cp-avatar-stack { display: inline-flex; padding-left: 5px; }
#chicla-app .cp-avatar-stack .cp-avatar { margin-left: -5px; }
#chicla-app .cp-work-area { margin-left: 244px; width: calc(100% - 244px); min-width: 0; }
#chicla-app .cp-topbar { height: 78px; border-bottom: 1px solid var(--cp-border); background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; gap: 20px; }
#chicla-app .cp-topbar-left, #chicla-app .cp-topbar-right { display: flex; align-items: center; gap: 22px; min-width: 0; }
#chicla-app .cp-breadcrumb { display: flex; align-items: center; gap: 11px; font-size: 11px; color: #8b97a8; white-space: nowrap; }
#chicla-app .cp-breadcrumb .cp-icon { height: 11px; width: 11px; color: #bec6d0; }
#chicla-app .cp-breadcrumb strong { font-weight: 550; color: #5a6980; }
#chicla-app .cp-search { display: flex; align-items: center; gap: 8px; color: #9ca8b8; }
#chicla-app .cp-search .cp-icon { width: 16px; height: 16px; }
#chicla-app .cp-search input { border: 0; background: transparent; outline: 0; color: var(--cp-ink); width: 177px; padding: 8px 0; font-size: 11px; }
#chicla-app .cp-search input::placeholder { color: #9aa6b7; }
#chicla-app .cp-search kbd { font: 10px var(--cp-font); width: 19px; height: 20px; line-height: 18px; text-align: center; border: 1px solid #e0e5ec; border-radius: 4px; color: #a9b3c0; }
#chicla-app .cp-topbar-bell { position: relative; display: inline-flex; padding: 7px; color: #728198; }
#chicla-app .cp-topbar-bell>span { position: absolute; top: 5px; right: 6px; background: #8174ee; width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 0 2px white; }
#chicla-app .cp-main { padding: 35px 40px 50px; max-width: 1580px; margin: 0 auto; min-height: calc(100vh - 140px); }
#chicla-app .cp-page-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 27px; }
#chicla-app .cp-eyebrow { font-size: 9px; letter-spacing: .16em; font-weight: 750; color: #8c99ac; line-height: 1.5; margin-bottom: 7px; }
#chicla-app h1 { font-weight: 650; font-size: clamp(25px,2.35vw,35px); letter-spacing: -.045em; color: #162b45; line-height: 1.2; }
#chicla-app .cp-page-header p { color: #7c8a9e; font-size: 12px; margin-top: 9px; max-width: 700px; line-height: 1.7; }
#chicla-app .cp-header-actions { display: flex; flex: 0 0 auto; gap: 9px; align-items: center; }
#chicla-app .cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 15px; border-radius: 6px; border: 1px solid transparent; font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: none; white-space: nowrap; transition: box-shadow .15s, transform .15s, background .15s; }
#chicla-app .cp-btn .cp-icon { width: 15px; height: 15px; }
#chicla-app .cp-btn:hover { transform: translateY(-1px); }
#chicla-app .cp-btn:disabled:hover { transform: none; }
#chicla-app .cp-btn-primary { background: var(--cp-purple); color: white; box-shadow: 0 3px 7px rgba(99,91,255,.16); }
#chicla-app .cp-btn-primary:hover { background: var(--cp-purple-dark); box-shadow: 0 5px 12px rgba(99,91,255,.22); }
#chicla-app .cp-btn-secondary { background: white; color: #4c5d75; border-color: #dfe5ed; box-shadow: 0 1px 2px rgba(28,45,72,.025); }
#chicla-app .cp-btn-secondary:hover { background: #f8faff; border-color: #cfd6e5; }
#chicla-app .cp-btn-quiet { color: #6c7c93; background: transparent; padding: 7px 9px; }
#chicla-app .cp-btn-quiet:hover { background: #f1f4fa; }
#chicla-app .cp-btn-small { font-size: 11px; padding: 7px 11px; }
#chicla-app .cp-btn-danger { background: #c94456; color: white; }
#chicla-app .cp-btn-danger:hover { background: #ab3043; }
#chicla-app .cp-icon-btn { width: 32px; height: 32px; min-width: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 5px; background: transparent; color: #8b98aa; padding: 0; transition: color .15s, background .15s; }
#chicla-app .cp-icon-btn .cp-icon { width: 16px; height: 16px; }
#chicla-app .cp-icon-btn:hover { color: var(--cp-ink); background: #eff2f8; }
#chicla-app .cp-mobile-menu, #chicla-app .cp-nav-close { display: none; }
#chicla-app .cp-text-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; background: none; border: 0; color: #665dd6; font-size: 11px; font-weight: 600; line-height: 1.5; }
#chicla-app .cp-text-link:hover { color: #4337b0; }
#chicla-app .cp-text-link .cp-icon { width: 13px; height: 13px; }
#chicla-app .cp-muted { color: #92a0b2; font-size: 12px; }
#chicla-app .cp-text-danger { color: var(--cp-danger) !important; }
#chicla-app .cp-welcome { position: relative; min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; background: #fff; border: 1px solid #e5e9f3; border-radius: 10px; padding: 29px 40px; margin-bottom: 24px; isolation: isolate; }
#chicla-app .cp-welcome:before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(to right,rgba(156,167,194,.1) 1px,transparent 1px),linear-gradient(to bottom,rgba(156,167,194,.07) 1px,transparent 1px); background-size: 98px 98px; }
#chicla-app .cp-welcome:after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg,#fff 10%,rgba(255,255,255,.95) 34%,rgba(255,255,255,.15) 100%); }
#chicla-app .cp-welcome-mesh { width: 69%; height: 260px; position: absolute; z-index: -2; top: -28px; right: -90px; background: linear-gradient(115deg,#f99b5e 0%,#f4a6b6 28%,#c5b6f9 54%,#acc8fe 73%,#82dfdc 100%); transform: rotate(-15deg) skewX(-10deg); opacity: .75; border-radius: 35% 0 45% 40%; filter: blur(11px); }
#chicla-app .cp-welcome-copy { position: relative; max-width: 590px; }
#chicla-app .cp-welcome-kicker { font-size: 8px; font-weight: 750; letter-spacing: .16em; color: #8e79b5; display: flex; gap: 6px; align-items: center; }
#chicla-app .cp-welcome-kicker .cp-icon { height: 13px; width: 13px; }
#chicla-app .cp-welcome h2 { margin: 10px 0 8px; font-size: clamp(24px,2.7vw,36px); font-weight: 630; letter-spacing: -.055em; line-height: 1.2; color: #152e49; }
#chicla-app .cp-welcome p { font-size: 12px; line-height: 1.8; color: #7b8ba1; max-width: 380px; }
#chicla-app .cp-welcome-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; color: #5d50ba; font-size: 11px; font-weight: 700; }
#chicla-app .cp-welcome-link .cp-icon { width: 13px; height: 13px; }
#chicla-app .cp-welcome-progress { padding: 5px 14px 5px 10px; }
#chicla-app .cp-orbit { width: 126px; height: 126px; background: conic-gradient(#6e63ef var(--progress),rgba(255,255,255,.57) 0); border-radius: 50%; padding: 5px; box-shadow: 0 7px 26px rgba(80,74,151,.09); border: 1px solid rgba(255,255,255,.55); }
#chicla-app .cp-orbit>div { border-radius: 50%; background: rgba(250,251,255,.88); width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
#chicla-app .cp-orbit strong { font-size: 32px; line-height: 1.1; font-weight: 650; letter-spacing: -.04em; color: #45517c; }
#chicla-app .cp-orbit strong span { font-size: 17px; font-weight: 400; color: #8c94ac; }
#chicla-app .cp-orbit small { font-size: 9px; color: #8a93aa; margin-top: 6px; }
#chicla-app .cp-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; margin-bottom: 30px; }
#chicla-app .cp-metric { background: white; border: 1px solid var(--cp-border); border-radius: 8px; padding: 19px 21px 18px; box-shadow: var(--cp-shadow); }
#chicla-app .cp-metric-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #738198; font-size: 11px; font-weight: 500; }
#chicla-app .cp-metric-icon { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 7px; color: #8a83e8; background: #f3f1ff; }
#chicla-app .cp-metric-icon .cp-icon { width: 14px; height: 14px; }
#chicla-app .cp-metric-icon-1 { color: #439c9c; background: #edf8f7; }
#chicla-app .cp-metric-icon-2 { color: #cc9b4c; background: #fdf6e9; }
#chicla-app .cp-metric-icon-3 { color: #cc7892; background: #fdf0f4; }
#chicla-app .cp-metric>strong { display: block; font-size: 31px; font-weight: 620; line-height: 1.3; letter-spacing: -.05em; margin-top: 10px; }
#chicla-app .cp-metric>small { display: block; color: #9ba7b6; font-size: 9px; margin-top: 3px; }
#chicla-app .cp-panel { background: white; border: 1px solid var(--cp-border); border-radius: 9px; box-shadow: var(--cp-shadow); min-width: 0; overflow: hidden; }
#chicla-app .cp-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 23px 23px 20px; }
#chicla-app h2 { font-weight: 630; font-size: 18px; letter-spacing: -.035em; line-height: 1.3; }
#chicla-app .cp-panel-heading h2 { font-size: 16px; }
#chicla-app .cp-panel-heading .cp-eyebrow { font-size: 8px; margin-bottom: 6px; }
#chicla-app .cp-panel-heading p { color: #8b99ac; font-size: 10px; margin-top: 5px; }
#chicla-app .cp-dashboard-grid { display: grid; grid-template-columns: minmax(0,2.15fr) minmax(250px,1fr); gap: 22px; align-items: stretch; }
#chicla-app .cp-table-wrap { overflow-x: auto; width: 100%; }
#chicla-app .cp-task-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
#chicla-app .cp-task-table thead { background: #fafbfd; }
#chicla-app .cp-task-table th { border-top: 1px solid #edf0f5; border-bottom: 1px solid #edf0f5; color: #94a0b1; font-weight: 550; font-size: 9px; padding: 11px 12px; white-space: nowrap; }
#chicla-app .cp-task-table td { padding: 14px 12px; border-bottom: 1px solid #f0f3f7; vertical-align: middle; }
#chicla-app .cp-task-table tbody tr:last-child td { border-bottom: 0; }
#chicla-app .cp-task-table tbody tr:hover { background: #fcfcff; }
#chicla-app .cp-task-table th:first-child, #chicla-app .cp-task-table td:first-child { padding-left: 22px; }
#chicla-app .cp-task-table th:last-child, #chicla-app .cp-task-table td:last-child { padding-right: 17px; padding-left: 4px; }
#chicla-app .cp-check-col { width: 34px; }
#chicla-app .cp-task-check { display: inline-flex; justify-content: center; align-items: center; width: 16px; height: 16px; min-width: 16px; padding: 0; border-radius: 50%; border: 1.5px solid #d9dfe9; color: white; background: white; }
#chicla-app .cp-task-check:not(.is-static):hover { border-color: #8c81e6; background: #f5f3ff; }
#chicla-app .cp-task-check.is-done { background: #6ca992; border-color: #6ca992; }
#chicla-app .cp-task-check .cp-icon { width: 11px; height: 11px; }
#chicla-app .cp-task-title-cell { min-width: 180px; }
#chicla-app .cp-task-title-button { background: none; padding: 0; border: 0; text-align: left; display: block; width: 100%; color: #425570; font-size: 11px; line-height: 1.4; }
#chicla-app .cp-task-title-button strong { font-weight: 580; }
#chicla-app .cp-task-title-button:hover { color: #6154cd; }
#chicla-app tr.is-complete .cp-task-title-button strong { color: #9aa6b5; }
#chicla-app .cp-task-subline { display: flex; gap: 9px; align-items: center; color: #a0acbc; font-size: 8px; margin-top: 5px; flex-wrap: wrap; }
#chicla-app .cp-task-subline:empty { display: none; }
#chicla-app .cp-task-subline>span { display: inline-flex; gap: 2px; align-items: center; }
#chicla-app .cp-task-subline .cp-icon { width: 10px; height: 10px; }
#chicla-app .cp-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; background: #f0f3f8; color: #8592a7; border-radius: 4px; font-size: 9px; font-weight: 550; line-height: 1.6; white-space: nowrap; width: fit-content; }
#chicla-app .cp-status-dot { height: 4px; width: 4px; border-radius: 50%; background: currentColor; }
#chicla-app .cp-status-in_progress, #chicla-app .cp-status-active { background: #eeedff; color: #8074d8; }
#chicla-app .cp-status-blocked { background: #fff1e9; color: #c58e52; }
#chicla-app .cp-status-in_review { background: #fff7df; color: #b29b47; }
#chicla-app .cp-status-done, #chicla-app .cp-status-completed { background: #eaf7f1; color: #569c80; }
#chicla-app .cp-status-on_hold { background: #fff2ea; color: #c49166; }
#chicla-app .cp-status-cancelled { background: #f2f3f5; color: #a4aab5; }
#chicla-app .cp-table-assignee { display: inline-flex; align-items: center; gap: 7px; color: #7f8da1; white-space: nowrap; font-size: 10px; }
#chicla-app .cp-table-assignee .cp-avatar { width: 23px; height: 23px; flex-basis: 23px; font-size: 8px; }
#chicla-app .cp-priority { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; font-size: 10px; color: #9aa6b4; }
#chicla-app .cp-priority .cp-icon { width: 11px; height: 11px; }
#chicla-app .cp-priority-high { color: #b19050; }
#chicla-app .cp-priority-urgent { color: #c26c7f; }
#chicla-app .cp-priority-low { color: #86a7a6; }
#chicla-app .cp-due { display: inline-flex; gap: 5px; align-items: center; color: #8f9bad; white-space: nowrap; font-size: 10px; }
#chicla-app .cp-due .cp-icon { width: 12px; height: 12px; }
#chicla-app .cp-due.is-overdue { color: #c26878; }
#chicla-app .cp-task-table.is-compact .cp-table-assignee>span:last-child { display: none; }
#chicla-app .cp-task-table.is-compact th, #chicla-app .cp-task-table.is-compact td { padding-left: 8px; padding-right: 8px; }
#chicla-app .cp-task-table.is-compact th:first-child, #chicla-app .cp-task-table.is-compact td:first-child { padding-left: 22px; }
#chicla-app .cp-task-table.is-compact .cp-task-title-cell { min-width: 165px; }
#chicla-app .cp-task-table.is-compact .cp-task-title-button { font-size: 10px; }
#chicla-app .cp-task-table.is-compact .cp-status { font-size: 8px; }
#chicla-app .cp-recent { display: flex; flex-direction: column; }
#chicla-app .cp-activity-list { list-style: none; padding: 0 24px; margin: 0; }
#chicla-app .cp-activity-list li { display: flex; position: relative; gap: 12px; padding: 15px 0; border-bottom: 1px solid #f0f3f7; }
#chicla-app .cp-activity-list li:last-child { border-bottom: 0; }
#chicla-app .cp-activity-marker { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; width: 25px; height: 25px; flex: 0 0 25px; background: #f3f2ff; color: #aaa3d6; }
#chicla-app .cp-activity-marker .cp-icon { width: 12px; height: 12px; }
#chicla-app .cp-activity-list p { color: #8b97aa; font-size: 11px; line-height: 1.8; }
#chicla-app .cp-activity-list p strong { font-weight: 600; color: #68788f; }
#chicla-app .cp-activity-list time { display: block; color: #b0b9c7; font-size: 9px; margin-top: 4px; }
#chicla-app .cp-activity-list .cp-text-link { font-size: 9px; margin-top: 4px; }
#chicla-app .cp-activity-list.is-compact { padding: 0 22px 14px; }
#chicla-app .cp-activity-list.is-compact li { gap: 9px; padding: 12px 0; }
#chicla-app .cp-activity-list.is-compact p { font-size: 10px; }
#chicla-app .cp-activity-list.is-compact time { font-size: 8px; }
#chicla-app .cp-activity-list.is-compact .cp-text-link { display: none; }
#chicla-app .cp-panel-footer-link { display: flex; align-items: center; gap: 6px; padding: 15px 23px; border-top: 1px solid var(--cp-border); font-size: 10px; color: #8078c7; margin-top: auto; }
#chicla-app .cp-panel-footer-link .cp-icon { width: 12px; height: 12px; }
#chicla-app .cp-projects-section { margin-top: 30px; }
#chicla-app .cp-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
#chicla-app .cp-section-heading .cp-eyebrow { font-size: 8px; }
#chicla-app .cp-inline-count { display: inline-block; margin-left: 6px; color: #9aa5b5; font-size: .65em; font-weight: 500; vertical-align: middle; letter-spacing: 0; background: #f0f3f8; padding: 2px 6px; border-radius: 4px; }
#chicla-app .cp-project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
#chicla-app .cp-project-card { display: block; background: white; padding: 22px; border: 1px solid var(--cp-border); border-radius: 9px; text-align: left; box-shadow: var(--cp-shadow); min-width: 0; transition: box-shadow .2s, transform .2s, border-color .2s; }
#chicla-app .cp-project-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(37,48,96,.09); border-color: #d4d3ed; }
#chicla-app .cp-project-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
#chicla-app .cp-project-glyph { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; border-radius: 9px; background: color-mix(in srgb,var(--project-color) 9%,white); color: var(--project-color); }
#chicla-app .cp-project-glyph .cp-icon { width: 18px; height: 18px; }
#chicla-app .cp-project-card h3 { font-size: 16px; font-weight: 650; letter-spacing: -.035em; color: #344b66; line-height: 1.4; margin-bottom: 8px; }
#chicla-app .cp-project-card>p { font-size: 11px; color: #8c99ab; line-height: 1.8; min-height: 40px; margin-bottom: 21px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#chicla-app .cp-card-progress-label { display: flex; align-items: center; justify-content: space-between; gap: 7px; font-size: 9px; color: #9aa6b6; margin-bottom: 8px; }
#chicla-app .cp-progress-track { display: block; height: 4px; border-radius: 6px; background: #f0f3f7; overflow: hidden; }
#chicla-app .cp-progress-track>span { display: block; height: 100%; border-radius: 6px; min-width: 0; background: var(--cp-purple); transition: width .3s; }
#chicla-app .cp-project-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #f0f3f7; margin-top: 21px; padding-top: 14px; }
#chicla-app .cp-card-due { display: inline-flex; gap: 5px; align-items: center; color: #a0abba; font-size: 9px; }
#chicla-app .cp-card-due .cp-icon { height: 12px; width: 12px; }
#chicla-app .cp-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--cp-border); }
#chicla-app .cp-tabs>button { padding: 11px 0 13px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #91a0b2; font-weight: 550; font-size: 12px; margin-bottom: -1px; }
#chicla-app .cp-tabs>button.is-active { color: #6458cf; border-bottom-color: #7970e5; }
#chicla-app .cp-project-tabs { margin-bottom: 26px; }
#chicla-app .cp-task-collection-tabs { padding: 0 23px; gap: 22px; }
#chicla-app .cp-task-collection-tabs>button { padding: 8px 0 11px; font-size: 10px; }
#chicla-app .cp-inline-actions { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
#chicla-app .cp-filter-bar { display: flex; align-items: center; gap: 9px; padding: 15px 22px; border-top: 1px solid #f0f3f7; flex-wrap: wrap; }
#chicla-app .cp-filter-label { color: #a2aebe; font-size: 10px; margin-right: 4px; }
#chicla-app .cp-filter-select { background: white; border: 1px solid #e5eaf0; border-radius: 5px; color: #7c8a9f; font-size: 10px; padding: 6px 23px 6px 9px; max-width: 160px; }
#chicla-app .cp-back-link { display: inline-flex; align-items: center; gap: 7px; color: #8a95ac; font-size: 10px; margin: -5px 0 20px; }
#chicla-app .cp-back-link .cp-icon { transform: rotate(180deg); width: 13px; height: 13px; }
#chicla-app .cp-project-summary { display: grid; grid-template-columns: 1fr 1.4fr 1.2fr 1.4fr; gap: 24px; background: white; border: 1px solid var(--cp-border); border-radius: 9px; padding: 21px 25px; margin-bottom: 26px; }
#chicla-app .cp-project-summary-item { display: flex; flex-direction: column; gap: 9px; justify-content: center; }
#chicla-app .cp-project-summary-item>span:first-child { font-size: 9px; color: #9ba7b8; }
#chicla-app .cp-project-summary-item>strong { display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 550; color: #76869b; }
#chicla-app .cp-project-summary-item>strong .cp-icon { width: 13px; height: 13px; color: #a4aebc; }
#chicla-app .cp-project-summary-progress { padding-left: 18px; border-left: 1px solid var(--cp-border); }
#chicla-app .cp-project-summary-progress .cp-progress-track { max-width: 230px; margin-top: 7px; }
#chicla-app .cp-person-inline { display: inline-flex; gap: 7px; align-items: center; }
#chicla-app .cp-project-layout { display: grid; grid-template-columns: minmax(0,1fr) 247px; gap: 22px; align-items: start; }
#chicla-app .cp-project-side { display: flex; flex-direction: column; gap: 20px; }
#chicla-app .cp-project-side .cp-panel-heading { padding: 20px 19px 12px; }
#chicla-app .cp-project-side .cp-panel-heading h2 { font-size: 13px; }
#chicla-app .cp-details-list { padding: 0 19px 20px; margin: 0; }
#chicla-app .cp-details-list>div { margin-top: 15px; }
#chicla-app .cp-details-list dt { color: #a6afbd; font-size: 9px; margin-bottom: 5px; }
#chicla-app .cp-details-list dd { color: #7e8ca1; font-size: 10px; margin: 0; overflow-wrap: anywhere; }
#chicla-app .cp-details-list a { color: #8274ca; display: inline-flex; gap: 4px; align-items: center; }
#chicla-app .cp-details-list .cp-icon { width: 10px; height: 10px; }
#chicla-app .cp-tag { display: inline-block; padding: 3px 7px; border: 1px solid #e7e9f5; background: #f9f8ff; color: #8e85bc; border-radius: 4px; font-size: 9px; margin: 2px 4px 2px 0; }
#chicla-app button.cp-tag:hover { border-color: #cfc8ed; }
#chicla-app .cp-project-members { list-style: none; padding: 0 19px 19px; margin: 0; }
#chicla-app .cp-project-members li { display: flex; align-items: center; gap: 9px; margin: 15px 0 0; }
#chicla-app .cp-project-members strong { display: block; font-size: 10px; font-weight: 550; color: #728299; }
#chicla-app .cp-project-members small { display: block; font-size: 8px; color: #a6b0bf; margin-top: 3px; }
#chicla-app .cp-project-actions { padding: 18px 14px; }
#chicla-app .cp-project-actions h3 { margin: 0 5px 9px; color: #919eb1; font-size: 10px; font-weight: 600; }
#chicla-app .cp-project-actions .cp-btn { display: flex; justify-content: flex-start; width: 100%; font-size: 10px; }
#chicla-app .cp-segmented { display: inline-flex; gap: 3px; background: #f5f6fa; border: 1px solid #ebeef3; padding: 3px; border-radius: 6px; }
#chicla-app .cp-segmented>button { display: inline-flex; align-items: center; gap: 5px; color: #9ca7b8; background: transparent; border: 0; border-radius: 4px; padding: 5px 8px; font-size: 9px; }
#chicla-app .cp-segmented>button .cp-icon { width: 12px; height: 12px; }
#chicla-app .cp-segmented>button.is-active { background: white; box-shadow: 0 1px 4px rgba(17,35,67,.06); color: #796dc1; }
#chicla-app .cp-board { display: flex; align-items: stretch; gap: 14px; padding: 20px; background: #fbfcfe; overflow-x: auto; min-height: 310px; }
#chicla-app .cp-board-column { width: 215px; flex: 0 0 215px; }
#chicla-app .cp-board-column>h3 { display: flex; align-items: center; justify-content: space-between; padding: 0 3px 12px; }
#chicla-app .cp-board-column>h3>span:last-child { color: #b4bdc9; font-size: 10px; font-weight: 500; }
#chicla-app .cp-board-cards { display: flex; flex-direction: column; gap: 10px; }
#chicla-app .cp-board-card { display: block; width: 100%; text-align: left; border: 1px solid var(--cp-border); border-radius: 7px; background: white; padding: 16px 13px 11px; box-shadow: 0 2px 8px rgba(20,42,76,.025); }
#chicla-app .cp-board-card:hover { border-color: #c9c4e9; }
#chicla-app .cp-board-card-title { display: block; color: #64758d; font-size: 11px; font-weight: 550; line-height: 1.6; }
#chicla-app .cp-board-meta { display: flex; align-items: center; gap: 12px; margin-top: 13px; }
#chicla-app .cp-board-meta>span:last-child { display: inline-flex; align-items: center; gap: 3px; color: #b1bac7; font-size: 9px; }
#chicla-app .cp-board-meta .cp-icon { width: 11px; height: 11px; }
#chicla-app .cp-board-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #f0f3f7; padding-top: 10px; margin-top: 12px; }
#chicla-app .cp-board-card-foot .cp-due { font-size: 9px; }
#chicla-app .cp-board-empty { border: 1px dashed #e5e8f0; border-radius: 7px; color: #bdc5d2; text-align: center; font-size: 10px; padding: 30px 15px; }
#chicla-app .cp-banner { display: flex; align-items: center; gap: 10px; padding: 13px 17px; background: #f0f0fd; border: 1px solid #e0def3; border-radius: 6px; margin-bottom: 20px; color: #8a80b5; font-size: 11px; }
#chicla-app .cp-banner .cp-icon { width: 16px; height: 16px; }
#chicla-app .cp-banner-warning { background: #fff7ed; border-color: #f5e5d4; color: #b6976e; }
#chicla-app .cp-team-table { width: 100%; text-align: left; border-collapse: collapse; }
#chicla-app .cp-team-table th { background: #fafbfd; border-block: 1px solid #edf0f5; font-size: 10px; font-weight: 550; color: #a0aabc; padding: 12px 23px; }
#chicla-app .cp-team-table td { padding: 20px 23px; border-bottom: 1px solid #f0f3f7; font-size: 11px; color: #8b98ac; }
#chicla-app .cp-team-table tr:last-child td { border: 0; }
#chicla-app .cp-team-person { display: flex; gap: 11px; align-items: center; min-width: 170px; }
#chicla-app .cp-team-person strong { display: block; color: #5b708a; font-size: 12px; font-weight: 550; }
#chicla-app .cp-team-person small { color: #a0abbb; font-size: 10px; display: block; margin-top: 3px; }
#chicla-app .cp-team-project-tags { max-width: 310px; }
#chicla-app .cp-notification { display: flex; align-items: center; gap: 17px; padding: 22px 25px; border-bottom: 1px solid #edf0f5; }
#chicla-app .cp-notification:last-child { border: 0; }
#chicla-app .cp-notification.is-unread { background: #faf9ff; }
#chicla-app .cp-notification-icon { display: inline-flex; align-items: center; justify-content: center; color: #9990cc; background: #f0edfb; border-radius: 50%; width: 34px; height: 34px; flex: 0 0 34px; }
#chicla-app .cp-notification-icon .cp-icon { width: 15px; height: 15px; }
#chicla-app .cp-notification>div { flex: 1; }
#chicla-app .cp-notification p { font-size: 12px; color: #637792; }
#chicla-app .cp-notification time { font-size: 9px; color: #a8b1c0; display: block; margin-top: 5px; }
#chicla-app .cp-activity-panel { padding-block: 10px; }
#chicla-app .cp-empty { padding: 52px 25px; text-align: center; }
#chicla-app .cp-empty-symbol { display: inline-flex; align-items: center; justify-content: center; width: 51px; height: 51px; margin-bottom: 16px; color: #a59dd3; border-radius: 15px; background: linear-gradient(130deg,#f4f2fe,#f5f9fc); border: 1px solid #eae8f5; }
#chicla-app .cp-empty-symbol .cp-icon { width: 23px; height: 23px; }
#chicla-app .cp-empty h3 { font-size: 15px; font-weight: 600; color: #73839a; letter-spacing: -.02em; }
#chicla-app .cp-empty p { max-width: 340px; margin: 8px auto 20px; font-size: 11px; color: #a0acbc; line-height: 1.9; }
#chicla-app .cp-small-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; text-align: center; padding: 35px 25px; min-height: 200px; }
#chicla-app .cp-small-empty .cp-icon { width: 25px; height: 25px; color: #c2badf; }
#chicla-app .cp-small-empty p { font-size: 11px; color: #a4aec0; max-width: 180px; line-height: 1.9; }
#chicla-app .cp-app-footer { max-width: 1580px; margin: 0 auto; display: flex; align-items: center; gap: 15px; padding: 0 40px 24px; font-size: 9px; color: #b4becc; }
#chicla-app .cp-app-footer>span:nth-child(2) { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
#chicla-app .cp-app-footer .cp-icon { width: 10px; height: 10px; }
#chicla-app .cp-app-footer .cp-text-link { font-size: 9px; margin-left: 9px; color: #a69cc7; }
#chicla-app .cp-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; text-align: center; gap: 18px; color: #a4acc0; }
#chicla-app .cp-loading h2 { font-size: 24px; color: #687c96; }
#chicla-app .cp-loading p { font-size: 12px; max-width: 420px; }
#chicla-app .cp-load-error>.cp-icon { width: 34px; height: 34px; color: #d6949d; }
#chicla-app .cp-spinner { display: inline-block; width: 25px; height: 25px; border: 2px solid #e8e6f7; border-top-color: #8174db; border-radius: 50%; animation: cp-spin .8s linear infinite; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
#chicla-app .cp-drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(15,32,59,.25); backdrop-filter: blur(2px); animation: cp-fade .16s ease; }
#chicla-app .cp-drawer { position: fixed; inset: 0 0 0 auto; z-index: 80; width: 650px; max-width: calc(100vw - 30px); overflow-y: auto; background: white; box-shadow: -14px 0 60px rgba(19,33,67,.14); padding: 24px 30px; animation: cp-slide .22s ease; outline: none; }
#chicla-app .cp-drawer-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 23px; border-bottom: 1px solid #edf0f5; margin-bottom: 25px; }
#chicla-app .cp-drawer-topline>div { display: flex; gap: 4px; }
#chicla-app .cp-drawer-topline>.cp-text-link { color: #9a91bc; font-size: 10px; max-width: 400px; }
#chicla-app .cp-drawer-heading { margin-bottom: 25px; }
#chicla-app .cp-drawer-heading .cp-eyebrow { font-size: 8px; color: #b0b8c7; }
#chicla-app .cp-drawer-heading h2 { font-size: 27px; letter-spacing: -.04em; color: #28425f; line-height: 1.3; }
#chicla-app .cp-completed-note { display: flex; align-items: center; gap: 5px; color: #7fa893; font-size: 10px; margin-top: 12px; }
#chicla-app .cp-completed-note .cp-icon { width: 13px; height: 13px; }
#chicla-app .cp-task-properties { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 25px; row-gap: 18px; padding: 20px; border: 1px solid #edf0f5; background: #fafbfd; border-radius: 8px; margin-bottom: 24px; }
#chicla-app .cp-task-properties>div { display: flex; flex-direction: column; gap: 7px; justify-content: center; }
#chicla-app .cp-task-properties>div>span:first-child, #chicla-app .cp-task-properties label { font-size: 9px; color: #9da8ba; }
#chicla-app .cp-task-properties strong { font-size: 11px; color: #7b8ba2; font-weight: 500; display: flex; align-items: center; gap: 6px; }
#chicla-app .cp-task-properties strong>.cp-icon { width: 13px; height: 13px; color: #a3aec0; }
#chicla-app .cp-status-select { width: fit-content; max-width: 100%; font-size: 11px; border: 1px solid #e1deef; border-radius: 5px; padding: 5px 25px 5px 8px; background: #f3f1fd; color: #8f7fc4; }
#chicla-app .cp-drawer-tabs { margin-bottom: 3px; gap: 23px; }
#chicla-app .cp-drawer-tabs>button { font-size: 11px; padding: 12px 0; }
#chicla-app .cp-drawer-section { padding: 24px 0; border-bottom: 1px solid #edf0f5; }
#chicla-app .cp-drawer-section h3 { font-size: 12px; font-weight: 650; color: #6b7c93; margin-bottom: 12px; display: flex; align-items: center; gap: 5px; }
#chicla-app .cp-drawer-section .cp-section-heading { margin-bottom: 12px; }
#chicla-app .cp-drawer-section .cp-section-heading h3 { margin: 0; }
#chicla-app .cp-drawer-section .cp-muted { font-size: 11px; }
#chicla-app .cp-prose { color: #8696aa; font-size: 12px; line-height: 1.95; overflow-wrap: anywhere; }
#chicla-app .cp-checklist { display: flex; flex-direction: column; gap: 3px; }
#chicla-app .cp-checklist-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; }
#chicla-app .cp-checklist-item:hover { background: #fbfaff; border-color: #eeeaf7; }
#chicla-app .cp-checklist-item input { margin: 3px 0 0; width: 14px; height: 14px; accent-color: #8274d7; }
#chicla-app .cp-checklist-item span { color: #8795aa; font-size: 11px; line-height: 1.8; }
#chicla-app .cp-checklist-item.is-checked span { text-decoration: line-through; color: #b2bbca; }
#chicla-app .cp-reference-list { list-style: none; margin: 0; padding: 0; }
#chicla-app .cp-reference-list li+li { margin-top: 7px; }
#chicla-app .cp-reference-list a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; color: #9285bf; font-size: 11px; border: 1px solid #eae6f3; border-radius: 5px; background: #fcfbff; }
#chicla-app .cp-reference-list a span { flex: 1; overflow-wrap: anywhere; min-width: 0; }
#chicla-app .cp-reference-list .cp-icon { height: 13px; width: 13px; }
#chicla-app .cp-dependencies { display: flex; flex-direction: column; gap: 8px; }
#chicla-app .cp-dependencies button { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; text-align: left; padding: 11px; border: 1px solid #e9edf4; border-radius: 5px; background: #fbfcfe; font-size: 11px; color: #8594aa; }
#chicla-app .cp-dependencies button>span:first-child { display: flex; align-items: center; gap: 7px; }
#chicla-app .cp-dependencies .cp-icon { width: 13px; height: 13px; color: #b0b7c8; }
#chicla-app .cp-blocked-section { padding: 18px; border: 1px solid #f0e1ce; border-radius: 6px; background: #fffbf4; margin-top: 20px; }
#chicla-app .cp-blocked-section h3 { color: #bd9a63; }
#chicla-app .cp-blocked-section p { color: #b09e86; font-size: 11px; white-space: pre-wrap; }
#chicla-app .cp-blocked-section .cp-btn { margin-top: 12px; }
#chicla-app .cp-review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 15px; border: 1px solid #e4def1; border-radius: 6px; background: #fbf9ff; margin-bottom: 18px; }
#chicla-app .cp-review-actions>span { display: flex; align-items: center; gap: 7px; color: #9b88bb; font-size: 11px; flex: 1 1 160px; }
#chicla-app .cp-review-actions>span>.cp-icon { width: 15px; height: 15px; }
#chicla-app .cp-attachment-list { list-style: none; padding: 0; margin: 16px 0 0; }
#chicla-app .cp-attachment-list li { display: flex; align-items: center; gap: 10px; border: 1px solid #e8ecf3; border-radius: 6px; padding: 10px; margin-top: 7px; }
#chicla-app .cp-file-symbol { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 36px; border-radius: 5px; color: #a699c7; background: #f6f3fb; }
#chicla-app .cp-file-symbol .cp-icon { width: 17px; height: 17px; }
#chicla-app .cp-attachment-list li>div { flex: 1; min-width: 0; }
#chicla-app .cp-attachment-list li>div>a { display: block; font-size: 11px; color: #8f80b4; overflow-wrap: anywhere; }
#chicla-app .cp-attachment-list small { display: block; font-size: 9px; color: #b0b9c8; margin-top: 3px; }
#chicla-app .cp-file-empty { padding: 22px; margin-top: 16px; display: flex; justify-content: center; align-items: center; gap: 10px; border: 1px dashed #e7e7f0; border-radius: 6px; background: #fdfcff; color: #b5adc9; font-size: 10px; text-align: center; }
#chicla-app .cp-file-empty .cp-icon { width: 17px; height: 17px; }
#chicla-app .cp-upload-label { cursor: pointer; }
#chicla-app .cp-upload-label:focus-within { outline: 3px solid #9d98ff; outline-offset: 3px; }
#chicla-app .cp-comments { display: flex; flex-direction: column; gap: 21px; }
#chicla-app .cp-comment { display: flex; gap: 11px; }
#chicla-app .cp-comment>div { flex: 1; min-width: 0; }
#chicla-app .cp-comment header { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; flex-wrap: wrap; }
#chicla-app .cp-comment strong { font-size: 11px; font-weight: 550; color: #7c8ca4; }
#chicla-app .cp-comment time { color: #b0b9c9; font-size: 9px; }
#chicla-app .cp-comment header .cp-text-link { font-size: 9px; margin-left: auto; }
#chicla-app .cp-comment p { font-size: 11px; line-height: 1.9; color: #95a0b2; overflow-wrap: anywhere; }
#chicla-app .cp-comment-form { margin-top: 22px; }
#chicla-app .cp-comment-form textarea { display: block; width: 100%; border: 1px solid #e3e7f0; border-radius: 6px; padding: 12px; font-size: 11px; line-height: 1.8; color: #75869f; min-height: 95px; resize: vertical; background: #fdfdff; }
#chicla-app .cp-comment-form textarea::placeholder { color: #b7bfce; }
#chicla-app .cp-comment-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
#chicla-app .cp-comment-form-footer>span { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #b0bacb; }
#chicla-app .cp-comment-form-footer .cp-avatar { width: 22px; height: 22px; flex-basis: 22px; font-size: 7px; }
#chicla-app .cp-drawer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 9px; color: #b4bdcd; padding: 23px 0 8px; flex-wrap: wrap; }
#chicla-app .cp-drawer-footer .cp-text-link { font-size: 9px; opacity: .7; }
#chicla-app .cp-drawer-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; min-height: 65vh; color: #a7adc1; font-size: 12px; text-align: center; }
#chicla-app .cp-modal-backdrop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 22px; background: rgba(20,31,59,.38); backdrop-filter: blur(4px); animation: cp-fade .15s ease; }
#chicla-app .cp-modal { width: 480px; max-width: 100%; max-height: calc(100dvh - 44px); overflow-y: auto; background: white; border: 1px solid rgba(255,255,255,.5); border-radius: 13px; box-shadow: 0 26px 100px rgba(18,29,59,.22); }
#chicla-app .cp-modal-large { width: 720px; }
#chicla-app .cp-modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 29px 22px; border-bottom: 1px solid #eceff5; }
#chicla-app .cp-modal-header h2 { font-size: 24px; letter-spacing: -.04em; color: #48617f; }
#chicla-app .cp-modal-header .cp-eyebrow { font-size: 8px; color: #a39ac0; }
#chicla-app .cp-modal-body { padding: 25px 29px; }
#chicla-app .cp-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 21px; row-gap: 19px; }
#chicla-app .cp-field-full { grid-column: 1 / -1; }
#chicla-app .cp-field>label { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 550; color: #8090a8; }
#chicla-app .cp-required { color: #a893d0; padding-left: 3px; }
#chicla-app .cp-field input:not([type=checkbox]):not([type=radio]), #chicla-app .cp-field textarea, #chicla-app .cp-field select { display: block; width: 100%; border: 1px solid #dfe5ef; border-radius: 5px; color: #71849f; background: white; padding: 10px 11px; font-size: 12px; min-height: 40px; line-height: 1.55; }
#chicla-app .cp-field textarea { resize: vertical; min-height: 84px; }
#chicla-app .cp-field input::placeholder, #chicla-app .cp-field textarea::placeholder { color: #b2bdce; }
#chicla-app .cp-field-help { font-size: 10px; color: #acb5c5; line-height: 1.7; margin-top: 6px; }
#chicla-app .cp-modal-footer { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 19px 29px; border-top: 1px solid #eceff5; background: #fcfdff; position: sticky; bottom: 0; z-index: 1; }
#chicla-app .cp-form-error { margin: 10px 29px 20px; padding: 12px 15px; border: 1px solid #f1d7dd; background: #fff6f8; color: #b66978; border-radius: 5px; font-size: 11px; line-height: 1.8; }
#chicla-app .cp-form-error[hidden] { display: none; }
#chicla-app .cp-comment-form .cp-form-error { margin: 10px 0; }
#chicla-app .cp-switch-row { display: flex; align-items: flex-start; gap: 11px; border: 1px solid #e8e6f4; border-radius: 6px; background: #fbfaff; padding: 15px; cursor: pointer; }
#chicla-app .cp-switch-row input { width: 15px; height: 15px; margin: 3px 0 0; accent-color: #8576db; }
#chicla-app .cp-switch-row strong { font-weight: 600; display: block; font-size: 11px; color: #8d7cad; }
#chicla-app .cp-switch-row small { display: block; margin-top: 4px; font-size: 10px; color: #b3a8c7; line-height: 1.7; }
#chicla-app .cp-colour-picker { display: flex; align-items: center; gap: 9px; min-height: 40px; }
#chicla-app .cp-colour-picker label { cursor: pointer; position: relative; display: block; width: 24px; height: 24px; }
#chicla-app .cp-colour-picker input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; }
#chicla-app .cp-colour-picker span { display: block; width: 24px; height: 24px; background: var(--swatch); border-radius: 50%; border: 3px solid white; box-shadow: 0 0 0 1px #e6e8ed; }
#chicla-app .cp-colour-picker input:checked+span { box-shadow: 0 0 0 2px var(--swatch); }
#chicla-app .cp-colour-picker input:focus-visible+span { outline: 2px solid #aaa1ed; outline-offset: 4px; }
#chicla-app .cp-profile-preview { display: flex; align-items: center; gap: 15px; padding: 18px; border: 1px solid #e7ebf2; border-radius: 9px; background: #f8fafd; margin-bottom: 24px; }
#chicla-app .cp-profile-preview>div:first-child { flex: 0 0 56px; }
#chicla-app .cp-profile-preview .cp-avatar { width: 56px; height: 56px; flex-basis: 56px; font-size: 19px; border-width: 3px; box-shadow: 0 2px 8px rgba(18,36,59,.08); }
#chicla-app .cp-profile-preview strong { display: block; color: var(--cp-ink); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
#chicla-app .cp-profile-preview p { margin-top: 4px; color: #66768d; font-size: 11px; line-height: 1.7; }
#chicla-app .cp-profile-colours { border: 0; padding: 0; margin: 0; min-width: 0; }
#chicla-app .cp-profile-colours legend { padding: 0; margin-bottom: 14px; color: #3b4d65; font-size: 12px; font-weight: 600; }
#chicla-app .cp-profile-colour-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px 8px; }
#chicla-app .cp-profile-swatch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; cursor: pointer; }
#chicla-app .cp-profile-swatch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
#chicla-app .cp-profile-swatch-chip { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--swatch); color: var(--swatch-text); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #e0e5ed; }
#chicla-app .cp-profile-swatch-chip .cp-icon { opacity: 0; width: 16px; height: 16px; stroke-width: 2.3; }
#chicla-app .cp-profile-swatch-name { color: #596a81; font-size: 11px; }
#chicla-app .cp-profile-swatch input:checked+.cp-profile-swatch-chip { box-shadow: 0 0 0 2px var(--swatch); }
#chicla-app .cp-profile-swatch input:checked+.cp-profile-swatch-chip .cp-icon { opacity: 1; }
#chicla-app .cp-profile-swatch input:checked~.cp-profile-swatch-name { color: #182e47; font-weight: 650; }
#chicla-app .cp-profile-swatch input:focus-visible+.cp-profile-swatch-chip { outline: 3px solid #9d98ff; outline-offset: 4px; }
#chicla-app .cp-profile-custom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; margin-top: 22px; border-top: 1px solid var(--cp-border); }
#chicla-app .cp-profile-custom label { color: #3b4d65; font-size: 12px; font-weight: 600; }
#chicla-app .cp-profile-custom small { display: block; margin-top: 4px; color: #66768d; font-size: 11px; font-weight: 400; }
#chicla-app .cp-profile-custom input[type=color] { width: 56px; height: 38px; padding: 4px; background: white; border: 1px solid #ccd5e2; border-radius: 6px; cursor: pointer; }
#chicla-app .cp-profile-custom input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
#chicla-app .cp-profile-custom input[type=color]::-webkit-color-swatch { border: 0; border-radius: 3px; }
#chicla-app .cp-profile-custom input[type=color]::-moz-color-swatch { border: 0; border-radius: 3px; }
#chicla-app .cp-profile-colour-value { display: block; margin-top: 14px; color: #5b6b82; font-size: 11px; font-variant-numeric: tabular-nums; }
#chicla-app .cp-form-members { border-top: 1px solid #edf0f5; padding-top: 22px; margin-top: 25px; }
#chicla-app .cp-form-members h3 { font-size: 13px; font-weight: 600; color: #8092aa; }
#chicla-app .cp-member-picker { max-height: 230px; overflow-y: auto; border: 1px solid #e6eaf3; border-radius: 6px; margin: 15px 0 12px; }
#chicla-app .cp-member-picker-row { display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 10px 13px; border-bottom: 1px solid #edf0f7; }
#chicla-app .cp-member-picker-row:last-child { border: 0; }
#chicla-app .cp-member-picker-row>label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 11px; color: #8799af; min-width: 0; }
#chicla-app .cp-member-picker-row input { accent-color: #8576d2; margin: 0 3px 0 0; }
#chicla-app .cp-member-picker-row select { font-size: 10px; border: 1px solid #e2e6f0; border-radius: 4px; padding: 5px 6px; color: #a294b9; background: #fdfbff; }
#chicla-app .cp-dependency-picker { max-height: 180px; overflow-y: auto; border: 1px solid #e6eaf1; border-radius: 5px; padding: 8px 12px; }
#chicla-app .cp-dependency-option { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; font-size: 11px; color: #8e9cb1; cursor: pointer; }
#chicla-app .cp-dependency-option input { margin: 3px 0 0; accent-color: #897bd0; }
#chicla-app .cp-dependency-option span { line-height: 1.7; }
#chicla-app .cp-confirm-copy { color: #8d9cb1; font-size: 13px; line-height: 1.9; }
#chicla-app .cp-toast { position: fixed; bottom: 24px; left: calc(50% + 122px); transform: translateX(-50%); z-index: 150; display: flex; align-items: center; gap: 10px; max-width: min(600px,calc(100vw - 40px)); border: 1px solid #dce8e3; border-radius: 8px; background: #fff; box-shadow: 0 8px 35px rgba(28,51,79,.14); color: #76998a; padding: 11px 12px 11px 16px; font-size: 12px; animation: cp-fade .2s ease; }
#chicla-app .cp-toast>.cp-icon { width: 17px; height: 17px; color: #82af98; }
#chicla-app .cp-toast-error { border-color: #edd5dc; color: #b46d7c; }
#chicla-app .cp-toast-error>.cp-icon { color: #ce8497; }
#chicla-app .cp-toast>.cp-icon-btn { width: 24px; height: 24px; min-width: 24px; margin-left: 6px; }
#chicla-app .is-busy { position: relative; padding-right: 36px; }
#chicla-app .is-busy:after { content: ""; position: absolute; width: 12px; height: 12px; right: 12px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: cp-spin .7s linear infinite; }
@keyframes cp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cp-slide { from { transform: translateX(25px); opacity: .5; } to { transform: translateX(0); opacity: 1; } }
/* Keep working text crisp even when the surrounding chrome is deliberately quiet. */
#chicla-app .cp-task-title-button, #chicla-app .cp-task-table.is-compact .cp-task-title-button { color: #344b66; font-size: 12px; }
#chicla-app .cp-task-table th { color: #6f7e93; font-size: 10px; }
#chicla-app .cp-table-assignee { color: #65768e; font-size: 11px; }
#chicla-app .cp-due { color: #6f7f94; font-size: 11px; }
#chicla-app .cp-due.is-overdue { color: #b6475e; }
#chicla-app .cp-task-subline { color: #7d8da3; font-size: 9px; }
#chicla-app .cp-status { color: #66768d; font-size: 10px; }
#chicla-app .cp-task-table.is-compact .cp-status { font-size: 10px; }
#chicla-app .cp-status-in_progress, #chicla-app .cp-status-active { color: #6555bb; }
#chicla-app .cp-status-blocked, #chicla-app .cp-status-on_hold { color: #9e6d35; }
#chicla-app .cp-status-in_review { color: #8f7724; }
#chicla-app .cp-status-done, #chicla-app .cp-status-completed { color: #327d60; }
#chicla-app .cp-status-cancelled { color: #6f798b; }
#chicla-app .cp-priority { color: #78879a; }
#chicla-app .cp-priority-high { color: #9c7734; }
#chicla-app .cp-priority-urgent { color: #b74c65; }
#chicla-app .cp-priority-low { color: #598787; }
#chicla-app .cp-metric-top { color: #61748d; font-size: 12px; }
#chicla-app .cp-metric>small { color: #8290a3; font-size: 10px; }
#chicla-app .cp-project-card>p, #chicla-app .cp-welcome p { color: #6e7e95; font-size: 12px; }
#chicla-app .cp-card-progress-label, #chicla-app .cp-card-due { color: #7d8da3; font-size: 10px; }
#chicla-app .cp-empty p, #chicla-app .cp-small-empty p { color: #77879c; font-size: 12px; }
#chicla-app .cp-muted { color: #7d8da3; }
#chicla-app .cp-filter-select { color: #667991; font-size: 11px; }
#chicla-app .cp-activity-list p, #chicla-app .cp-activity-list.is-compact p { color: #75869f; font-size: 11px; }
#chicla-app .cp-activity-list time, #chicla-app .cp-activity-list.is-compact time { color: #8896ab; font-size: 9px; }
#chicla-app .cp-board-card-title { color: #4b627e; font-size: 12px; }
#chicla-app .cp-drawer-section h3 { color: #526b88; font-size: 13px; }
#chicla-app .cp-prose { color: #63778f; font-size: 13px; }
#chicla-app .cp-checklist-item span { color: #63778f; font-size: 12px; }
#chicla-app .cp-comment p { color: #6b7d94; font-size: 12px; }
#chicla-app .cp-comment strong { color: #526a87; font-size: 12px; }
#chicla-app .cp-task-properties strong { color: #61758f; font-size: 12px; }
#chicla-app .cp-field>label { color: #62778f; font-size: 12px; }
#chicla-app .cp-field input:not([type=checkbox]):not([type=radio]), #chicla-app .cp-field textarea, #chicla-app .cp-field select { color: #425c7a; font-size: 13px; }
#chicla-app .cp-field-help { color: #7c8da4; font-size: 11px; }
#chicla-app .cp-field input::placeholder, #chicla-app .cp-field textarea::placeholder { color: #899aaf; }
#chicla-app .cp-switch-row strong { color: #746090; font-size: 12px; }
#chicla-app .cp-switch-row small { color: #8a7c9f; font-size: 11px; }
#chicla-app .cp-member-picker-row>label { color: #607a96; font-size: 12px; }
#chicla-app .cp-dependency-option { color: #6c809a; font-size: 12px; }
#chicla-app .cp-confirm-copy { color: #6a7e96; }
#chicla-app .cp-project-members strong { color: #5c7490; font-size: 11px; }
#chicla-app .cp-details-list dt { color: #8595aa; font-size: 10px; }
#chicla-app .cp-details-list dd { color: #6a7e98; font-size: 11px; }
#chicla-app .cp-tag { color: #8173a4; font-size: 10px; }
@media (min-width: 1650px) {
  #chicla-app .cp-project-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  #chicla-app .cp-main { padding-top: 43px; }
}
@media (max-width: 1320px) {
  #chicla-app .cp-sidebar { width: 222px; flex-basis: 222px; padding-inline: 15px; }
  #chicla-app .cp-work-area { margin-left: 222px; width: calc(100% - 222px); }
  #chicla-app .cp-main { padding-inline: 28px; }
  #chicla-app .cp-topbar { padding-inline: 28px; }
  #chicla-app .cp-metrics { gap: 13px; }
  #chicla-app .cp-metric { padding-inline: 17px; }
  #chicla-app .cp-project-layout { grid-template-columns: minmax(0,1fr); }
  #chicla-app .cp-project-side { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  #chicla-app .cp-project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #chicla-app .cp-dashboard-grid { grid-template-columns: minmax(0,1fr); }
  #chicla-app .cp-recent .cp-activity-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  #chicla-app .cp-recent .cp-activity-list li { border-bottom: 0; }
  #chicla-app .cp-recent .cp-activity-list li:nth-child(n+4) { display: none; }
  #chicla-app .cp-task-table.is-compact .cp-table-assignee>span:last-child { display: inline; }
  #chicla-app .cp-task-table.is-compact .cp-task-title-button { font-size: 11px; }
  #chicla-app .cp-toast { left: calc(50% + 111px); }
}
@media (max-width: 1024px) {
  #chicla-app .cp-sidebar { width: 202px; flex-basis: 202px; padding-inline: 12px; }
  #chicla-app .cp-work-area { margin-left: 202px; width: calc(100% - 202px); }
  #chicla-app .cp-main { padding: 28px 22px 40px; }
  #chicla-app .cp-topbar { padding-inline: 22px; height: 68px; }
  #chicla-app .cp-brand { padding-inline: 12px; }
  #chicla-app .cp-nav-item { padding-inline: 13px; }
  #chicla-app .cp-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #chicla-app .cp-welcome { padding: 26px; }
  #chicla-app .cp-welcome-progress { padding-right: 0; }
  #chicla-app .cp-orbit { width: 105px; height: 105px; }
  #chicla-app .cp-orbit strong { font-size: 26px; }
  #chicla-app .cp-welcome p { font-size: 11px; max-width: 300px; }
  #chicla-app .cp-project-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #chicla-app .cp-project-summary { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 20px; }
  #chicla-app .cp-project-summary-progress { padding-left: 0; border-left: 0; }
  #chicla-app .cp-search input { width: 140px; }
  #chicla-app .cp-app-footer { padding-inline: 22px; }
  #chicla-app .cp-toast { left: calc(50% + 101px); }
}
@media (max-width: 780px) {
  #chicla-app .cp-sidebar { width: 245px; transform: translateX(-100%); transition: transform .2s ease; z-index: 60; }
  #chicla-app .cp-sidebar.is-open { transform: translateX(0); box-shadow: 6px 0 35px rgba(21,35,60,.16); }
  #chicla-app .cp-work-area { margin-left: 0; width: 100%; }
  #chicla-app .cp-mobile-menu { display: inline-flex; }
  #chicla-app .cp-nav-close { display: inline-flex; position: absolute; right: 12px; top: 24px; }
  #chicla-app .cp-nav-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(24,38,63,.3); border: 0; }
  #chicla-app .cp-topbar { height: 63px; padding: 0 16px; gap: 10px; }
  #chicla-app .cp-topbar-left, #chicla-app .cp-topbar-right { gap: 10px; }
  #chicla-app .cp-breadcrumb { font-size: 10px; gap: 7px; }
  #chicla-app .cp-main { padding: 25px 18px 35px; }
  #chicla-app .cp-page-header { align-items: flex-start; }
  #chicla-app .cp-page-header .cp-eyebrow { font-size: 8px; }
  #chicla-app h1 { font-size: 27px; }
  #chicla-app .cp-page-header p { font-size: 11px; }
  #chicla-app .cp-header-actions .cp-btn { padding: 9px 11px; font-size: 10px; }
  #chicla-app .cp-search input { width: 130px; font-size: 10px; }
  #chicla-app .cp-search kbd { display: none; }
  #chicla-app .cp-toast { left: 50%; width: max-content; }
}
@media (max-width: 540px) {
  #chicla-app .cp-topbar { padding-inline: 11px; }
  #chicla-app .cp-breadcrumb { display: none; }
  #chicla-app .cp-search input { width: 150px; font-size: 11px; }
  #chicla-app .cp-main { padding-inline: 14px; }
  #chicla-app .cp-page-header { flex-wrap: wrap; gap: 14px; margin-bottom: 21px; }
  #chicla-app .cp-header-actions { flex-wrap: wrap; }
  #chicla-app h1 { font-size: 29px; }
  #chicla-app .cp-welcome { min-height: 200px; padding: 26px 22px; margin-bottom: 18px; }
  #chicla-app .cp-welcome h2 { font-size: 29px; max-width: 230px; }
  #chicla-app .cp-welcome p { max-width: 240px; }
  #chicla-app .cp-welcome-progress { display: none; }
  #chicla-app .cp-welcome-mesh { width: 88%; right: -90px; opacity: .5; }
  #chicla-app .cp-metrics { gap: 11px; margin-bottom: 20px; }
  #chicla-app .cp-metric { padding: 15px 14px; }
  #chicla-app .cp-metric-top { font-size: 10px; }
  #chicla-app .cp-metric-icon { width: 23px; height: 23px; }
  #chicla-app .cp-metric>strong { font-size: 30px; }
  #chicla-app .cp-metric>small { font-size: 8px; }
  #chicla-app .cp-project-grid { grid-template-columns: 1fr; gap: 15px; }
  #chicla-app .cp-project-card { padding: 22px; }
  #chicla-app .cp-project-card>p { min-height: auto; }
  #chicla-app .cp-project-card h3 { font-size: 18px; }
  #chicla-app .cp-panel-heading { padding: 20px 17px 17px; }
  #chicla-app .cp-panel-heading h2 { font-size: 16px; }
  #chicla-app .cp-dashboard-grid { gap: 18px; }
  #chicla-app .cp-recent .cp-activity-list { display: block; }
  #chicla-app .cp-recent .cp-activity-list li { border-bottom: 1px solid #f0f3f7; }
  #chicla-app .cp-recent .cp-activity-list li:last-child { border: 0; }
  #chicla-app .cp-project-summary { padding: 20px 17px; gap: 22px 17px; }
  #chicla-app .cp-project-side { grid-template-columns: 1fr; }
  #chicla-app .cp-filter-bar { gap: 7px; padding: 12px 15px; }
  #chicla-app .cp-filter-label { display: none; }
  #chicla-app .cp-filter-select { max-width: 130px; font-size: 9px; }
  #chicla-app .cp-project-layout { gap: 18px; }
  #chicla-app .cp-board { padding: 15px; gap: 11px; }
  #chicla-app .cp-board-column { width: 205px; flex-basis: 205px; }
  #chicla-app .cp-app-footer { padding: 0 15px 18px; font-size: 8px; flex-wrap: wrap; }
  #chicla-app .cp-app-footer .cp-text-link { font-size: 8px; }
  #chicla-app .cp-drawer { max-width: 100%; width: 100%; padding: 18px 20px; }
  #chicla-app .cp-drawer-heading h2 { font-size: 25px; }
  #chicla-app .cp-drawer-topline { padding-bottom: 17px; margin-bottom: 21px; }
  #chicla-app .cp-task-properties { padding: 16px; gap: 17px; }
  #chicla-app .cp-task-properties strong { font-size: 10px; }
  #chicla-app .cp-comment-form-footer>span { font-size: 8px; }
  #chicla-app .cp-comment-form-footer>span .cp-avatar { display: none; }
  #chicla-app .cp-modal-backdrop { padding: 10px; }
  #chicla-app .cp-modal { max-height: calc(100dvh - 20px); border-radius: 9px; }
  #chicla-app .cp-modal-header { padding: 20px; }
  #chicla-app .cp-modal-header h2 { font-size: 23px; }
  #chicla-app .cp-modal-body { padding: 20px; }
  #chicla-app .cp-modal-footer { padding: 15px 20px; }
  #chicla-app .cp-form-grid { grid-template-columns: 1fr; gap: 17px; }
  #chicla-app .cp-field-full { grid-column: auto; }
  #chicla-app .cp-member-picker-row { gap: 8px; padding: 9px; }
  #chicla-app .cp-member-picker-row .cp-avatar { display: none; }
  #chicla-app .cp-member-picker-row select { max-width: 135px; font-size: 9px; }
  #chicla-app .cp-form-error { margin: 10px 20px 20px; }
  #chicla-app .cp-notification { padding: 19px 16px; gap: 12px; }
  #chicla-app .cp-notification p { font-size: 11px; }
  #chicla-app .cp-notification .cp-btn { font-size: 9px; padding: 5px; }
  #chicla-app .cp-notification-icon { width: 27px; height: 27px; flex-basis: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  #chicla-app *, #chicla-app *:before, #chicla-app *:after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
