#app { background: #f5f5fb; color: #191c38; font-size: 15px; }
#app .sidebar { background: linear-gradient(155deg,#11172d,#211a3f); }
#app .sidebar-brand { padding-bottom: 30px; }
#app .nav-link { font-weight: 650; }
#app .nav-link.active { background: #3d3066; box-shadow: inset 3px 0 #b5a0ff; }
#app .topbar { border-color: #e8e7f1; }
#app .breadcrumbs { font-size: 13px; letter-spacing: 0; color: #626885; }
#app .main-content { padding: clamp(18px,4vw,42px); }
#app .section-head h1 { font-size: clamp(28px,4vw,42px); }
#app .section-head p, #app .muted, #app .job-row small { color: #626885; }
#app .eyebrow, #app .overline { color: #5d48b0; font-size: 11px; }
#app .stat-card, #app .panel { border: 1px solid #e6e4f0; border-radius: 20px; box-shadow: 0 8px 24px #20164108; padding: clamp(16px,2.5vw,27px); }
#app .stat-card { background: linear-gradient(140deg,#fff 60%,#f1ebff); }
#app .stat-number { color: #493397; }
#app .stat-bottom { color: #626885; }
#app .live-stats { flex-wrap: wrap; gap: 12px; }
#app .live-stats > div { flex: 1 1 150px; min-width: 0; background: #f5f2fd; }
#app .live-dot { display: inline-block; color: #176548; background: #e5f6ed; border-radius: 20px; padding: 5px 9px; }
#app .btn, #app .btn-small, #app .c360btn, #app .mgSmall { border-radius: 11px; min-height: 39px; transition: background .15s, box-shadow .15s; }
#app .btn.primary, #app .c360btn:not(.alt,.light) { background: #5940bc; color: #fff; box-shadow: 0 4px 12px #5940bc24; }
#app .btn.primary:hover, #app .c360btn:not(.alt,.light):hover { background: #453095; }
#app :focus-visible, dialog.c360-dialog :focus-visible, dialog:has(#mgBody) :focus-visible { outline: 2px solid #7754df; outline-offset: 3px; }
#app .job-row > div:first-child { flex: 1 1 245px; }
#app .job-row { gap: 8px; }
#app .job-row small { font-size: 13px; }
#app .job-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
#app .job-toolbar input, #app .job-toolbar select { padding: 11px 12px; border: 1px solid #dbd7ea; border-radius: 10px; background: white; color: inherit; }
#app .job-toolbar input { flex: 1 1 240px; min-width: 0; }
#app #jobFormWrap { max-width: none; }
#jobForm, #mgJobForm { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: end; }
#app #jobForm .field, #mgJobForm label { margin: 0 !important; }
#jobForm textarea, #mgJobForm textarea { min-height: 88px; resize: vertical; }
#jobForm .span-all, #mgJobForm .span-all { grid-column: 1 / -1; }
dialog:has(#c360Triagem), dialog:has(#mgBody) { color: #191c38; }
#c360Body .candidate-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); gap: 10px; margin: 16px 0; }
#c360Body .candidate-facts div { background: #f6f4fc; border-radius: 10px; padding: 10px; overflow-wrap: anywhere; }
#c360Body .candidate-facts dt { font-size: 13px; color: #514975; font-weight: 750; }
#c360Body .candidate-facts dd { margin: 5px 0 0; white-space: pre-line; }
@media (max-width: 600px) { #jobForm, #mgJobForm { grid-template-columns: 1fr; } #app .topbar { align-items: flex-start; } #app .stat-number { margin: 10px 0; } }
.workspace-location { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.back-button { white-space: nowrap; }
#app #jobFormWrap > .row { margin-bottom: 14px; }
#app #jobFormWrap > .row h3 { margin: 0; }
#app .dashboard-message { margin: 0 0 18px; padding: 14px 19px; background: #ede8fa; border-left: 4px solid #7658c5; border-radius: 12px; color: #3e2b73; }
#app .dashboard-message p { margin: 0; line-height: 1.6; }
#app .help-index { display: flex; flex-wrap: wrap; gap: 8px; }
#app .help-index a { padding: 9px 13px; border-radius: 10px; background: #ede8fa; color: #48338d; font-weight: 650; text-decoration: none; }
#app .help-index a:hover { text-decoration: underline; }
#app .help-panel { scroll-margin-top: 20px; line-height: 1.6; }
#app .help-panel h2 { margin-top: 0; font-size: 22px; }
#app .help-panel details { border-top: 1px solid #e6e4ef; }
#app .help-panel summary { padding: 14px 4px; color: #392976; font-weight: 700; cursor: pointer; }
#app .help-panel details > p { padding: 0 4px; }
#app .help-panel ol { padding-inline-start: 24px; }
#app .help-panel li + li { margin-top: 9px; }
#app .help-panel blockquote { margin: 0; padding: 12px 15px; background: #f5f2fd; border-radius: 10px; }
#app .workspace-dialog { width: min(480px,calc(100% - 28px)); max-height: 90dvh; padding: clamp(20px,5vw,36px); border: 1px solid #e2d8f6; border-radius: 22px; color: #211537; background: #fcfaff; box-shadow: 0 26px 90px #27144266; }
#app .workspace-dialog::backdrop { background: #1a123b9c; }
#app .workspace-dialog h2 { margin: 6px 0 12px; font-size: clamp(22px,4vw,32px); }
#app .workspace-dialog p { margin: 0 0 22px; line-height: 1.65; }
#app .training-lessons { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 14px; }
#app .training-lessons .panel { margin: 0; line-height: 1.6; }
#app .training-lessons h2 { margin-top: 0; font-size: 21px; }
#app .training-lessons a, #app .training-player a { display: inline-block; padding: 8px; color: #4e329c; }
#app .training-player { width: min(800px,calc(100% - 28px)); }
#app .training-player iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 12px; margin: 12px 0; background: #181329; }
#app .c360-page-size { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 650; }
#app .c360-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 15px; }
#app .c360-pagination[hidden] { display: none; }
#app .c360-pagination [aria-current="page"] { background: #5940bc; color: white; }
#app #c360List { scroll-margin-top: 14px; }
#app #productivityShortcut { margin: 0 0 16px; }
#app #productivityBrief:not(:empty) { display: inline-block; padding-left: 8px; font-weight: 500; }
#app #productivityPanel { scroll-margin-top: 14px; }
#app #productivityPanel input { border: 1px solid #dbd7ea; border-radius: 8px; padding: 8px; margin-left: 6px; }
#app .productivity-roster, #app .productivity-metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(180px,100%),1fr)); gap: 10px; }
#app .productivity-member { background: #f7f4fb; border: 1px solid #e0d7f1; border-radius: 12px; text-align: left; padding: 12px; color: #2b2045; }
#app .productivity-member[aria-pressed="true"] { border-color: #6246ba; background: #efe8ff; }
#app .productivity-member span { display: block; margin: 5px 0; }
#app .productivity-member progress { width: 100%; accent-color: #6246ba; }
#app .productivity-metrics div { padding: 10px; background: #f5f2fa; border-radius: 9px; }
#app .productivity-metrics dd { margin: 0; font-size: 22px; font-weight: 750; }
#app #productivityDetail:not(:empty) { margin-top: 24px; }
#app .productivity-preview { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
#app .productivity-preview[hidden] { display: none; }
