.ct-workspace,.ct-dialog{--ct-panel:#1f2a3d;--ct-line:#455674;--ct-muted:#c8d4ea;--ct-green:#14f0b4;color:#f8faff;font-family:'Manrope',-apple-system,BlinkMacSystemFont,sans-serif;font-size:13px;letter-spacing:0}
.ct-workspace{min-width:0;padding:6px 0 20px}.ct-workspace *,.ct-dialog *{box-sizing:border-box;letter-spacing:0}
.ct-workspace h2{font-size:22px;margin:0 0 5px}.ct-workspace h3{font-size:13px;margin:0}.ct-workspace h4,.ct-dialog h4{font-size:12px;margin:16px 0 10px}
.ct-workspace button,.ct-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:6px 10px;background:#20293a;color:#e9edf5;border:1px solid transparent;border-radius:4px;font:inherit;cursor:pointer;white-space:normal}
.ct-workspace button:hover,.ct-dialog button:hover{border-color:#64738c}.ct-workspace button:focus-visible,.ct-dialog button:focus-visible{outline:2px solid #0db887;outline-offset:2px}
.ct-workspace button:disabled,.ct-dialog button:disabled{opacity:.5;cursor:wait}.ct-workspace button svg,.ct-dialog button svg{width:15px;height:15px;flex-shrink:0}
.ct-workspace .ct-primary,.ct-dialog .ct-primary,.ct-segment .active{background:#12e8a8;color:#042318;font-weight:600}.ct-workspace .ct-danger,.ct-dialog .ct-danger{color:#ff6879;border-color:#ae3d51;background:#361e2b}
.ct-heading,.ct-detail-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.ct-heading>div:first-child{text-align:left}.ct-heading p{margin:0;color:var(--ct-muted);font-size:12px}.ct-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ct-segment{display:inline-flex;gap:0;align-items:center;background:#1a2333;border-radius:4px}.ct-segment button{background:transparent;font-size:12px}
.ct-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--ct-line);padding-bottom:14px;margin-bottom:16px}.ct-workspace input:not([type=checkbox]),.ct-dialog input:not([type=checkbox]):not([type=radio]),.ct-workspace select,.ct-dialog select,.ct-dialog textarea{background:#1b2332;border:1px solid #2c3547;border-radius:4px;color:#eef1f6;padding:8px 10px;min-width:0;font:inherit;max-width:100%;color-scheme:dark}.ct-toolbar input[type=search]{width:220px;font-size:12px}.ct-filter{display:flex;gap:6px;align-items:center;font-size:12px;color:#abb4c5}.ct-workspace input[type=checkbox],.ct-dialog input[type=checkbox]{accent-color:#0db887;width:14px;height:14px;flex-shrink:0}
.ct-templates{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-left:auto;font-size:11px;color:var(--ct-muted)}.ct-templates button{font-size:11px;min-height:26px;padding:4px 8px}
.ct-board{display:grid;grid-template-columns:repeat(6,minmax(160px,1fr));gap:12px;overflow-x:auto;min-height:320px;padding-bottom:12px}.ct-column{min-width:0}.ct-column>header{display:flex;gap:5px;align-items:center;justify-content:space-between;border-bottom:3px solid #5a6a85;padding-bottom:8px;margin-bottom:10px;min-height:44px}.ct-column h3{font-size:12px;line-height:1.4;color:#eef2fa}.ct-column h3 span{background:#334155;padding:1px 6px;border-radius:8px;color:#dbeafe;font-size:10px;font-weight:600}.ct-column>header button{width:23px;min-height:24px;padding:4px;flex-shrink:0}.ct-column[data-bucket=overdue]>header{border-color:#f87171}.ct-column[data-bucket=today]>header{border-color:#34d399}.ct-column[data-bucket=week]>header{border-color:#60a5fa}.ct-column[data-bucket=later]>header{border-color:#22d3ee}.ct-column[data-bucket=none]>header{border-color:#94a3b8}.ct-column[data-bucket=done]>header{border-color:#a78bfa}
.ct-card{background:var(--ct-panel);border:1px solid #242c3e;border-radius:5px;padding:10px;margin-bottom:8px;min-height:100px}.ct-card:hover{border-color:#4d5b70}.ct-meta{display:flex;justify-content:space-between;gap:5px;font-size:10px;color:var(--ct-muted);line-height:1.5;margin-bottom:8px;flex-wrap:wrap}.ct-priority{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.ct-priority:before{content:'';width:6px;height:6px;border-radius:50%;background:#fbbf24;flex-shrink:0}.ct-priority.high:before{background:#fb7185}.ct-priority.low:before{background:#60a5fa}.ct-workspace .ct-title{background:none;border:0;padding:0;text-align:left;justify-content:flex-start;min-height:0;font-weight:500;font-size:13px;line-height:1.45;overflow-wrap:anywhere;color:#f1f3f8}.ct-workspace .ct-title:hover{color:#32d6aa}.ct-card-foot{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:10px}.ct-person{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px}.ct-card .ct-person{color:var(--ct-muted)}.ct-card .ct-person>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:80px}.ct-avatar{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #367b81;border-radius:50%;background:#1b3944;color:#bcebf0;font-size:9px;flex-shrink:0}.ct-quick{display:flex;gap:3px;flex-shrink:0}.ct-quick button{min-height:21px;width:21px;padding:4px}.ct-quick button svg{width:12px;height:12px}.ct-empty{color:#9fb0cc;font-size:12px;text-align:center;padding:15px 4px}.ct-muted{color:var(--ct-muted)}.ct-late{color:#fb6072!important}
.ct-table-scroll{overflow-x:auto;border:1px solid var(--ct-line);border-radius:6px}.ct-table{border-collapse:collapse;width:100%;min-width:800px;font-size:12px}.ct-table th{text-align:left;color:#949fb3;font-size:10px;text-transform:uppercase;font-weight:500;padding:12px;background:#171e2c}.ct-table td{padding:12px;border-top:1px solid #273043;background:#101722}.ct-table td:nth-child(2){max-width:340px}.ct-table tbody tr:hover td{background:#182331}.ct-table input{margin:0}.ct-status{display:inline-block;padding:3px 6px;border-radius:3px;font-size:10px;white-space:nowrap;color:#e7b943;background:#3b301c}.ct-status.overdue{color:#fa6172;background:#39202b}.ct-status.done{color:#2bd0a4;background:#123b34}.ct-status.none,.ct-status.later,.ct-status.week{color:#72a4ff;background:#1d2b45}.ct-bulk{display:flex;gap:16px;align-items:center;justify-content:space-between;margin-top:14px;padding:10px 12px;border:1px solid #169b7c;background:#171e2c;border-radius:5px}.ct-bulk[hidden]{display:none}.ct-bulk>div{display:flex;gap:6px}
.ct-detail-title h2{font-size:21px;line-height:1.45;overflow-wrap:anywhere}.ct-workspace .ct-back{background:transparent;color:var(--ct-muted);padding:0;margin-bottom:8px;font-size:12px}.ct-detail{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.ct-detail main,.ct-detail aside{min-width:0}.ct-detail-section{padding:16px 0;border-top:1px solid var(--ct-line);margin-bottom:18px}.ct-detail-section>header{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--ct-muted);font-size:11px}.ct-detail-section h3{margin-bottom:12px;font-size:13px}.ct-description{white-space:pre-wrap;color:#a6b0c3;line-height:1.65;overflow-wrap:anywhere;margin:0}.ct-detail progress{width:100%;height:5px;accent-color:#0db887;margin-bottom:16px}.ct-checklist{display:grid;gap:10px}.ct-checklist label{display:flex;gap:8px;align-items:start;overflow-wrap:anywhere}.ct-checked{text-decoration:line-through;color:#778298}.ct-comments article{margin-bottom:18px}.ct-comments header{display:flex;justify-content:space-between;gap:12px;align-items:center}.ct-comments time{font-size:10px;color:var(--ct-muted)}.ct-comments p{font-size:12px;color:#a6b0c3;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}#ct-comment-form{display:flex;gap:8px}#ct-comment-form input{flex:1;min-width:0}.ct-detail dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:14px 8px;font-size:12px}.ct-detail dt{color:var(--ct-muted)}.ct-detail dd{margin:0;text-align:right;overflow-wrap:anywhere}.ct-detail dd.ct-priority{justify-content:flex-end}.ct-detail select{width:100%;font-size:11px}.ct-detail-actions{display:grid;gap:8px}.ct-workspace .ct-link,.ct-dialog .ct-link{background:none;color:#17c49b;padding:0;min-height:24px;border:0}
.ct-dialog{width:540px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);background:#111826;border:1px solid #293245;border-radius:8px;padding:0;box-shadow:0 20px 80px #0006;overflow:auto}.ct-dialog::backdrop{background:#040813d9}.ct-dialog>header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid #252e40}.ct-dialog>header h3{margin:0;font-size:16px}.ct-dialog>header button{width:26px;min-height:26px;padding:4px}.ct-form-body,.ct-simple-form{padding:20px}.ct-dialog label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#aab4c7;margin-bottom:14px}.ct-dialog input,.ct-dialog select,.ct-dialog textarea{width:100%}.ct-dialog textarea{resize:vertical}.ct-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.ct-wide{grid-column:1/-1}.ct-dialog fieldset{padding:0;border:0;margin:0;min-width:0}.ct-dialog legend{font-size:11px;color:#aab4c7;margin-bottom:6px}.ct-priority-options{display:flex;background:#1b2332;border-radius:4px;padding:2px}.ct-priority-options label{flex:1;position:relative;margin:0;cursor:pointer}.ct-priority-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.ct-priority-options span{padding:9px 4px;text-align:center;font-size:11px;border-radius:3px}.ct-priority-options input:checked+span{background:#8d6925;color:#fff}.ct-priority-options .high input:checked+span{background:#db3f55}.ct-priority-options .low input:checked+span{background:#306cae}.ct-priority-options input:focus-visible+span{outline:2px solid white}.ct-draft-row{display:flex;gap:8px;margin-bottom:8px}.ct-draft-row input{flex:1}.ct-draft-row button{width:30px;padding:6px;flex-shrink:0}.ct-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;background:#171e2c;border-top:1px solid #273043}.ct-simple-form footer{padding:14px 0 0;background:transparent}.ct-error{font-size:12px;color:#ff7c8a;margin:12px 0 0;overflow-wrap:anywhere}.ct-error:empty{display:none}
.ct-team-dialog{width:720px}.ct-permissions section{border-top:1px solid #293245;padding:12px 0}.ct-permissions h4{margin:0 0 9px}.ct-permissions section>div{display:flex;gap:14px;flex-wrap:wrap}.ct-dialog .ct-permissions label,.ct-dialog .ct-filter{flex-direction:row;align-items:center;margin:0;gap:6px}.ct-dialog .ct-filter{line-height:1.5;padding-bottom:14px}.ct-dialog input[type=checkbox]{width:14px}.ct-password-reset{display:flex;gap:12px;align-items:center;border-top:1px solid #293245;padding-top:16px}.ct-password-reset label{flex:1}.ct-password-reset button{flex-shrink:0}
body:not(.theme-dark) .ct-workspace,body:not(.theme-dark) .ct-dialog{--ct-panel:#fff;--ct-line:#d6deea;--ct-muted:#64728a;color:#1d293e}
body:not(.theme-dark) .ct-dialog{background:#f7f9fc;border-color:#d6deea}
body:not(.theme-dark) .ct-workspace button,body:not(.theme-dark) .ct-dialog button{background:#e8edf5;color:#34445e}
body:not(.theme-dark) .ct-workspace .ct-primary,body:not(.theme-dark) .ct-dialog .ct-primary,body:not(.theme-dark) .ct-segment .active{background:#0a9e78;color:#fff}
body:not(.theme-dark) .ct-workspace .ct-danger,body:not(.theme-dark) .ct-dialog .ct-danger{background:#fff0f2;color:#b72843;border-color:#dc8394}
body:not(.theme-dark) .ct-workspace .ct-title,body:not(.theme-dark) .ct-workspace .ct-back,body:not(.theme-dark) .ct-workspace .ct-link,body:not(.theme-dark) .ct-dialog .ct-link{background:transparent;color:#1b725f}
body:not(.theme-dark) .ct-workspace .ct-title{color:#1d293e}
body:not(.theme-dark) .ct-workspace input:not([type=checkbox]),body:not(.theme-dark) .ct-dialog input:not([type=checkbox]):not([type=radio]),body:not(.theme-dark) .ct-workspace select,body:not(.theme-dark) .ct-dialog select,body:not(.theme-dark) .ct-dialog textarea{background:#fff;border-color:#c8d2e1;color:#25344b;color-scheme:light}
body:not(.theme-dark) .ct-card{border-color:#d6deea}body:not(.theme-dark) .ct-segment,body:not(.theme-dark) .ct-table th,body:not(.theme-dark) .ct-bulk,body:not(.theme-dark) .ct-dialog footer{background:#eaf0f7}
body:not(.theme-dark) .ct-table td{background:#fff;border-color:#d6deea}body:not(.theme-dark) .ct-table tbody tr:hover td{background:#f2f7fb}
body:not(.theme-dark) .ct-filter,body:not(.theme-dark) .ct-description,body:not(.theme-dark) .ct-comments p,body:not(.theme-dark) .ct-dialog label,body:not(.theme-dark) .ct-dialog legend,body:not(.theme-dark) .ct-table th{color:#53647d}
body:not(.theme-dark) .ct-priority-options{background:#eaf0f7}body:not(.theme-dark) .ct-avatar{background:#dcf0ee;color:#246a64}
body:not(.theme-dark) .ct-status{background:#fff0c7;color:#826006}body:not(.theme-dark) .ct-status.done{background:#ddf5eb;color:#126c53}body:not(.theme-dark) .ct-status.overdue{background:#ffe5eb;color:#ac2540}
body:not(.theme-dark) .ct-error,body:not(.theme-dark) .ct-late{color:#bc2844!important}
.ct-workspace .ct-meta,.ct-workspace .ct-person,.ct-workspace .ct-templates,.ct-workspace .ct-templates button{font-size:12px}
.ct-dialog{position:fixed;inset:0;margin:auto}
.ct-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.ct-dialog>header{flex:none}
.ct-dialog>form{min-height:0;overflow:auto}
.ct-dialog>.ct-form-body{min-height:0;overflow:auto}
.ct-company-profile{padding:20px 0;margin-bottom:20px;border-top:1px solid var(--ct-line);border-bottom:1px solid var(--ct-line)}
.ct-company-profile dl{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;margin:12px 0}
.ct-company-profile dt{color:var(--ct-muted)}.ct-company-profile dd{margin:0;overflow-wrap:anywhere}
.ct-company-form{max-width:760px;margin-top:20px}.ct-company-form label{display:flex;flex-direction:column;gap:6px;margin-bottom:14px;font-size:13px}
.ct-company-form textarea{font:inherit;color:inherit;background:var(--ct-panel);border:1px solid var(--ct-line);border-radius:4px;padding:10px;resize:vertical}
.ct-company-form footer{display:flex;justify-content:flex-end;padding:12px 0}
.ct-dialog footer{position:sticky;bottom:0;z-index:1}
.ct-workspace .ct-title{font-size:14px;font-weight:600}
.ct-workspace .ct-column h3{font-size:13px}
.ct-workspace .ct-status{font-size:11px;font-weight:600}
.ct-dialog label,.ct-dialog legend{font-size:12px}
body.theme-dark .ct-workspace .ct-primary,body.theme-dark .ct-dialog .ct-primary,body.theme-dark .ct-segment button.active{background:#0ed6a0;color:#05271e;font-weight:700}
body.theme-dark .ct-workspace .ct-filter,body.theme-dark .ct-description,body.theme-dark .ct-comments p,body.theme-dark .ct-dialog label,body.theme-dark .ct-dialog legend,body.theme-dark .ct-table th{color:#c4cee0}
body.theme-dark .ct-empty,body.theme-dark .ct-checked{color:#a9b6cc}
body.theme-dark .ct-workspace input::placeholder,body.theme-dark .ct-dialog input::placeholder,body.theme-dark .ct-dialog textarea::placeholder{color:#a9b6cc;opacity:1}
body.theme-dark .ct-card{border-color:#3a4962}
body.theme-dark .ct-priority.high,body.theme-dark .ct-late{color:#ff8595!important}
body.theme-dark .ct-priority.normal{color:#ffd471}
body.theme-dark .ct-priority.low{color:#92baff}
body.theme-dark .ct-status{background:#4a3814;color:#ffda7c}
body.theme-dark .ct-status.done{background:#124b3d;color:#55efbe}
body.theme-dark .ct-status.overdue{background:#4d2333;color:#ff93a4}
body.theme-dark .ct-status.none,body.theme-dark .ct-status.later,body.theme-dark .ct-status.week{background:#253f65;color:#afceff}
@media(max-width:1100px){.ct-board{grid-template-columns:repeat(6,180px)}.ct-templates{margin-left:0}.ct-heading{align-items:flex-start}.ct-controls{justify-content:flex-end}.ct-detail{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:640px){.ct-workspace h2{font-size:20px}.ct-heading{flex-direction:column;gap:12px}.ct-controls{justify-content:flex-start;width:100%}.ct-toolbar{gap:10px}.ct-toolbar input[type=search]{width:100%}.ct-detail{grid-template-columns:1fr;gap:0}.ct-detail aside{grid-row:1}.ct-detail-title{align-items:flex-start}.ct-detail-title h2{font-size:18px}.ct-detail-actions{grid-template-columns:1fr 1fr;margin-bottom:22px}.ct-bulk{flex-wrap:wrap}.ct-bulk>div{flex-wrap:wrap}.ct-form-grid{grid-template-columns:1fr}.ct-form-body,.ct-simple-form{padding:16px}.ct-dialog>header{padding:14px 16px}.ct-dialog fieldset{margin-bottom:14px}.ct-password-reset{flex-direction:column;align-items:stretch}.ct-table{min-width:760px}#ct-comment-form{flex-wrap:wrap}.ct-detail dl{grid-template-columns:100px minmax(0,1fr)}}
