
.content-wrapper .content-header { padding:16px 24px 16px; }
body .callout, body blockquote, body .ql-editor blockquote { border-left:0; }
body .content-wrapper .alert { border:0; }
.content-wrapper .content-header h1 { font-size:1.4rem; font-weight:600; letter-spacing:-.025em; margin:0; }
.content-wrapper .content-header>.container-fluid>div { gap:16px; flex-wrap:wrap; }
.content-wrapper>.content { padding:0 24px 28px; }
body .content-wrapper .btn { min-height:38px; padding:8px 14px; border-radius:8px; font-size:.9375rem; line-height:1.3; box-shadow:none; }
body .content-wrapper .btn-sm { min-height:34px; padding:7px 11px; font-size:.875rem; }
body .content-wrapper .btn-group .btn { border-radius:0; }
body .content-wrapper .btn-group .btn:first-child { border-radius:8px 0 0 8px; }
body .content-wrapper .btn-group .btn:last-child { border-radius:0 8px 8px 0; }
body .content-wrapper .form-control:not(textarea), body .content-wrapper .custom-select { min-height:42px; height:42px; border-radius:8px; font-size:.9375rem; padding:8px 12px; }
body .content-wrapper label { font-size:.875rem; font-weight:600; margin-bottom:6px; color:var(--sys-muted); }
body .content-wrapper .card { border:0; border-radius:12px; box-shadow:none; background:var(--sys-panel); }
body .content-wrapper .card-header { padding:18px 20px; background:transparent; border-bottom:1px solid var(--sys-line); gap:12px; flex-wrap:wrap; }
body .content-wrapper .card-header.d-flex { justify-content:space-between; }
body .content-wrapper .card-header::after { display:none; }
body .content-wrapper .card-title { float:none; font-size:1rem; font-weight:600; }
body .content-wrapper .card-footer { border-top:1px solid var(--sys-line); background:transparent; padding:16px 20px; }
body .content-wrapper .table { font-size:.9375rem; margin:0; }
body .content-wrapper .table th { padding:14px 18px; font-size:.8rem; font-weight:600; color:var(--sys-muted); white-space:nowrap; }
body .content-wrapper .table td { padding:16px 18px; vertical-align:middle; border-color:var(--sys-line); }
body .content-wrapper .table td .btn { display:inline-flex; align-items:center; justify-content:center; min-width:34px; min-height:34px; padding:7px 9px; margin:2px; background:transparent; color:var(--sys-muted); border:1px solid var(--sys-line); }
body .content-wrapper .table td .btn:hover { color:var(--sys-hover); background:var(--sys-hover-bg); border-color:var(--sys-hover); }
body .content-wrapper .table td .btn-danger:hover { color:#dc5353; background:#dc535314; border-color:#dc5353; }
.cc-filter-bar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; padding:14px 16px; margin-bottom:16px; border:0; background:var(--sys-panel); border-radius:12px; }
.cc-filter-bar .form-group { margin:0; }
.cc-filter-bar>label,.cc-filter-bar>.form-group { flex:1 1 130px; min-width:0; margin:0; }
.cc-filter-bar>label:first-of-type,.cc-filter-bar>.form-group:first-of-type { flex:2 1 200px; }
.cc-filter-bar label { display:block; font-size:.75rem; font-weight:600; line-height:1.4; color:var(--sys-muted); margin-bottom:5px; }
.cc-filter-bar>label { margin-bottom:0; }
.cc-filter-bar>label>.form-control { margin-top:5px; }
body .content-wrapper .cc-filter-bar .form-control:not(textarea),body .content-wrapper .cc-filter-bar .custom-select { height:38px; min-height:38px; padding:7px 11px; border:1px solid var(--sys-line); background-color:var(--sys-panel); color:var(--sys-text); border-radius:8px; font-size:.875rem; }
body .content-wrapper .cc-filter-bar .btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:38px; height:38px; padding:7px 12px; line-height:1.4; font-size:.875rem; font-weight:500; white-space:nowrap; }
.cc-filter-bar>.cc-filter-actions { flex:0 0 auto; flex-wrap:nowrap; gap:8px; margin:0; }
.cc-filter-bar .cc-filter-actions .btn i { margin:0!important; }
@media(max-width:700px){.cc-filter-bar>label,.cc-filter-bar>.form-group,.cc-filter-bar>label:first-of-type,.cc-filter-bar>.form-group:first-of-type{flex:1 1 calc(50% - 12px)}.cc-filter-bar>.cc-filter-actions{flex:1 1 100%;justify-content:flex-end}}
@media(max-width:420px){.cc-filter-bar>label,.cc-filter-bar>.form-group,.cc-filter-bar>label:first-of-type,.cc-filter-bar>.form-group:first-of-type{flex-basis:100%}.cc-filter-bar>.cc-filter-actions>.btn{flex:1}}
.cc-project-location label { display:block; }
.cc-project-location { min-width:0; }

.cc-filter-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.cc-pagination { margin:20px 0; }
.cc-pagination nav { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; }
.cc-token-list { max-height:340px; overflow:auto; border:1px solid var(--sys-line); border-radius:10px; }
.cc-token-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px; border-bottom:1px solid var(--sys-line); }
.cc-token-row code { color:var(--sys-text); overflow-wrap:anywhere; }
.cc-theme-trigger { background:none; border:0; cursor:pointer; }
.cc-profile { display:grid; grid-template-columns:280px minmax(0,1fr); gap:24px; max-width:1240px; margin:auto; }
.cc-profile-summary { align-self:start; padding:28px; border:0; border-radius:14px; background:var(--sys-panel); text-align:center; }
.cc-profile-avatar { width:88px; height:88px; display:grid; place-items:center; object-fit:cover; border-radius:50%; margin:0 auto 18px; background:var(--sys-bg-soft); font-size:2rem; }
.cc-profile-summary h2 { font-size:1.25rem; font-weight:600; }
.cc-profile-summary p { color:var(--sys-muted); overflow-wrap:anywhere; }
.cc-profile-nav { display:flex; flex-direction:column; gap:8px; margin-top:24px; text-align:left; }
.cc-profile-nav a { padding:10px 12px; border-radius:8px; color:var(--sys-muted); }
.cc-profile-nav a:hover,.cc-profile-nav a.active { background:var(--sys-hover-bg); color:var(--sys-hover); }
.cc-profile .tab-content { min-width:0; }
.cc-profile .profile-photo-preview.is-missing { border:1px solid var(--sys-line); background:var(--sys-bg-soft); color:var(--sys-muted); }
.cc-profile .alert-warning { background:var(--sys-bg-soft); color:var(--sys-muted); border:0; }
.report-filter-form .form-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.report-filter-form .form-group { max-width:100%; width:100%; padding:0; margin:0; }
.report-filter-form details { margin-top:18px; }
.report-filter-form summary { color:var(--sys-muted); cursor:pointer; padding:8px 0; }
.report-filter-form .cc-filter-actions { margin-top:20px; }
.report-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; padding:22px; }
.report-kpi { padding:18px; border:0; border-radius:10px; background:var(--sys-bg-soft); }
.report-kpi .label { color:var(--sys-muted); font-size:.875rem; }
.report-kpi .value { font-size:1.9rem; font-weight:600; margin-top:8px; }
.report-completion { display:flex; flex-direction:column; gap:12px; padding:0 22px 22px; }
.report-completion progress { width:100%; height:10px; accent-color:#39b889; }
.cc-team-workload { margin:0 0 24px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.cc-team-workload article { display:flex; align-items:center; gap:12px; padding:18px; background:var(--sys-panel); border:0; border-radius:12px; }
.cc-team-workload img,.cc-team-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; display:grid; place-items:center; background:var(--sys-bg-soft); }
.cc-team-workload strong { display:block; font-size:.95rem; }
.cc-team-workload small { color:var(--sys-muted); }
.cc-supervisor-links { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
@media(max-width:1100px){.cc-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-team-workload{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.content-wrapper .content-header{padding:22px 12px 18px}.content-wrapper>.content{padding:0 12px 22px}.cc-profile{grid-template-columns:1fr}.cc-profile-nav{flex-direction:row;flex-wrap:wrap}.cc-profile-summary{padding:20px}.report-filter-form .form-row,.cc-filter-bar,.cc-team-workload{grid-template-columns:1fr}.content-wrapper .table{white-space:nowrap}}


body .content-wrapper .table .badge{font-size:.78rem;padding:5px 8px;border-radius:6px;font-weight:600}
body .content-wrapper .board-filter-wrap{padding:20px;border-radius:12px;background:var(--sys-panel);border:0}
body .content-wrapper .board-filter-label{text-transform:none;letter-spacing:normal;font-size:.875rem;font-weight:600;color:var(--sys-muted);margin-bottom:6px}
body .content-wrapper .board-filter-input-wrap .form-control{padding-left:38px}
.cc-project-primary{display:grid;grid-template-columns:minmax(220px,2fr) minmax(160px,1fr) minmax(150px,1fr) auto;align-items:end;gap:12px}.cc-project-advanced{margin-top:0;min-width:0}.cc-project-advanced summary{cursor:pointer;color:var(--sys-muted);padding:4px 0}.cc-project-filters{margin-top:12px}
.board-filter-wrap:has(.cc-project-primary){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px}
.board-filter-wrap .cc-project-primary{grid-column:1/-1}
body .content-wrapper .cc-project-primary label,body .content-wrapper .cc-project-filters label{margin:0;display:flex;flex-direction:column;gap:6px}
body .content-wrapper .cc-project-primary .board-filter-label,body .content-wrapper .cc-project-filters .board-filter-label{margin:0;line-height:18px;font-size:13px}
body .content-wrapper .cc-project-primary :is(.form-control,.btn){height:42px;min-height:42px;margin:0}
.cc-project-primary .board-filter-actions{display:flex;align-items:center;gap:8px}
.cc-project-filter-options{align-self:start;display:flex;align-items:center;min-height:30px}
.cc-project-filter-options:empty{display:none}
body .content-wrapper .cc-project-filter-options label{font-weight:400;margin:0;font-size:13px}
@media(max-width:700px){.board-filter-wrap:has(.cc-project-primary){grid-template-columns:minmax(0,1fr)}.cc-project-primary .board-filter-actions{flex-wrap:wrap}.cc-project-filter-options{grid-column:1}.cc-project-advanced{grid-column:1}}
.cc-profile .form-control-file::file-selector-button{border:1px solid var(--sys-line);background:var(--sys-bg-soft);color:var(--sys-text);border-radius:8px;padding:8px 12px;margin-right:10px;cursor:pointer}.cc-profile .form-control-file::file-selector-button:hover{background:var(--sys-hover-bg);color:var(--sys-hover)}
.report-completion progress{appearance:none;border:0;border-radius:8px;overflow:hidden;background:var(--sys-bg-soft)}.report-completion progress::-webkit-progress-bar{background:var(--sys-bg-soft)}.report-completion progress::-webkit-progress-value{background:#39b889;border-radius:8px}.report-completion progress::-moz-progress-bar{background:#39b889}
@media(max-width:1000px){.cc-project-primary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575px){.cc-project-primary{grid-template-columns:1fr}}

@media(min-width:1101px){.cc-user-filters{grid-template-columns:minmax(200px,2fr) repeat(4,minmax(100px,1fr)) auto}}

.cc-instruction-content { overflow-wrap:anywhere; line-height:1.7; }
.cc-instruction-content pre { padding:16px; background:var(--sys-bg-soft); color:var(--sys-text); border:1px solid var(--sys-line); border-radius:8px; white-space:pre-wrap; }
.cc-instruction-content blockquote { padding:8px 16px;  }
.cc-instruction-content h1,.cc-instruction-content h2,.cc-instruction-content h3 { font-size:1.2rem; }

body:is(.cc-theme-light,.cc-theme-dark) .modal .modal-content { background:var(--sys-panel) !important; color:var(--sys-text) !important; border:0 !important; border-radius:14px; box-shadow:0 20px 60px #00000029; }
body:is(.cc-theme-light,.cc-theme-dark) .modal .modal-header { background:var(--sys-bg-soft) !important; color:var(--sys-text); border-bottom:1px solid var(--sys-line) !important; padding:18px 22px; align-items:center; border-radius:14px 14px 0 0; }
body:is(.cc-theme-light,.cc-theme-dark) .modal .modal-footer { background:var(--sys-panel) !important; border-top:1px solid var(--sys-line) !important; padding:16px 22px; }
body:is(.cc-theme-light,.cc-theme-dark) .modal .modal-title { font-size:1.125rem; font-weight:600; color:var(--sys-text); }
body:is(.cc-theme-light,.cc-theme-dark) .modal .close { color:var(--sys-muted) !important; text-shadow:none; opacity:1; }
body:is(.cc-theme-light,.cc-theme-dark) .modal .form-control, body:is(.cc-theme-light,.cc-theme-dark) .modal .custom-select { background:var(--sys-panel) !important; color:var(--sys-text) !important; border:1px solid var(--sys-line) !important; border-radius:8px; min-height:40px; }
body:is(.cc-theme-light,.cc-theme-dark) .modal .btn { min-height:36px; padding:8px 12px; border-radius:8px; font-size:.875rem; line-height:1.3; box-shadow:none; }
body:is(.cc-theme-light,.cc-theme-dark) .modal .btn-outline-light { color:var(--sys-text); border-color:var(--sys-line); }
body:is(.cc-theme-light,.cc-theme-dark) .modal .btn-outline-light:hover { color:var(--sys-hover); background:var(--sys-hover-bg); }
body:is(.cc-theme-light,.cc-theme-dark) .modal .text-muted { color:var(--sys-muted) !important; }
.cc-page-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:.8rem; color:var(--sys-muted); margin-bottom:7px; }
.cc-page-breadcrumb a { color:var(--sys-muted); }
.cc-page-breadcrumb [aria-current] { color:var(--sys-text); font-weight:600; }
body .board-create-modal .board-create-tab.is-active { color:var(--sys-hover); background:var(--sys-hover-bg); border-color:var(--sys-hover-bg); }
body .board-create-modal .board-create-section { background:var(--sys-panel); border-color:var(--sys-line); padding:18px; }
body .board-create-modal .board-create-section-title { color:var(--sys-muted); font-size:.875rem; letter-spacing:0; text-transform:none; }

body .content-wrapper .table td .btn:is(.btn-warning,.btn-info,.btn-primary,.btn-success,.btn-danger) { background:transparent !important; color:var(--sys-text) !important; border:1px solid var(--sys-line) !important; }
body .content-wrapper .table td .btn:is(.btn-warning,.btn-info,.btn-primary,.btn-success):hover { background:var(--sys-hover-bg) !important; color:var(--sys-hover) !important; }
body .content-wrapper .table td .btn-danger:hover { color:var(--sys-danger) !important; background:#dc535314 !important; }

.cc-confirm-dialog { width:min(480px,calc(100vw - 32px)); padding:0; border:0; border-radius:14px; background:var(--sys-panel); color:var(--sys-text); box-shadow:0 20px 60px #00000033; }
.cc-confirm-dialog::backdrop { background:#17202d80; }
.cc-confirm-heading { display:flex; justify-content:space-between; align-items:center; padding:18px 22px; background:var(--sys-bg-soft); border-bottom:1px solid var(--sys-line); }
.cc-confirm-heading h2 { font-size:1.125rem; margin:0; font-weight:600; }
.cc-confirm-heading .close { color:var(--sys-muted); opacity:1; text-shadow:none; }
.cc-confirm-message { padding:22px; margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.cc-confirm-actions { display:flex; justify-content:flex-end; gap:10px; padding:16px 22px; border-top:1px solid var(--sys-line); }
.cc-confirm-actions .btn { min-height:36px; padding:8px 14px; border-radius:8px; font-size:.875rem; }

.board-create-existing { margin-bottom:16px; }
.board-create-existing summary { padding:8px 0; cursor:pointer; font-size:.875rem; color:var(--sys-muted); }
body .board-create-modal .board-create-tabs { grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); }
body:is(.cc-theme-light,.cc-theme-dark) .modal .modal-footer .btn-secondary { background:transparent; color:var(--sys-text); border:1px solid var(--sys-line); }
body:is(.cc-theme-light,.cc-theme-dark) .modal .modal-footer .btn-secondary:hover { background:var(--sys-bg-soft); color:var(--sys-hover); }

:root { --cc-heading-size:1.4rem; --cc-checker-base:#ffffff; --cc-checker-square:#e5e9ef; }
html[data-theme="dark"] { --cc-checker-base:#303b48; --cc-checker-square:#414d5c; }
body .content-wrapper :is(.content-header,.cc-project-heading,.cc-project-header,.sl-heading) h1 { font-size:var(--cc-heading-size) !important; font-weight:600 !important; margin:0 !important; line-height:1.35; }
body .content-wrapper .content h1 { font-size:var(--cc-heading-size) !important; line-height:1.35; margin-bottom:16px; }
body .wrapper .content-wrapper > .content-header { padding-top:10px !important; padding-bottom:16px !important; margin-top:0; }
body .content-wrapper .sl-heading { padding:0; }
body .badge { border:0; border-radius:6px; font-weight:600; }
body .badge:is(.badge-success,.bg-success) { background:light-dark(#e5f5ee,#23463c) !important; color:light-dark(#237653,#8cdbb9) !important; }
body .badge:is(.badge-danger,.bg-danger) { background:light-dark(#fcecea,#4b3035) !important; color:light-dark(#ae4945,#f2aaa6) !important; }
body .badge:is(.badge-warning,.bg-warning) { background:light-dark(#fff4db,#4a3e29) !important; color:light-dark(#906814,#e8cd89) !important; }
body .badge:is(.badge-info,.bg-info) { background:light-dark(#e7f4f6,#243f49) !important; color:light-dark(#277e8c,#91ceda) !important; }
body .badge:is(.badge-primary,.bg-primary) { background:light-dark(#edf2f9,#303f54) !important; color:light-dark(#416890,#afc7e0) !important; }
body .badge:is(.badge-secondary,.bg-secondary) { background:var(--sys-bg-soft) !important; color:var(--sys-muted) !important; }
body :is(.cc-checkerboard,.img-converter-preview-btn,.img-svg-preview-wrap,.kanban-cover,.kanban-cover-wrap,.kanban-block-editor-cover-preview,.cfg-logo-preview,#ds-capa-wrap,#ds-capa,#imagePreviewModalImg,#svgEditorPreview,.img-converter-thumb,.kanban-cover-img,.kanban-cover-preview-image,.img-preview-modal-img,.img-svg-editor-preview,.svg-editor-library-thumb,.kanban-block-editor-cover-preview img,.be-ai-reference img,.cv-thumbnail img,.cv-report-thumbnail img,.site-builder-cover img,.site-builder-source img,.site-builder-comparison img,.site-builder-lightbox-reference-viewport img,.site-builder-lightbox-image,.site-builder-similarity-scan-image img,.site-builder-similarity-target-preview img,.site-builder-similarity-match img) {
    background-color:var(--cc-checker-base) !important;
    background-image:conic-gradient(var(--cc-checker-square) 25%,transparent 0 50%,var(--cc-checker-square) 0 75%,transparent 0) !important;
    background-size:16px 16px !important;
}
body .modal .badge { font-size:.78rem; padding:5px 8px; }

.cc-file-picker { position: relative; display: flex; align-items: center; gap: .75rem; min-width: 0; }
.cc-file-picker > input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.cc-file-picker > .btn { flex-shrink: 0; }
.cc-file-picker-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cc-file-picker:focus-within { outline: 2px solid var(--sys-primary); outline-offset: 3px; border-radius: .5rem; }
.cc-file-picker:has(input:disabled) { opacity: .6; }
.cc-file-picker:has(input.is-invalid) { outline: 1px solid var(--danger, #dc3545); border-radius: .5rem; }
.cc-project-location label { display:block; width:100%; }
.cc-project-location .cc-location-coordinates { margin:0 0 16px; }
.cc-project-location .cc-location-coordinates summary { cursor:pointer; color:var(--sys-muted); margin-bottom:12px; }
