
body:not(.portfolio-mode) {font-family: Inter,Arial,sans-serif; color: #25272b; background: #f4f5f7; font-size: 16px; --red: #c91420; --muted: #656b75; --line: #e3e5e9;}
body:not(.portfolio-mode) * {box-sizing: border-box;}
body:not(.portfolio-mode) {margin: 0;}
body:not(.portfolio-mode) button,body:not(.portfolio-mode) input,body:not(.portfolio-mode) select,body:not(.portfolio-mode) textarea {font: inherit;}
body:not(.portfolio-mode) button,body:not(.portfolio-mode) a,body:not(.portfolio-mode) select {cursor: pointer;}
body:not(.portfolio-mode) button {background: white; border: 1px solid #d9dde2; border-radius: 7px; padding: 9px 13px; color: inherit; font-size: .875rem; font-weight: 600;}
body:not(.portfolio-mode) button:hover {background: #f2f3f5; border-color: #9ba1aa;}
body:not(.portfolio-mode) button:focus-visible,body:not(.portfolio-mode) input:focus-visible,body:not(.portfolio-mode) select:focus-visible,body:not(.portfolio-mode) a:focus-visible {outline: 3px solid #276bba; outline-offset: 3px;}
body:not(.portfolio-mode) .primary {background: var(--red); color: white; border-color: var(--red);}
body:not(.portfolio-mode) .primary:hover {background: #a6101a; color: white;}
body:not(.portfolio-mode) .shell {display: grid; grid-template-columns: 228px minmax(0,1fr); min-height: 100vh;}
body:not(.portfolio-mode) .sidebar {background: #fff; border-right: 1px solid var(--line); padding: 30px 18px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh;}
body:not(.portfolio-mode) .brand {font-size: 2.1rem; font-weight: 800; letter-spacing: -2px; color: #74777a; padding: 0 14px;}
body:not(.portfolio-mode) .brand b {color: #df1824;}
body:not(.portfolio-mode) .centre {margin: 26px 10px 20px; padding: 12px; background: #f5f6f8; border: 1px solid var(--line); border-radius: 8px; font-size: .875rem; font-weight: 600;}
body:not(.portfolio-mode) .centre small {display: block; color: var(--muted); font-weight: 400; margin-top: 5px;}
body:not(.portfolio-mode) .nav {display: grid; gap: 5px;}
body:not(.portfolio-mode) .nav button {text-align: left; border: none; background: none; padding: 12px 14px; color: #646971; font-weight: 500; display: flex; gap: 12px; align-items: center;}
body:not(.portfolio-mode) .nav button.active {background: #fcecee; color: #b6121c; font-weight: 700;}
body:not(.portfolio-mode) .nav svg {width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7;}
body:not(.portfolio-mode) .sidebottom {margin-top: auto; border-top: 1px solid var(--line); padding: 20px 10px 0; font-size: .875rem;}
body:not(.portfolio-mode) .avatar {display: inline-grid; place-items: center; width: 38px; height: 38px; background: #eceef2; border-radius: 50%; font-weight: 700; color: #535a64; margin-right: 9px; vertical-align: middle;}
body:not(.portfolio-mode) .sidebottom small {color: var(--muted);}
body:not(.portfolio-mode) .topbar {background: white; border-bottom: 1px solid var(--line); padding: 18px 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px;}
body:not(.portfolio-mode) .search {background: #f6f7f9; border: 1px solid var(--line); border-radius: 7px; padding: 10px 14px; max-width: 390px; width: 100%; font-size: .875rem;}
body:not(.portfolio-mode) .topbar select {padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: .875rem;}
body:not(.portfolio-mode) .demo {background: #282c34; color: #fff; padding: 9px 32px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .8rem;}
body:not(.portfolio-mode) .demo button {background: none; color: white; padding: 3px 8px; font-size: .75rem; border-color: #69707d;}
body:not(.portfolio-mode) .content {padding: 30px 32px; max-width: 1600px; margin: auto;}
body:not(.portfolio-mode) .eyebrow {font-size: .75rem; text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700; color: var(--muted);}
body:not(.portfolio-mode) h1 {font-size: 1.85rem; letter-spacing: -1px; margin: 7px 0 9px;}
body:not(.portfolio-mode) h2 {font-size: 1.03rem; margin: 0;}
body:not(.portfolio-mode) h3 {font-size: 1rem; margin: 0 0 8px;}
body:not(.portfolio-mode) .muted {color: var(--muted); font-size: .875rem; line-height: 1.6;}
body:not(.portfolio-mode) .heading {display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 26px;}
body:not(.portfolio-mode) .heading p {margin: 0;}
body:not(.portfolio-mode) .metrics {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin-bottom: 24px;}
body:not(.portfolio-mode) .metric {background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 21px; text-align: left; position: relative;}
body:not(.portfolio-mode) .metric .value {font-size: 2rem; font-weight: 700; letter-spacing: -1px; display: block; margin: 12px 0 9px;}
body:not(.portfolio-mode) .metric .label {font-size: .875rem; color: #535a64;}
body:not(.portfolio-mode) .metric .sub {font-size: .8rem; color: var(--muted);}
body:not(.portfolio-mode) .metric.accent {border-top: 3px solid var(--red); padding-top: 19px;}
body:not(.portfolio-mode) .grid {display: grid; grid-template-columns: minmax(0,1.8fr) minmax(280px,1fr); gap: 22px; margin-bottom: 24px;}
body:not(.portfolio-mode) .panel {background: white; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;}
body:not(.portfolio-mode) .panelhead {padding: 21px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px;}
body:not(.portfolio-mode) .panelbody {padding: 22px;}
body:not(.portfolio-mode) .tabs {display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 20px;}
body:not(.portfolio-mode) .tabs button {background: transparent; border-color: transparent; color: var(--muted);}
body:not(.portfolio-mode) .tabs button.active {background: #fff; border-color: var(--line); color: #24272c;}
body:not(.portfolio-mode) .task {padding: 17px 22px; border-bottom: 1px solid #f0f1f3; display: flex; gap: 13px; align-items: center;}
body:not(.portfolio-mode) .task:last-child {border: 0;}
body:not(.portfolio-mode) .taskicon {width: 35px; height: 35px; display: grid; place-items: center; background: #f5f6f8; border-radius: 8px; flex-shrink: 0; color: #626975;}
body:not(.portfolio-mode) .taskmain {flex: 1; min-width: 0;}
body:not(.portfolio-mode) .taskmain strong {font-size: .875rem; display: block; margin-bottom: 5px;}
body:not(.portfolio-mode) .taskmain small {color: var(--muted); font-size: .8rem;}
body:not(.portfolio-mode) .badge {display: inline-block; padding: 5px 8px; border-radius: 5px; background: #eff1f4; color: #47505c; font-size: .75rem; font-weight: 600; white-space: nowrap;}
body:not(.portfolio-mode) .badge.urgent {background: #fff0f1; color: #aa1220;}
body:not(.portfolio-mode) .badge.good {background: #eaf1fa; color: #285684;}
body:not(.portfolio-mode) .barrow {margin-bottom: 19px;}
body:not(.portfolio-mode) .barlabel {display: flex; justify-content: space-between; font-size: .875rem; margin-bottom: 9px;}
body:not(.portfolio-mode) .track {height: 7px; border-radius: 10px; background: #eceef1; overflow: hidden;}
body:not(.portfolio-mode) .fill {background: #777f8c; height: 100%; border-radius: 10px;}
body:not(.portfolio-mode) .fill.red {background: var(--red);}
body:not(.portfolio-mode) .notice {padding: 18px; background: #f7f8fa; border-left: 3px solid #667183; border-radius: 4px; margin-top: 20px;}
body:not(.portfolio-mode) .notice p {font-size: .875rem; line-height: 1.6;}
body:not(.portfolio-mode) .tablewrap {overflow-x: auto;}
body:not(.portfolio-mode) table {width: 100%; border-collapse: collapse; font-size: .875rem; text-align: left;}
body:not(.portfolio-mode) th {background: #fafbfc; font-size: .75rem; font-weight: 600; color: #616974; padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap;}
body:not(.portfolio-mode) td {padding: 17px 18px; border-bottom: 1px solid #eff0f3; vertical-align: middle;}
body:not(.portfolio-mode) td small {display: block; color: var(--muted); margin-top: 5px; font-size: .75rem;}
body:not(.portfolio-mode) tr:last-child td {border-bottom: 0;}
body:not(.portfolio-mode) .link {border: 0; background: transparent; padding: 0; text-align: left; color: #24272c; font-weight: 600;}
body:not(.portfolio-mode) .link:hover {color: var(--red); background: none;}
body:not(.portfolio-mode) .filters {display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px;}
body:not(.portfolio-mode) .filters select {background: white; border: 1px solid var(--line); border-radius: 7px; padding: 9px; font-size: .875rem;}
body:not(.portfolio-mode) .empty {padding: 38px; text-align: center; color: var(--muted);}
body:not(.portfolio-mode) .timeline {border-left: 2px solid #e6e8ed; margin: 5px 0 0 7px; padding-left: 23px;}
body:not(.portfolio-mode) .event {margin: 0 0 23px; position: relative; font-size: .875rem; line-height: 1.6;}
body:not(.portfolio-mode) .event:before {content: ''; position: absolute; left: -29px; top: 6px; border: 3px solid white; background: #8a929e; width: 9px; height: 9px; border-radius: 50%;}
body:not(.portfolio-mode) .event small {display: block; color: var(--muted); font-size: .75rem;}
body:not(.portfolio-mode) .formgrid {display: grid; grid-template-columns: 1fr 1fr; gap: 16px;}
body:not(.portfolio-mode) label {display: block; font-size: .875rem; font-weight: 600;}
body:not(.portfolio-mode) label input,body:not(.portfolio-mode) label select,body:not(.portfolio-mode) label textarea {display: block; margin-top: 7px; width: 100%; padding: 10px; border: 1px solid #cdd2d9; border-radius: 6px; background: white; font-weight: 400;}
body:not(.portfolio-mode) textarea {min-height: 95px; resize: vertical;}
body:not(.portfolio-mode) .full {grid-column: 1/-1;}
body:not(.portfolio-mode) .actions {display: flex; gap: 10px; flex-wrap: wrap;}
body:not(.portfolio-mode) .checkrow {display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); gap: 12px; font-size: .875rem;}
body:not(.portfolio-mode) .checkrow label {display: flex; align-items: center; gap: 10px; font-weight: 500;}
body:not(.portfolio-mode) .checkrow input {width: 19px; height: 19px; margin: 0; accent-color: var(--red);}
body:not(.portfolio-mode) .detailtop {background: white; border: 1px solid var(--line); border-radius: 10px; padding: 23px; margin-bottom: 24px;}
body:not(.portfolio-mode) .detailtop .tags {display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;}
body:not(.portfolio-mode) .statline {display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);}
body:not(.portfolio-mode) .statline span {font-size: .875rem;}
body:not(.portfolio-mode) .statline small {display: block; color: var(--muted); margin-bottom: 7px;}
body:not(.portfolio-mode) .monthchart {height: 170px; display: flex; align-items: flex-end; gap: 15px; padding: 10px 0 25px;}
body:not(.portfolio-mode) .monthcol {flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 7px; font-size: .75rem; color: var(--muted);}
body:not(.portfolio-mode) .monthbar {width: 70%; background: #afb5be; border-radius: 4px 4px 0 0; min-height: 3px;}
body:not(.portfolio-mode) .monthcol:last-child .monthbar {background: var(--red);}
body:not(.portfolio-mode) dialog {border: 0; border-radius: 12px; box-shadow: 0 25px 90px #0004; width: min(620px,94vw); padding: 26px; max-height: 90vh; overflow: auto;}
body:not(.portfolio-mode) dialog::backdrop {background: #19213088;}
body:not(.portfolio-mode) dialog h2 {font-size: 1.3rem; margin-bottom: 20px;}
body:not(.portfolio-mode) dialog .actions {justify-content: flex-end; margin-top: 22px;}
body:not(.portfolio-mode) #toast {position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: #272d36; color: white; padding: 13px 22px; border-radius: 8px; display: none; z-index: 20; font-size: .875rem;}
body:not(.portfolio-mode) .resources {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px;}
body:not(.portfolio-mode) .resource {padding: 24px;}
body:not(.portfolio-mode) .resource .badge {margin-bottom: 18px;}
body:not(.portfolio-mode) .resource p {min-height: 42px;}
body:not(.portfolio-mode) .reportnote {margin: 18px 0; font-size: .8rem; color: var(--muted);}
@media (max-width:1050px){body:not(.portfolio-mode) .shell {grid-template-columns: 185px 1fr;}
body:not(.portfolio-mode) .content {padding: 23px 20px;}
body:not(.portfolio-mode) .sidebar {padding: 24px 10px;}
body:not(.portfolio-mode) .grid {grid-template-columns: 1fr;}
body:not(.portfolio-mode) .metrics {grid-template-columns: repeat(2,1fr);}
body:not(.portfolio-mode) .topbar {padding: 16px 20px;}
body:not(.portfolio-mode) .demo {padding: 9px 20px;}}
@media (max-width:650px){body:not(.portfolio-mode) .shell {display: block;}
body:not(.portfolio-mode) .sidebar {position: static; height: auto; padding: 12px;}
body:not(.portfolio-mode) .brand {font-size: 1.7rem;}
body:not(.portfolio-mode) .centre,body:not(.portfolio-mode) .sidebottom {display: none;}
body:not(.portfolio-mode) .nav {display: flex; overflow-x: auto; margin-top: 12px;}
body:not(.portfolio-mode) .nav button {white-space: nowrap; padding: 9px;}
body:not(.portfolio-mode) .nav svg {display: none;}
body:not(.portfolio-mode) .topbar {flex-wrap: wrap; padding: 12px;}
body:not(.portfolio-mode) .search {max-width: none;}
body:not(.portfolio-mode) .content {padding: 20px 12px;}
body:not(.portfolio-mode) .heading {align-items: flex-start; flex-wrap: wrap;}
body:not(.portfolio-mode) .metrics {gap: 10px;}
body:not(.portfolio-mode) .metric {padding: 15px;}
body:not(.portfolio-mode) .metric .value {font-size: 1.6rem;}
body:not(.portfolio-mode) .resources,body:not(.portfolio-mode) .formgrid {grid-template-columns: 1fr;}
body:not(.portfolio-mode) .full {grid-column: auto;}
body:not(.portfolio-mode) .statline {grid-template-columns: 1fr 1fr;}
body:not(.portfolio-mode) .task {padding: 15px 12px;}
body:not(.portfolio-mode) .task .badge {display: none;}
body:not(.portfolio-mode) .demo {font-size: .75rem; padding: 8px 12px;}
body:not(.portfolio-mode) h1 {font-size: 1.5rem;}
body:not(.portfolio-mode) .panelhead {padding: 18px;}
body:not(.portfolio-mode) .task button {padding: 8px;}
body:not(.portfolio-mode) .topbar label {font-size: .8rem;}}
@media print{body:not(.portfolio-mode) .sidebar,body:not(.portfolio-mode) .topbar,body:not(.portfolio-mode) .demo,body:not(.portfolio-mode) .actions,body:not(.portfolio-mode) .filters,body:not(.portfolio-mode) .tabs,body:not(.portfolio-mode) button,body:not(.portfolio-mode) #toast {display: none !important;}
body:not(.portfolio-mode) .shell {display: block;}
body:not(.portfolio-mode) .content {padding: 0; max-width: none;}
body:not(.portfolio-mode) .panel {break-inside: avoid;}
body:not(.portfolio-mode) {background: white;}
body:not(.portfolio-mode) .grid {display: block;}
body:not(.portfolio-mode) .panel {margin-bottom: 20px;}
body:not(.portfolio-mode) table {font-size: 10pt;}}
body:not(.portfolio-mode) .targetheadline {display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px;}
body:not(.portfolio-mode) .targetnumber {font-size: 2.35rem; font-weight: 700; letter-spacing: -1.4px; margin: 9px 0 12px;}
body:not(.portfolio-mode) .targetside {text-align: right;}
body:not(.portfolio-mode) .targetside strong {display: block; font-size: 1.2rem; margin-bottom: 5px;}
body:not(.portfolio-mode) .targetside span {display: block;}
body:not(.portfolio-mode) .commissionbox {display: flex; justify-content: space-between; align-items: center; gap: 15px; background: #f7f8fa; border: 1px solid var(--line); border-radius: 8px; padding: 18px; margin-top: 25px;}
body:not(.portfolio-mode) .commissionbox h2 {font-size: 1.3rem; margin-top: 8px;}
@media (max-width:650px){body:not(.portfolio-mode) .commissionbox {align-items: flex-start; flex-direction: column;}
body:not(.portfolio-mode) .targetnumber {font-size: 1.9rem;}}
body:not(.portfolio-mode) .activitytext {white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0;}
body:not(.portfolio-mode) .event button {margin-top: 8px;}
body:not(.portfolio-mode) .event details {margin-top: 10px;}
body:not(.portfolio-mode) .event small {display: block;}
body:not(.portfolio-mode) #iqa-form .panel {margin-top: 20px;}
body:not(.portfolio-mode) .iqa-checks {display: grid; grid-template-columns: 1fr 1fr; gap: 18px;}
body:not(.portfolio-mode) .iqa-matrix-row {display: grid; grid-template-columns: 1fr 180px 1.2fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #ddd; align-items: center;}
body:not(.portfolio-mode) .iqa-matrix-row textarea {min-height: 65px;}
body:not(.portfolio-mode) .iqa-footer {margin-top: 24px;}
body:not(.portfolio-mode) #iqa-error {color: #a50e19; font-weight: 600;}
body:not(.portfolio-mode) .iqa-report table {width: 100%; border-collapse: collapse;}
body:not(.portfolio-mode) .iqa-report td,body:not(.portfolio-mode) .iqa-report th {border: 1px solid #ddd; padding: 10px; vertical-align: top;}
body:not(.portfolio-mode) .iqa-report h2 {margin-top: 25px;}
body:not(.portfolio-mode) #iqa-print {display: none;}
@media (max-width:800px){body:not(.portfolio-mode) .iqa-matrix-row,body:not(.portfolio-mode) .iqa-checks {grid-template-columns: 1fr;}}
@media print{body:not(.portfolio-mode).printing-iqa>* {display: none !important;}
body:not(.portfolio-mode).printing-iqa>#iqa-print {display: block !important; font: 10pt Arial; color: #111;}
body:not(.portfolio-mode) .iqa-report h2 {break-after: avoid;}
body:not(.portfolio-mode) .iqa-report tr,body:not(.portfolio-mode) .iqa-report .notice {break-inside: avoid;}
body:not(.portfolio-mode) .iqa-report table {table-layout: fixed;}
body:not(.portfolio-mode) .iqa-report td {overflow-wrap: anywhere;}
body:not(.portfolio-mode) .iqa-report thead {display: table-header-group;}
body:not(.portfolio-mode) @page {size: A4; margin: 15mm;}}
body:not(.portfolio-mode) #iqa-form select.needs-review {border: 2px solid #b01426; background: #fff6f6;}
body:not(.portfolio-mode) .review-hint {display: block; color: #9b1222; font-weight: 600; font-size: 12px; margin-top: 5px;}
body:not(.portfolio-mode) .unit-remove {display: inline-flex; gap: 6px; align-items: center; justify-self: start; margin-bottom: 15px;}
body:not(.portfolio-mode) #iqa-form input.needs-review {border: 2px solid #b01426; background: #fff6f6;}
body:not(.portfolio-mode) #completion-today {margin-top: 8px;}
body:not(.portfolio-mode) .iqa-date-field {min-width: 0;}
body:not(.portfolio-mode) .iqa-date-actions {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; align-items: center;}
body:not(.portfolio-mode) #iqa-form .iqa-date-actions button {margin-top: 0;}
body:not(.portfolio-mode) .iqa-date-field .review-hint {min-height: 18px;}
body:not(.portfolio-mode) .brand img {display: block; width: 172px; max-width: 100%; height: auto;}
body:not(.portfolio-mode) .filters {align-items: center;}
body:not(.portfolio-mode) .filters select {height: 40px; box-sizing: border-box; align-self: center;}
body:not(.portfolio-mode) .filters label {display: flex; flex-direction: column; gap: 6px;}
body:not(.portfolio-mode) .dashboard-greeting {display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 22px; padding: 0 0 16px; border-bottom: 1px solid var(--line); font-size: 1rem;}
body:not(.portfolio-mode) .dashboard-greeting strong {font-size: 1.2rem; color: #28313d; font-weight: 700;}
body:not(.portfolio-mode) .dashboard-greeting span {color: #616b7a;}
body:not(.portfolio-mode) .dashboard-greeting {justify-content: space-between;}
body:not(.portfolio-mode) .dashboard-greeting .last-login {margin-left: auto; text-align: right; font-size: .875rem;}
body:not(.portfolio-mode) .last-login small {font-size: .75rem; color: #677182;}
@media (max-width:650px){body:not(.portfolio-mode) .dashboard-greeting .last-login {margin-left: 0; text-align: left; width: 100%;}}
body:not(.portfolio-mode) .sales-focus-grid {grid-template-columns: minmax(0,1fr) minmax(0,1.25fr);}
body:not(.portfolio-mode) .forecast-focus {border: 1px solid #d9b9bd; border-top: 4px solid var(--red); box-shadow: 0 4px 16px rgba(35,40,50,.06);}
body:not(.portfolio-mode) .forecast-focus .panelhead {background: #fff5f5;}
body:not(.portfolio-mode) .forecast-focus .panelhead h2 {font-size: 1.2rem;}
body:not(.portfolio-mode) .forecast-focus .targetnumber {font-size: clamp(2.5rem,4vw,3.5rem); font-weight: 800; color: #a6101b; letter-spacing: -1.5px; margin: 12px 0 18px;}
body:not(.portfolio-mode) .forecast-focus .eyebrow {font-weight: 600;}
@media (max-width:900px){body:not(.portfolio-mode) .sales-focus-grid {grid-template-columns: minmax(0,1fr);}
body:not(.portfolio-mode) .sales-focus-grid .forecast-focus {order: -1;}}
body:not(.portfolio-mode) .today-completed {padding: 16px 20px; border-top: 1px solid var(--line);}
body:not(.portfolio-mode) .today-completed summary {cursor: pointer; font-weight: 600;}
body:not(.portfolio-mode) .task .actions {flex-wrap: wrap; justify-content: flex-end;}
body:not(.portfolio-mode) .taskmain .link {font-size: inherit;}
body:not(.portfolio-mode) .content>.panel {margin-bottom: 22px;}
@media (max-width:650px){body:not(.portfolio-mode) .task {flex-wrap: wrap;}
body:not(.portfolio-mode) .task .actions {width: 100%; justify-content: flex-start;}}
body:not(.portfolio-mode) .metrics.sales-overview-metrics {grid-template-columns: repeat(4,minmax(0,1fr));}
@media (max-width:1000px){body:not(.portfolio-mode) .metrics.sales-overview-metrics {grid-template-columns: repeat(2,minmax(0,1fr));}}
@media (max-width:600px){body:not(.portfolio-mode) .metrics.sales-overview-metrics {grid-template-columns: minmax(0,1fr);}}
body:not(.portfolio-mode) .metrics.sales-overview-metrics {grid-template-columns: repeat(3,minmax(0,1fr));}
@media (max-width:1000px){body:not(.portfolio-mode) .metrics.sales-overview-metrics {grid-template-columns: repeat(2,minmax(0,1fr));}}
@media (max-width:600px){body:not(.portfolio-mode) .metrics.sales-overview-metrics {grid-template-columns: minmax(0,1fr);}}
body:not(.portfolio-mode) .page-back {display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 15px; border: 1px solid #cbd0d8; background: #fff; color: #303946; white-space: nowrap; box-shadow: 0 1px 2px rgba(30,40,50,.04);}
body:not(.portfolio-mode) .page-back:hover {background: #f0f2f5; border-color: #919aa7;}
body:not(.portfolio-mode) .heading>.actions {margin-left: auto; justify-content: flex-end; flex-wrap: wrap;}
body:not(.portfolio-mode) .taskmain {min-width: 0;}
body:not(.portfolio-mode) .taskmain>strong {display: block; line-height: 1.5;}
body:not(.portfolio-mode) .task-summary {display: block; margin-top: 6px; font-size: .875rem; line-height: 1.6; color: var(--muted); overflow-wrap: anywhere;}
body:not(.portfolio-mode) .task-summary .link {padding: 0; line-height: inherit; vertical-align: baseline;}
body:not(.portfolio-mode) .task-summary span {font-weight: 400;}
body:not(.portfolio-mode) .company-context {background: #f6f7f9; border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin: 20px 0;}
body:not(.portfolio-mode) .company-context p {font-size: .875rem; line-height: 1.5; margin: 8px 0;}
body:not(.portfolio-mode) .company-assessors {list-style: none; padding: 0; margin: 20px 0;}
body:not(.portfolio-mode) .company-assessors li {display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; align-items: center; line-height: 1.5; font-size: .875rem; border-bottom: 1px solid var(--line);}
body:not(.portfolio-mode) .company-assessors span {color: var(--muted);}
body:not(.portfolio-mode) .company-history {margin-top: 20px;}
body:not(.portfolio-mode) .company-history summary {cursor: pointer; font-size: .875rem; font-weight: 600; padding: 6px 0;}
body:not(.portfolio-mode) .company-history table {min-width: 420px; font-size: .8rem;}
body:not(.portfolio-mode) .company-history th,body:not(.portfolio-mode) .company-history td {padding: 10px 8px;}
body:not(.portfolio-mode) .company-counts {margin: 18px 0; display: grid; gap: 8px; max-width: 420px;}
body:not(.portfolio-mode) .company-counts>div {display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #e5e7eb; padding-bottom: 8px;}
body:not(.portfolio-mode) .company-counts dt {font-weight: 500;}
body:not(.portfolio-mode) .company-counts dd {margin: 0; font-weight: 700;}
body:not(.portfolio-mode) .lead-actions {margin: 20px 0; flex-wrap: wrap;}
body:not(.portfolio-mode) .tablewrap td small {display: block; margin-top: 6px; line-height: 1.5;}
body:not(.portfolio-mode) .tablewrap td {vertical-align: top;}
body:not(.portfolio-mode) .company-live-badge {background: #e7f5ed; color: #166534;}
body:not(.portfolio-mode) .company-context .company-counts {margin-bottom: 0;}
body:not(.portfolio-mode) .company-context .company-assessors + .company-history {margin-top: 0;}
body:not(.portfolio-mode) .company-context .company-counts {max-width: none;}
body:not(.portfolio-mode) .company-assessor-summary {width: 100%; margin: 20px 0; border-collapse: collapse; font-size: .875rem; table-layout: fixed;}
body:not(.portfolio-mode) .company-assessor-summary th,body:not(.portfolio-mode) .company-assessor-summary td {padding: 10px 0; line-height: 1.5; text-align: left; border-bottom: 1px solid var(--line);}
body:not(.portfolio-mode) .company-assessor-summary th {background: transparent; color: var(--muted); font-weight: 600;}
body:not(.portfolio-mode) .company-assessor-summary th:last-child,body:not(.portfolio-mode) .company-assessor-summary td:last-child {text-align: right; width: 140px;}
body:not(.portfolio-mode) .company-assessor-summary + .company-history {margin-top: 20px;}
body:not(.portfolio-mode) .date-shortcuts {display: flex; gap: 8px; margin: 8px 0 16px;}
body:not(.portfolio-mode) .date-shortcuts button {font-size: .875rem; padding: 6px 12px;}
body:not(.portfolio-mode) .completion-date {max-width: 360px;}
body:not(.portfolio-mode) .journey-note {display: block; margin: 16px 0;}
body:not(.portfolio-mode) .journey-note textarea {width: 100%; min-height: 110px; margin-top: 8px;}
body:not(.portfolio-mode) .performance-grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 20px 0;}
body:not(.portfolio-mode) .performance-row {margin-bottom: 18px;}
body:not(.portfolio-mode) .performance-row:last-child {margin-bottom: 0;}
body:not(.portfolio-mode) .performance-row small {display: block; margin-top: 5px; color: var(--muted);}
body:not(.portfolio-mode) .performance-row .barlabel {gap: 12px;}
body:not(.portfolio-mode) .performance-row .barlabel strong {white-space: nowrap;}
@media (max-width:800px){body:not(.portfolio-mode) .performance-grid {grid-template-columns: 1fr;}}
body:not(.portfolio-mode) .tracker-tabs {display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px;}
body:not(.portfolio-mode) .assessor-tracker {min-width: 980px;}
body:not(.portfolio-mode) .assessor-tracker td {vertical-align: top; padding-top: 18px; padding-bottom: 18px;}
body:not(.portfolio-mode) .assessor-tracker td small {display: block; margin-top: 6px; color: #666e79;}
body:not(.portfolio-mode) .assessor-tracker td:first-child {min-width: 150px;}
body:not(.portfolio-mode) .tracker-note {max-width: 290px; min-width: 200px; white-space: pre-wrap; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .tracker-actions {display: flex; flex-direction: column; gap: 8px; min-width: 135px;}
body:not(.portfolio-mode) .tracker-alert {color: #a10d20; font-weight: 600;}
body:not(.portfolio-mode) .tracker-editor h3 {margin: 24px 0 14px; border-bottom: 1px solid #e0e3e8; padding-bottom: 10px;}
body:not(.portfolio-mode) .tracker-editor .formgrid {gap: 18px;}
body:not(.portfolio-mode) .tracker-editor textarea {width: 100%; box-sizing: border-box; margin-top: 8px;}
body:not(.portfolio-mode) .tracker-editor .date-shortcuts {margin: 8px 0 20px;}
body:not(.portfolio-mode) .approved-queue {min-width: 850px;}
body:not(.portfolio-mode) .approved-queue td {vertical-align: top;}
body:not(.portfolio-mode) .approved-queue small {display: block; margin-top: 8px;}
body:not(.portfolio-mode) .approved-queue abbr {text-decoration: none;}
body:not(.portfolio-mode) .approved-queue .approval-notes td {background: #f7f8fa; padding: 14px 20px 20px; border-bottom: 2px solid #e1e4e9;}
body:not(.portfolio-mode) .approval-notes strong {font-size: 13px; color: #606975;}
body:not(.portfolio-mode) .approval-notes div {margin-top: 6px; white-space: pre-wrap; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .approval-cards {display: grid; gap: 22px; margin-bottom: 24px;}
body:not(.portfolio-mode) .approval-card {background: #fff; border: 1px solid #d6dbe3; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 5px #19233508;}
body:not(.portfolio-mode) .approval-card-head {display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid #e3e6eb;}
body:not(.portfolio-mode) .approval-card-head h2 {margin: 0; font-size: 18px;}
body:not(.portfolio-mode) .approval-card-head h2 .link {font-size: inherit; font-weight: 700; text-align: left;}
body:not(.portfolio-mode) .approval-card-details {display: grid; grid-template-columns: 1fr 1.2fr 1.5fr 1.3fr; margin: 0;}
body:not(.portfolio-mode) .approval-card-details>div {padding: 18px 22px; min-width: 0; border-right: 1px solid #e8ebef;}
body:not(.portfolio-mode) .approval-card-details>div:last-child {border-right: 0;}
body:not(.portfolio-mode) .approval-card-details dt {font-size: 12px; font-weight: 600; color: #606b7a; margin-bottom: 9px;}
body:not(.portfolio-mode) .approval-card-details dd {margin: 0; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .approval-card-details small {display: block; color: #606b7a; margin-top: 7px;}
body:not(.portfolio-mode) .approval-card-details .badge {display: table; margin-top: 8px;}
body:not(.portfolio-mode) .approval-card-notes {background: #f7f8fa; border-top: 1px solid #e3e6eb; padding: 16px 22px 20px;}
body:not(.portfolio-mode) .approval-card-notes h3 {font-size: 12px; color: #606b7a; margin: 0 0 8px;}
body:not(.portfolio-mode) .approval-card-notes p {margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55;}
@media (max-width:1000px){body:not(.portfolio-mode) .approval-card-details {grid-template-columns: 1fr 1fr;}
body:not(.portfolio-mode) .approval-card-details>div:nth-child(2) {border-right: 0;}
body:not(.portfolio-mode) .approval-card-details>div:nth-child(-n+2) {border-bottom: 1px solid #e8ebef;}}
@media (max-width:550px){body:not(.portfolio-mode) .approval-card-head {align-items: flex-start; flex-direction: column;}
body:not(.portfolio-mode) .approval-card-details>div {padding: 14px;}
body:not(.portfolio-mode) .approval-card-head,body:not(.portfolio-mode) .approval-card-notes {padding: 16px;}
body:not(.portfolio-mode) .approval-cards {gap: 18px;}}
body:not(.portfolio-mode) .submission-row {display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid #e2e5eb;}
body:not(.portfolio-mode) .submission-row small {display: block; margin-top: 6px; color: #647080;}
body:not(.portfolio-mode) .submission-section {border: 1px solid #dce1e8; border-radius: 10px; overflow: hidden; margin: 20px 0;}
body:not(.portfolio-mode) .submission-section h3 {margin: 0; background: #f4f5f7; padding: 14px 18px;}
body:not(.portfolio-mode) .submission-section dl {margin: 0;}
body:not(.portfolio-mode) .submission-section dl>div {display: grid; grid-template-columns: 180px 1fr; padding: 12px 18px; border-top: 1px solid #e3e6eb; gap: 16px;}
body:not(.portfolio-mode) .submission-section dt {color: #606b7a;}
body:not(.portfolio-mode) .submission-section dd {margin: 0; white-space: pre-wrap; overflow-wrap: anywhere;}
@media (max-width:550px){body:not(.portfolio-mode) .submission-section dl>div {grid-template-columns: 1fr; gap: 6px;}
body:not(.portfolio-mode) .submission-row {align-items: flex-start; flex-direction: column;}}
body:not(.portfolio-mode) .milestone-body {padding: 18px 22px;}
body:not(.portfolio-mode) .milestone-group+.milestone-group {margin-top: 20px;}
body:not(.portfolio-mode) .milestone-group h3 {font-size: 14px; color: #596372; margin: 0 0 8px;}
body:not(.portfolio-mode) .milestone-bar {display: grid; grid-template-columns: repeat(var(--steps),minmax(0,1fr)); list-style: none; padding: 0; margin: 0; gap: 3px; border-radius: 9px; overflow: hidden; background: #e1e5eb; border: 1px solid #e1e5eb;}
body:not(.portfolio-mode) .milestone {background: #f7f8fa; min-width: 0; position: relative;}
body:not(.portfolio-mode) .milestone button {display: grid; grid-template-columns: 18px minmax(0,1fr); grid-template-rows: auto auto; align-content: center; align-items: center; column-gap: 7px; row-gap: 3px; width: 100%; height: 100%; min-height: 68px; padding: 11px 12px; border: 0; border-radius: 0; background: transparent; text-align: left; line-height: 1.35; color: #586373;}
body:not(.portfolio-mode) .milestone strong {font-size: 14px; font-weight: 600;}
body:not(.portfolio-mode) .milestone small {grid-column: 2; font-size: 12px; color: inherit; font-weight: 400;}
body:not(.portfolio-mode) .milestone button>span {font-size: 16px; line-height: 1;}
body:not(.portfolio-mode) .milestone.done {background: #fcecef;}
body:not(.portfolio-mode) .milestone.done button {color: #9b1424;}
body:not(.portfolio-mode) .milestone.current {background: #cc1024;}
body:not(.portfolio-mode) .milestone.current button {color: white;}
body:not(.portfolio-mode) .milestone.started {background: #fff2d6;}
body:not(.portfolio-mode) .milestone.started button {color: #63440b;}
body:not(.portfolio-mode) .milestone.na {background: #edf0f3;}
body:not(.portfolio-mode) .milestone.na button {color: #66717e;}
body:not(.portfolio-mode) .milestone button:hover {box-shadow: inset 0 -3px 0 currentColor;}
body:not(.portfolio-mode) .milestone button:focus-visible {outline: 3px solid #1267bd; outline-offset: -3px;}
body:not(.portfolio-mode) .milestone-footer {display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px;}
body:not(.portfolio-mode) .milestone-hint {font-size: 13px; margin: 0;}
body:not(.portfolio-mode) .milestone-footer>button {font-size: 13px; padding: 6px 10px; flex-shrink: 0;}
@media (max-width:1150px){body:not(.portfolio-mode) .milestone-bar {grid-template-columns: repeat(3,minmax(0,1fr));}}
@media (max-width:550px){body:not(.portfolio-mode) .milestone-bar {grid-template-columns: repeat(2,minmax(0,1fr));}
body:not(.portfolio-mode) .milestone-body {padding: 16px;}
body:not(.portfolio-mode) .milestone-footer {align-items: flex-start; flex-direction: column; gap: 10px;}}
body:not(.portfolio-mode) .candidate-contact-line {display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-bottom: 20px;}
body:not(.portfolio-mode) .candidate-contact-line a,body:not(.portfolio-mode) .candidate-contact-line .link {font-size: 14px;}
body:not(.portfolio-mode) .whatsapp-link {font-size: 12px; margin-left: 8px;}
body:not(.portfolio-mode) .support-countdown {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; background: #f1f5fa; border-left: 4px solid #526b87; padding: 16px 18px; margin-top: 20px; border-radius: 6px;}
body:not(.portfolio-mode) .support-countdown strong {font-size: 18px;}
body:not(.portfolio-mode) .support-countdown span {color: #596372; font-size: 14px; align-self: center;}
body:not(.portfolio-mode) .support-urgent {background: #fff1dc; border-color: #a46513;}
body:not(.portfolio-mode) .assessor-record-actions {margin: 18px 0;}
body:not(.portfolio-mode) .assessor-progress-full {width: 100%;}
body:not(.portfolio-mode) .assessor-submit-footer {display: flex; justify-content: flex-end; border-top: 1px solid #dce1e8; padding: 22px 0; margin-top: 24px;}
body:not(.portfolio-mode) .company-contact-grid {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0 0 20px;}
body:not(.portfolio-mode) .company-contact-grid dt {font-size: 14px; color: #596372; margin-bottom: 8px;}
body:not(.portfolio-mode) .company-contact-grid dd {margin: 0; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere;}
@media (max-width:700px){body:not(.portfolio-mode) .company-contact-grid {grid-template-columns: 1fr;}}
body:not(.portfolio-mode) .source-chart {display: grid; gap: 16px;}
body:not(.portfolio-mode) .source-chart-row {display: grid; grid-template-columns: minmax(150px,260px) 1fr 40px; align-items: center; gap: 18px; font-size: 14px;}
body:not(.portfolio-mode) .source-chart-track {height: 16px; border-radius: 4px; background: #f0f2f5; overflow: hidden;}
body:not(.portfolio-mode) .source-chart-track>div {height: 100%; background: #ca1024; border-radius: 4px;}
body:not(.portfolio-mode) .source-chart-row strong {text-align: right;}
@media (max-width:600px){body:not(.portfolio-mode) .source-chart-row {grid-template-columns: minmax(100px,150px) 1fr 30px; gap: 10px;}}
body:not(.portfolio-mode) .milestone.na {background: #e8f4ed;}
body:not(.portfolio-mode) .milestone.na button {color: #23613f;}
body:not(.portfolio-mode) .assessor-progress-full .milestone-bar {grid-template-columns: repeat(7,minmax(0,1fr));}
body:not(.portfolio-mode) .assessor-progress-full .milestone button {padding: 12px 10px;}
body:not(.portfolio-mode) .assessor-progress-full .milestone strong {font-size: 14px;}
@media (max-width:1150px){body:not(.portfolio-mode) .assessor-progress-full .milestone-bar {display: flex; overflow-x: auto; scroll-snap-type: x proximity;}
body:not(.portfolio-mode) .assessor-progress-full .milestone {flex: 0 0 180px; scroll-snap-align: start;}}
body:not(.portfolio-mode) .assessor-progress-full .milestone-bar {grid-template-columns: repeat(8,minmax(0,1fr));}
@media (min-width:1151px) and (max-width:1400px){body:not(.portfolio-mode) .assessor-progress-full .milestone-bar {display: flex; overflow-x: auto;}
body:not(.portfolio-mode) .assessor-progress-full .milestone {flex: 0 0 165px;}}
body:not(.portfolio-mode) .assessor-vitals {display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-bottom: 20px;}
body:not(.portfolio-mode) .assessor-vital {display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; padding: 22px; background: white; border: 1px solid #dfe2e8; border-radius: 12px; white-space: normal;}
body:not(.portfolio-mode) .assessor-vital strong {font-size: 36px;}
body:not(.portfolio-mode) .assessor-vital small {color: #637083; font-weight: 400;}
body:not(.portfolio-mode) .assessor-small-summary {display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin: 20px 0 26px;}
body:not(.portfolio-mode) .assessor-small-summary button {margin-left: auto;}
body:not(.portfolio-mode) .attention-note {font-size: 13px; color: #657080; margin: 8px 0 0; max-width: 850px;}
@media (max-width:1050px){body:not(.portfolio-mode) .assessor-vitals {grid-template-columns: repeat(2,minmax(0,1fr));}}
@media (max-width:600px){body:not(.portfolio-mode) .assessor-vitals {grid-template-columns: 1fr;}
body:not(.portfolio-mode) .assessor-small-summary {gap: 14px;}}
body:not(.portfolio-mode) .dashboard-greeting {align-items: flex-start; gap: 12px 24px;}
body:not(.portfolio-mode) .welcome-copy {flex: 1 1 440px; min-width: 0; max-width: 100%;}
body:not(.portfolio-mode) .welcome-title {font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .welcome-title strong {font-size: 1.2rem;}
body:not(.portfolio-mode) .welcome-title>span {color: #444e5c;}
body:not(.portfolio-mode) .daily-fact {font-size: .875rem; line-height: 1.55; margin: 5px 0 0; color: #586373; overflow-wrap: anywhere; white-space: normal;}
body:not(.portfolio-mode) .daily-fact .fact-label {font-weight: 600; color: #465260;}
body:not(.portfolio-mode) .dashboard-greeting .last-login {flex: 0 1 auto; line-height: 1.6; padding-top: 3px;}
@media (max-width:650px){body:not(.portfolio-mode) .welcome-copy {flex-basis: 100%;}
body:not(.portfolio-mode) .dashboard-greeting {gap: 8px;}
body:not(.portfolio-mode) .dashboard-greeting .last-login {padding-top: 0;}}
body:not(.portfolio-mode) .heading.page-heading {margin-bottom: 16px; gap: 12px;}
body:not(.portfolio-mode) .heading.page-heading h1 {margin: 0;}
body:not(.portfolio-mode) .company-group-toggle {display: inline-flex; align-items: center; gap: 9px; font-size: .875rem; font-weight: 600; cursor: pointer; padding: 9px 2px; margin-right: auto;}
body:not(.portfolio-mode) .company-group-toggle input {width: 18px; height: 18px; accent-color: var(--red); margin: 0;}
body:not(.portfolio-mode) .candidate-company-groups {display: grid; gap: 16px;}
body:not(.portfolio-mode) .candidate-company-group {border: 1px solid var(--line); border-radius: 10px; background: white; overflow: hidden;}
body:not(.portfolio-mode) .candidate-company-group>summary {padding: 16px 20px; cursor: pointer; background: #f8f9fb; line-height: 1.5;}
body:not(.portfolio-mode) .candidate-company-group[open]>summary {border-bottom: 1px solid var(--line);}
body:not(.portfolio-mode) .candidate-company-name {font-weight: 700; margin: 0 12px 0 5px; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .candidate-company-name .link {font-size: 1rem; font-weight: 700; white-space: normal; text-align: left;}
body:not(.portfolio-mode) .company-group-count {display: inline-block; font-size: .875rem; color: #566171; white-space: nowrap;}
body:not(.portfolio-mode) .candidate-company-group table {table-layout: fixed; width: 100%; min-width: 650px;}
body:not(.portfolio-mode) .candidate-company-group td,body:not(.portfolio-mode) .candidate-company-group th {overflow-wrap: anywhere;}
body:not(.portfolio-mode) .candidate-company-group th:first-child {width: 22%;}
body:not(.portfolio-mode) .candidate-company-group th:nth-child(2) {width: 27%;}
@media (max-width:650px){body:not(.portfolio-mode) .candidate-company-group>summary {padding: 12px;}
body:not(.portfolio-mode) .company-group-toggle {margin-right: 0;}}
@media print{body:not(.portfolio-mode) .company-group-toggle {display: none;}
body:not(.portfolio-mode) .candidate-company-group {break-inside: avoid;}
body:not(.portfolio-mode) .candidate-company-group::details-content {content-visibility: visible !important;}}
body:not(.portfolio-mode) .candidate-sort-button {display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; border-radius: 3px; background: transparent; color: inherit; font: inherit; font-weight: 600; text-align: left; line-height: 1.45;}
body:not(.portfolio-mode) .candidate-sort-button:hover {background: transparent; color: #25272b; text-decoration: underline;}
body:not(.portfolio-mode) .sort-arrow {font-size: .95rem; flex-shrink: 0; color: #5b6472;}
body:not(.portfolio-mode) th[aria-sort="ascending"] .candidate-sort-button,body:not(.portfolio-mode) th[aria-sort="descending"] .candidate-sort-button {color: #a6101a;}
@media print{body:not(.portfolio-mode) .candidate-sort-button {display: inline-flex !important;}}
body:not(.portfolio-mode) .table-sort-icon {flex: none; vertical-align: middle; overflow: visible;}
body:not(.portfolio-mode) .table-sort-icon path {stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .36;}
body:not(.portfolio-mode) .table-sort-icon[data-direction="ascending"] .sort-up,body:not(.portfolio-mode) .table-sort-icon[data-direction="descending"] .sort-down {opacity: 1; stroke-width: 2.2;}
body:not(.portfolio-mode) .table-sort-icon[data-direction="ascending"] .sort-down,body:not(.portfolio-mode) .table-sort-icon[data-direction="descending"] .sort-up {opacity: .17;}
body:not(.portfolio-mode) .candidate-sort-button:hover {text-decoration: none;}
body:not(.portfolio-mode) .candidate-sort-button:focus-visible {outline: 2px solid #385c90; outline-offset: 4px;}
@media print{body:not(.portfolio-mode) .table-sort-icon {display: none;}}
body:not(.portfolio-mode) .assessor-caseload .tablewrap td {padding: 12px 16px;}
body:not(.portfolio-mode) .assessor-caseload .filters {align-items: end;}
body:not(.portfolio-mode) .assessor-caseload .filters .company-group-toggle {display: flex; flex-direction: row; align-items: center; gap: 8px; padding-bottom: 9px;}
body:not(.portfolio-mode) .assessor-caseload .filters .company-group-toggle input {margin: 0;}
body:not(.portfolio-mode) .assessor-caseload table.assessment-notes-table {table-layout: fixed; width: 100%; min-width: 1080px;}
body:not(.portfolio-mode) .assessor-caseload table.assessment-notes-table.has-company {min-width: 1240px;}
body:not(.portfolio-mode) .assessment-notes-table col.assessment-name {width: 160px;}
body:not(.portfolio-mode) .assessment-notes-table col.assessment-company {width: 160px;}
body:not(.portfolio-mode) .assessment-notes-table col.assessment-support {width: 185px;}
body:not(.portfolio-mode) .assessment-notes-table col.assessment-contact {width: 140px;}
body:not(.portfolio-mode) .assessment-notes-table col.assessment-evidence {width: 135px;}
body:not(.portfolio-mode) .assessment-notes-table col.assessment-actions {width: 150px;}
body:not(.portfolio-mode) .assessor-caseload .assessment-notes-table th {width: auto; padding-left: 16px; padding-right: 16px; white-space: normal;}
body:not(.portfolio-mode) .assessor-caseload .assessment-notes-table td {min-width: 0; overflow-wrap: break-word;}
body:not(.portfolio-mode) .assessor-caseload .assessment-notes-table .tracker-note {min-width: 0; max-width: none; line-height: 1.5; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .assessment-notes-table .tracker-actions {min-width: 0;}
body:not(.portfolio-mode) .assessment-notes-table .tracker-actions button {width: 100%; padding-left: 8px; padding-right: 8px;}
body:not(.portfolio-mode) .assessment-sort {display: flex; gap: 24px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #f8f9fb;}
body:not(.portfolio-mode) .assessment-sort button {font-size: .875rem;}
body:not(.portfolio-mode) .assessment-card {padding: 20px; border-bottom: 1px solid var(--line); background: white;}
body:not(.portfolio-mode) .assessment-card:last-child {border-bottom: 0;}
body:not(.portfolio-mode) .assessment-card-heading {display: flex; align-items: center; gap: 24px; margin-bottom: 18px; flex-wrap: wrap;}
body:not(.portfolio-mode) .assessment-card-heading .link {font-size: 1rem; text-align: left;}
body:not(.portfolio-mode) .assessment-card-heading small {display: block; margin-top: 5px; color: #666e79;}
body:not(.portfolio-mode) .assessment-support-summary {display: grid; gap: 5px; font-size: .875rem;}
body:not(.portfolio-mode) .assessment-support-summary>span,body:not(.portfolio-mode) .assessment-card-note span {color: #666e79; font-size: .875rem;}
body:not(.portfolio-mode) .assessment-card-actions {display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap;}
body:not(.portfolio-mode) .assessment-card-actions button {font-size: .875rem;}
body:not(.portfolio-mode) .assessment-stage-grid {display: grid; grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); gap: 8px;}
body:not(.portfolio-mode) .assessment-stage {display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 9px; text-align: left; padding: 12px; min-height: 82px; background: #fafbfc; border: 1px solid #e1e5ea; font-size: .875rem; font-weight: 400; line-height: 1.35;}
body:not(.portfolio-mode) .assessment-stage strong {font-size: .875rem; color: #626b77; font-weight: 600;}
body:not(.portfolio-mode) .assessment-stage.is-complete {background: #f2f7fc; border-color: #dce6f1;}
body:not(.portfolio-mode) .assessment-stage.is-complete strong {color: #285681;}
body:not(.portfolio-mode) .assessment-stage.is-na {background: #fafafa; color: #666e79;}
body:not(.portfolio-mode) .assessment-card-note {display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 20px; border-top: 1px solid #e5e8ec; margin-top: 16px; padding-top: 14px;}
body:not(.portfolio-mode) .assessment-contact {display: flex; flex-direction: column; gap: 8px; font-size: .875rem;}
body:not(.portfolio-mode) .assessment-latest p {margin: 7px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5;}
@media (max-width:650px){body:not(.portfolio-mode) .assessment-card {padding: 14px;}
body:not(.portfolio-mode) .assessment-card-actions {margin-left: 0;}
body:not(.portfolio-mode) .assessment-card-note {grid-template-columns: 1fr; gap: 12px;}
body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(2,minmax(0,1fr));}}
@media print{body:not(.portfolio-mode) .assessment-sort,body:not(.portfolio-mode) .assessment-card-actions {display: none;}
body:not(.portfolio-mode) .assessment-card {break-inside: avoid;}
body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(5,minmax(0,1fr));}}
body:not(.portfolio-mode) .assessment-cards {display: grid; gap: 18px; padding: 18px; background: #eef1f5;}
body:not(.portfolio-mode) .assessment-card,body:not(.portfolio-mode) .assessment-card:last-child {padding: 18px; border: 1px solid #ced5df; border-radius: 10px; box-shadow: 0 2px 3px #192b4510;}
body:not(.portfolio-mode) .assessment-card-heading {padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #e5e8ee; gap: 22px;}
body:not(.portfolio-mode) .assessment-card-heading .link {display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.125rem; color: #172536;}
body:not(.portfolio-mode) .assessment-qualification {display: inline-block; padding: 4px 7px; border-radius: 4px; background: #eaf0f6; color: #465970; font-size: .875rem; font-weight: 600;}
body:not(.portfolio-mode) .assessment-stage-grid {gap: 8px;}
body:not(.portfolio-mode) .assessment-stage {min-height: 84px; gap: 12px; background: #fff; border-color: #dce1e8; padding: 10px;}
body:not(.portfolio-mode) .assessment-stage>span {font-weight: 600; color: #303a48;}
body:not(.portfolio-mode) .assessment-stage strong {display: inline-block; max-width: 100%; padding: 4px 7px; border-radius: 4px; background: #eff1f4; color: #59616d; font-weight: 500; line-height: 1.35;}
body:not(.portfolio-mode) .assessment-stage.is-complete {background: #fff; border-color: #dce1e8;}
body:not(.portfolio-mode) .assessment-stage.is-complete strong {background: #e3eef9; color: #234f79; font-weight: 600;}
body:not(.portfolio-mode) .assessment-stage.is-progress strong {background: #fff0d2; color: #76500c; font-weight: 600;}
body:not(.portfolio-mode) .assessment-stage.is-na strong {background: #f1f2f4; color: #626976;}
body:not(.portfolio-mode) .assessment-stage:hover {background: #f6f8fb; border-color: #8c9fb6;}
body:not(.portfolio-mode) .assessment-stage:focus-visible {outline: 2px solid #385c90; outline-offset: 2px;}
body:not(.portfolio-mode) .assessment-card-note {background: #f5f7fa; border: 1px solid #e6eaf0; border-radius: 6px; margin-top: 15px; padding: 13px 14px; gap: 18px;}
body:not(.portfolio-mode) .assessment-contact {border-right: 1px solid #dce2ea; padding-right: 14px;}
body:not(.portfolio-mode) .assessment-latest>span {font-weight: 500; color: #536174;}
body:not(.portfolio-mode) .assessment-latest p {color: #283342; margin-top: 7px;}
@media (max-width:650px){body:not(.portfolio-mode) .assessment-cards {padding: 10px; gap: 14px;}
body:not(.portfolio-mode) .assessment-card,body:not(.portfolio-mode) .assessment-card:last-child {padding: 14px;}
body:not(.portfolio-mode) .assessment-contact {border-right: 0; padding-right: 0;}
body:not(.portfolio-mode) .assessment-card-heading {gap: 14px;}}
@media print{body:not(.portfolio-mode) .assessment-cards {padding: 0; background: white; gap: 12px;}
body:not(.portfolio-mode) .assessment-card {box-shadow: none;}}
body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(auto-fit,minmax(125px,1fr)); gap: 7px;}
body:not(.portfolio-mode) .assessment-stage {min-height: 68px; padding: 9px; gap: 7px; justify-content: flex-start;}
body:not(.portfolio-mode) .assessment-stage>span {line-height: 1.3;}
body:not(.portfolio-mode) .assessment-stage strong {margin-top: auto; padding: 3px 6px;}
@media (max-width:650px){body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(2,minmax(0,1fr));}}
@media print{body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(5,minmax(0,1fr));}}
body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(6,minmax(0,1fr));}
@media (max-width:1100px){body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(3,minmax(0,1fr));}}
@media (max-width:650px){body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(2,minmax(0,1fr));}}
@media print{body:not(.portfolio-mode) .assessment-stage-grid {grid-template-columns: repeat(6,minmax(0,1fr));}}
body:not(.portfolio-mode) .candidate-title-summary {display: flex; align-items: center; gap: 22px; flex-wrap: wrap;}
body:not(.portfolio-mode) .candidate-live-total {display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 2px solid #657286; border-radius: 7px; padding: 8px 12px; color: #243244; line-height: 1.25;}
body:not(.portfolio-mode) .candidate-live-total span {font-size: .875rem; font-weight: 600;}
body:not(.portfolio-mode) .candidate-live-total strong {font-size: 1.5rem; font-weight: 750; font-variant-numeric: tabular-nums;}
@media (max-width:650px){body:not(.portfolio-mode) .candidate-title-summary {gap: 12px;}}
body:not(.portfolio-mode) .assessor-caseload .page-heading {margin-bottom: 18px;}
body:not(.portfolio-mode) .candidate-title-summary {gap: 18px;}
body:not(.portfolio-mode) .candidate-live-total {border: 0; border-left: 1px solid #a7b0bc; border-radius: 0; padding: 3px 0 3px 18px; background: transparent; gap: 7px; color: #465365;}
body:not(.portfolio-mode) .candidate-live-total strong {font-size: 1.125rem; color: #243244;}
body:not(.portfolio-mode) .candidate-live-total span {font-size: 1rem; font-weight: 400;}
body:not(.portfolio-mode) .candidate-toolbar {background: white; border: 1px solid #cdd4de; border-radius: 10px; margin-bottom: 22px; overflow: hidden;}
body:not(.portfolio-mode) .candidate-toolbar-top {display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid #e1e5eb;}
body:not(.portfolio-mode) .candidate-toolbar .candidate-view-tabs {margin: 0; gap: 3px; padding: 3px; background: #eef1f5; border-radius: 8px;}
body:not(.portfolio-mode) .candidate-toolbar .candidate-view-tabs button {border: 0; background: transparent; color: #536073; padding: 9px 14px;}
body:not(.portfolio-mode) .candidate-toolbar .candidate-view-tabs button.primary {background: #263547; color: white; box-shadow: 0 1px 3px #15213320;}
body:not(.portfolio-mode) .candidate-toolbar .company-group-toggle {margin: 0; padding: 0; gap: 10px; display: flex; flex-direction: row; align-items: center; color: #344153;}
body:not(.portfolio-mode) .candidate-toolbar .company-group-toggle input {appearance: none; -webkit-appearance: none; display: block; position: relative; flex: 0 0 38px; width: 38px; height: 22px; padding: 0; margin: 0; border: 1px solid #7c8898; border-radius: 20px; background: #d9dfe7; cursor: pointer;}
body:not(.portfolio-mode) .candidate-toolbar .company-group-toggle input:before {content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 2px #0003;}
body:not(.portfolio-mode) .candidate-toolbar .company-group-toggle input:checked {background: #263547; border-color: #263547;}
body:not(.portfolio-mode) .candidate-toolbar .company-group-toggle input:checked:before {transform: translateX(16px);}
body:not(.portfolio-mode) .assessor-caseload .candidate-toolbar-filters {padding: 14px 16px; margin: 0; display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;}
body:not(.portfolio-mode) .assessor-caseload .candidate-toolbar-filters>label {display: flex; flex-direction: column; gap: 7px; min-width: 125px; flex: 1 1 140px; font-size: .875rem; color: #566273; font-weight: 500;}
body:not(.portfolio-mode) .assessor-caseload .candidate-toolbar-filters>label:has([name="candidateAttention"]) {flex: 1.6 1 220px;}
body:not(.portfolio-mode) .assessor-caseload .candidate-toolbar-filters select {margin: 0; width: 100%; height: 40px; align-self: stretch; color: #263240; border-color: #cbd2dc; padding: 8px 10px;}
body:not(.portfolio-mode) .candidate-export-actions {display: flex; align-items: center; gap: 8px; margin-left: auto;}
body:not(.portfolio-mode) .candidate-export-actions button {height: 40px; white-space: nowrap;}
@media (max-width:650px){body:not(.portfolio-mode) .candidate-title-summary {align-items: baseline; gap: 10px;}
body:not(.portfolio-mode) .candidate-live-total {padding-left: 10px;}
body:not(.portfolio-mode) .candidate-toolbar-top {padding: 12px;}
body:not(.portfolio-mode) .assessor-caseload .candidate-toolbar-filters {padding: 12px;}
body:not(.portfolio-mode) .candidate-export-actions {margin-left: 0;}
body:not(.portfolio-mode) .candidate-toolbar .company-group-toggle {min-height: 32px;}}
@media print{body:not(.portfolio-mode) .candidate-toolbar {display: none;}}
@media screen{body:not(.portfolio-mode) {--workspace-ink: #263547; --workspace-border: #cdd4de; --workspace-muted: #536073;}
body:not(.portfolio-mode) .content .page-heading {margin-bottom: 18px; gap: 20px;}
body:not(.portfolio-mode) .content .page-heading h1 {color: #202d3d; line-height: 1.2;}
body:not(.portfolio-mode) .content .panel,body:not(.portfolio-mode) .content .metric,body:not(.portfolio-mode) .content .detailtop,body:not(.portfolio-mode) .content .assessor-vital {border-color: var(--workspace-border); border-radius: 10px;}
body:not(.portfolio-mode) .content .panelhead {background: #fafbfc; border-bottom-color: #dce2ea; padding: 17px 20px;}
body:not(.portfolio-mode) .content .panelhead h2 {color: #283647;}
body:not(.portfolio-mode) .content .metric .label,body:not(.portfolio-mode) .content .muted {color: #536073;}
body:not(.portfolio-mode) .content button.primary,body:not(.portfolio-mode) dialog button.primary {background: var(--workspace-ink); border-color: var(--workspace-ink); color: white;}
body:not(.portfolio-mode) .content button.primary:hover,body:not(.portfolio-mode) dialog button.primary:hover {background: #172536; border-color: #172536;}
body:not(.portfolio-mode) .content .tabs,body:not(.portfolio-mode) .content .tracker-tabs {display: flex; gap: 3px; flex-wrap: wrap; padding: 4px; background: #eef1f5; border-radius: 8px; width: fit-content; max-width: 100%; margin-bottom: 18px;}
body:not(.portfolio-mode) .content .tabs button,body:not(.portfolio-mode) .content .tracker-tabs button {border: 0; background: transparent; color: var(--workspace-muted); padding: 9px 14px; line-height: 1.4;}
body:not(.portfolio-mode) .content .tabs button.active,body:not(.portfolio-mode) .content .tabs button.primary,body:not(.portfolio-mode) .content .tabs button[aria-pressed="true"],body:not(.portfolio-mode) .content .tracker-tabs button.primary,body:not(.portfolio-mode) .content .tracker-tabs button[aria-pressed="true"] {background: var(--workspace-ink); color: white; box-shadow: 0 1px 3px #15213320;}
body:not(.portfolio-mode) .content .tabs button:hover,body:not(.portfolio-mode) .content .tracker-tabs button:hover {background: #dce3eb; color: #243244;}
body:not(.portfolio-mode) .content .tabs button.active:hover,body:not(.portfolio-mode) .content .tabs button.primary:hover,body:not(.portfolio-mode) .content .tracker-tabs button.primary:hover {background: #172536; color: white;}
body:not(.portfolio-mode) .workspace-toolbar {background: white; border: 1px solid var(--workspace-border); border-radius: 10px; overflow: hidden; margin-bottom: 22px;}
body:not(.portfolio-mode) .workspace-toolbar-top {padding: 14px 16px; border-bottom: 1px solid #e1e5eb;}
body:not(.portfolio-mode) .workspace-toolbar-top .tabs,body:not(.portfolio-mode) .workspace-toolbar-top .tracker-tabs {margin: 0;}
body:not(.portfolio-mode) .workspace-toolbar>.filters {padding: 14px 16px; margin: 0;}
body:not(.portfolio-mode) .content .filters {align-items: flex-end; gap: 14px;}
body:not(.portfolio-mode) .content .filters>label:not(.company-group-toggle):not(.workspace-toggle) {display: flex; flex-direction: column; gap: 7px; flex: 0 1 240px; min-width: 140px; color: #536073; font-size: .875rem; font-weight: 500;}
body:not(.portfolio-mode) .content .filters select,body:not(.portfolio-mode) .content .filters input:not([type="checkbox"]):not([type="radio"]) {margin: 0; min-height: 40px; border: 1px solid #cbd2dc; border-radius: 7px; background: white; color: #263240; padding: 8px 10px; align-self: stretch; font-size: .875rem;}
body:not(.portfolio-mode) .content .filters>label select,body:not(.portfolio-mode) .content .filters>label input:not([type="checkbox"]):not([type="radio"]) {width: 100%; max-width: none;}
body:not(.portfolio-mode) .content .filters>button {min-height: 40px;}
body:not(.portfolio-mode) .content .filters .workspace-toggle {display: flex; flex-direction: row; align-items: center; gap: 10px; min-height: 40px; margin: 0; padding: 0; color: #344153; cursor: pointer;}
body:not(.portfolio-mode) .workspace-toggle input[type="checkbox"] {appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 38px; width: 38px; height: 22px; padding: 0; margin: 0; border: 1px solid #7c8898; border-radius: 20px; background: #d9dfe7; cursor: pointer;}
body:not(.portfolio-mode) .workspace-toggle input[type="checkbox"]:before {content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: white; box-shadow: 0 1px 2px #0003;}
body:not(.portfolio-mode) .workspace-toggle input[type="checkbox"]:checked {background: #263547; border-color: #263547;}
body:not(.portfolio-mode) .workspace-toggle input[type="checkbox"]:checked:before {transform: translateX(16px);}
body:not(.portfolio-mode) .content .tablewrap th {background: #f5f7fa; color: #536073; border-bottom-color: #d7dee7;}
body:not(.portfolio-mode) .content .tablewrap tbody tr:hover {background: #fafbfd;}
body:not(.portfolio-mode) .content .candidate-company-groups {gap: 24px;}
body:not(.portfolio-mode) .content .candidate-company-group {border-color: #8c99aa; border-width: 2px;}
body:not(.portfolio-mode) .content .candidate-company-group>summary {background: #e8edf3; color: #263547;}
body:not(.portfolio-mode) .content .candidate-company-group[open]>summary {border-bottom: 1px solid #9ca8b8;}
body:not(.portfolio-mode) .content .company-group-count {color: #46556a;}
body:not(.portfolio-mode) dialog {border: 1px solid #cdd4de; border-radius: 12px;}
body:not(.portfolio-mode) dialog h2 {color: #263547;}
body:not(.portfolio-mode) dialog label {color: #465365;}
body:not(.portfolio-mode) .content .candidate-toolbar .candidate-view-tabs {margin: 0;}
body:not(.portfolio-mode) .content .candidate-toolbar .candidate-toolbar-filters>label {flex: 1 1 140px;}
body:not(.portfolio-mode) .content .candidate-toolbar .candidate-toolbar-filters>label:has([name="candidateAttention"]) {flex: 1.6 1 220px;}}
@media screen and (max-width:650px){body:not(.portfolio-mode) .workspace-toolbar-top,body:not(.portfolio-mode) .workspace-toolbar>.filters {padding: 12px;}
body:not(.portfolio-mode) .content .filters>label:not(.workspace-toggle) {flex: 1 1 140px; min-width: 0;}
body:not(.portfolio-mode) .content .page-heading {flex-wrap: wrap;}}
@media print{body:not(.portfolio-mode) .workspace-toolbar {display: none;}}
body:not(.portfolio-mode) .candidate-contact-line a,body:not(.portfolio-mode) .candidate-contact-line button.link {color: inherit; text-decoration: none; font-weight: inherit; border: 0; background: transparent; padding: 0; cursor: pointer;}
body:not(.portfolio-mode) .candidate-contact-line a:hover,body:not(.portfolio-mode) .candidate-contact-line button.link:hover {text-decoration: underline; text-underline-offset: 3px;}
body:not(.portfolio-mode) .candidate-contact-line a:focus-visible,body:not(.portfolio-mode) .candidate-contact-line button.link:focus-visible {outline: 2px solid #263547; outline-offset: 4px; border-radius: 2px;}
body:not(.portfolio-mode) .record-progress-full {grid-column: 1 / -1; min-width: 0;}
body:not(.portfolio-mode) .record-progress-full .milestone-bar,body:not(.portfolio-mode) .assessor-progress-full .milestone-bar {display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; border: 0; background: transparent; overflow: visible;}
body:not(.portfolio-mode) .record-progress-full .milestone,body:not(.portfolio-mode) .assessor-progress-full .milestone {border: 1px solid #cdd4de; border-radius: 8px; min-width: 0;}
body:not(.portfolio-mode) .record-progress-full .milestone button,body:not(.portfolio-mode) .assessor-progress-full .milestone button {min-height: 90px; padding: 12px; border-radius: 8px; overflow-wrap: anywhere;}
@media (max-width:1100px){body:not(.portfolio-mode) .record-progress-full .milestone-bar,body:not(.portfolio-mode) .assessor-progress-full .milestone-bar {grid-template-columns: repeat(3,minmax(0,1fr));}}
@media (max-width:650px){body:not(.portfolio-mode) .record-progress-full .milestone-bar,body:not(.portfolio-mode) .assessor-progress-full .milestone-bar {grid-template-columns: repeat(2,minmax(0,1fr));}}
body:not(.portfolio-mode) .stage-complete-tick {display: inline-block; margin-right: 6px; font-weight: 800; line-height: 1;}
body:not(.portfolio-mode) .candidate-contact-line {gap: 10px 0;}
body:not(.portfolio-mode) .candidate-contact-item {display: inline-flex; align-items: center; min-width: 0; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .candidate-contact-item+.candidate-contact-item {border-left: 1px solid #98a3b1; margin-left: 16px; padding-left: 16px;}
body:not(.portfolio-mode) .candidate-contact-line .whatsapp-link {margin-left: 0;}
@media (max-width:650px){body:not(.portfolio-mode) .candidate-contact-line {flex-direction: column; align-items: flex-start; gap: 12px;}
body:not(.portfolio-mode) .candidate-contact-item+.candidate-contact-item {border-left: 0; margin-left: 0; padding-left: 0;}}
body:not(.portfolio-mode) .overall-assessment {width: 165px; max-width: 100%; flex-shrink: 0;}
body:not(.portfolio-mode) .overall-assessment-label {display: block; font-size: 11px; line-height: 1.3; color: #536073; margin-bottom: 5px;}
body:not(.portfolio-mode) .overall-assessment-meter {display: flex; gap: 9px; align-items: center;}
body:not(.portfolio-mode) .overall-assessment-meter strong {font-size: 14px; font-variant-numeric: tabular-nums; min-width: 36px; flex: 0 0 auto; white-space: nowrap; overflow-wrap: normal; word-break: normal;}
body:not(.portfolio-mode) .overall-assessment-meter progress {min-width: 0; flex-shrink: 1;}
body:not(.portfolio-mode) .overall-assessment progress {appearance: none; border: 1px solid #a6b0bc; background: #e5e9ee; border-radius: 10px; height: 9px; width: 115px; overflow: hidden;}
body:not(.portfolio-mode) .overall-assessment progress::-webkit-progress-bar {background: #e5e9ee;}
body:not(.portfolio-mode) .overall-assessment progress::-webkit-progress-value {background: #263547; border-radius: 10px;}
body:not(.portfolio-mode) .overall-assessment progress::-moz-progress-bar {background: #263547; border-radius: 10px;}
body:not(.portfolio-mode) .assessment-card-heading {flex-wrap: wrap;}
body:not(.portfolio-mode) .record-summary-top {display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;}
body:not(.portfolio-mode) .record-summary-top h1 {margin: 0 0 12px;}
body:not(.portfolio-mode) .record-summary-progress {display: grid; gap: 16px; justify-items: end; min-width: 240px;}
body:not(.portfolio-mode) .record-summary-progress .overall-assessment {width: 260px;}
body:not(.portfolio-mode) .record-summary-progress .overall-assessment-label {font-size: 14px;}
body:not(.portfolio-mode) .record-summary-progress .overall-assessment progress {flex: 1; height: 12px;}
body:not(.portfolio-mode) .record-summary-progress .overall-assessment-meter strong {font-size: 22px;}
body:not(.portfolio-mode) .record-summary h2 {margin: 24px 0 16px;}
body:not(.portfolio-mode) .record-summary .support-countdown {margin-top: 20px;}
body:not(.portfolio-mode) .record-tabs {display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid #a6b0bc; margin: 24px 0; padding-bottom: 10px;}
body:not(.portfolio-mode) .record-tabs button {font-size: 14px; padding: 12px 18px; border: 1px solid #a6b0bc;}
body:not(.portfolio-mode) .record-tabs [aria-selected=true] {background: #263547; color: white; border-color: #263547; box-shadow: inset 0 -3px white;}
body:not(.portfolio-mode) .record-tab-panel[hidden] {display: none !important;}
body:not(.portfolio-mode) .record-tab-panel>.panel {margin-bottom: 22px;}
body:not(.portfolio-mode) .record-payment-summary {display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: white; border: 1px solid #cbd3df; border-radius: 10px; padding: 16px 20px; margin-bottom: 22px;}
body:not(.portfolio-mode) .record-payment-summary button {margin-left: auto;}
body:not(.portfolio-mode) .record-latest-meta {font-size: 14px; color: #536073;}
body:not(.portfolio-mode) .record-previous-item {display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid #dbe1e9;}
body:not(.portfolio-mode) .record-previous-item small {display: block; margin-top: 8px;}
body:not(.portfolio-mode) .record-qualification-picker {display: grid; gap: 8px; max-width: 420px; margin-bottom: 16px;}
@media (max-width:800px){body:not(.portfolio-mode) .record-summary-top {flex-direction: column; gap: 20px;}
body:not(.portfolio-mode) .record-summary-progress {justify-items: start; width: 100%; min-width: 0;}
body:not(.portfolio-mode) .record-summary-progress .overall-assessment {width: 100%;}
body:not(.portfolio-mode) .record-tabs button {padding: 10px 12px;}
body:not(.portfolio-mode) .record-payment-summary {gap: 12px;}}
body:not(.portfolio-mode) #record-panel-current .grid {grid-template-columns: minmax(0,1fr);}
body:not(.portfolio-mode) .record-checklist {margin-bottom: 22px;}
body:not(.portfolio-mode) .record-checklist>summary {cursor: pointer; font-weight: 600; padding: 16px 20px; background: #fff; border: 1px solid #a6b0bc; border-radius: 8px;}
body:not(.portfolio-mode) .record-checklist[open]>summary {margin-bottom: 12px;}
body:not(.portfolio-mode) html {scrollbar-gutter: stable;}
body:not(.portfolio-mode) .record-tabs {position: relative; z-index: 1; align-items: flex-end; min-height: 57px; flex-wrap: wrap; gap: 5px; margin: 24px 0 0; padding: 6px 12px 0; border: 0; overflow: visible; isolation: isolate;}
body:not(.portfolio-mode) .record-tabs button {position: relative; flex-shrink: 0; white-space: nowrap; margin: 0; padding: 12px 20px 13px; border: 1px solid #b4bfcc; border-bottom: 0; border-radius: 10px 10px 0 0; background: #edf0f4; color: #4a586a; font-weight: 600; box-shadow: none; min-height: 44px;}
body:not(.portfolio-mode) .record-tabs button:hover {background: #f6f8fa; color: #172638;}
body:not(.portfolio-mode) .record-tabs [aria-selected=true] {z-index: 2; min-height: 51px; padding-top: 15px; padding-bottom: 16px; border-color: #8493a6; background: #fff; color: #172638; box-shadow: inset 0 4px 0 #263547;}
body:not(.portfolio-mode) .record-tabs [aria-selected=true]::after {content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: white;}
body:not(.portfolio-mode) .record-tabs button:focus-visible {outline: 3px solid #263547; outline-offset: -6px;}
body:not(.portfolio-mode) .record-tab-panel {position: relative; margin-top: -1px; padding: 24px; background: white; border: 1px solid #8493a6; border-radius: 10px; box-shadow: 0 2px 4px #2635470a;}
body:not(.portfolio-mode) .record-tab-panel>.panel:last-child {margin-bottom: 0;}
@media (max-width:800px){body:not(.portfolio-mode) .record-tabs {padding-left: 8px; padding-right: 8px;}
body:not(.portfolio-mode) .record-tabs button {padding-left: 14px; padding-right: 14px;}
body:not(.portfolio-mode) .record-tab-panel {padding: 14px;}}
@media print{body:not(.portfolio-mode) .record-tabs {display: none !important;}
body:not(.portfolio-mode) .record-tab-panel {border: 0; padding: 0; box-shadow: none;}}
body:not(.portfolio-mode) .content:has(.record-tabs),body:not(.portfolio-mode) .record-tab-panel {overflow-anchor: none;}
@media print{body:not(.portfolio-mode) .record-tab-panel {min-height: 0 !important;}}
body:not(.portfolio-mode) .personal-details-grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 36px; margin: 0 0 24px;}
body:not(.portfolio-mode) .personal-details-grid dt {font-size: 14px; color: #536073; margin-bottom: 7px;}
body:not(.portfolio-mode) .personal-details-grid dd {margin: 0; white-space: pre-line; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .personal-details-grid a {color: inherit; text-decoration: none;}
body:not(.portfolio-mode) .personal-details-grid a:hover {text-decoration: underline;}
body:not(.portfolio-mode) .record-recent-note {padding: 12px 0; border-bottom: 1px solid #dbe1e9; margin-bottom: 14px;}
@media (max-width:650px){body:not(.portfolio-mode) .personal-details-grid {grid-template-columns: 1fr;}}
body:not(.portfolio-mode) .personal-details-actions {display: flex; justify-content: flex-end; margin-bottom: 20px;}
body:not(.portfolio-mode) .personal-details-sections {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start;}
body:not(.portfolio-mode) .personal-detail-section {border: 1px solid #b8c3d1; border-radius: 8px; overflow: hidden; min-width: 0;}
body:not(.portfolio-mode) .personal-detail-section h3 {font-size: 15px; font-weight: 650; margin: 0; padding: 14px 18px; background: #edf1f6; border-bottom: 1px solid #b8c3d1; color: #263547;}
body:not(.portfolio-mode) .personal-detail-section .personal-details-grid {display: block; margin: 0; padding: 0 18px;}
body:not(.portfolio-mode) .personal-detail-section .personal-details-grid>div {display: grid; grid-template-columns: 145px minmax(0,1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #e0e5ec; align-items: baseline;}
body:not(.portfolio-mode) .personal-detail-section .personal-details-grid>div:last-child {border-bottom: 0;}
body:not(.portfolio-mode) .personal-detail-section dt {margin: 0; line-height: 1.5;}
body:not(.portfolio-mode) .personal-detail-section dd {font-size: 16px; line-height: 1.5;}
@media (max-width:1000px){body:not(.portfolio-mode) .personal-details-sections {grid-template-columns: 1fr;}}
@media (max-width:550px){body:not(.portfolio-mode) .personal-detail-section .personal-details-grid>div {grid-template-columns: 1fr; gap: 5px;}
body:not(.portfolio-mode) .personal-details-actions {justify-content: flex-start;}}
body:not(.portfolio-mode) .extension-badge {display: block; width: fit-content; border: 1px solid #536780; border-radius: 4px; padding: 4px 8px; margin-top: 8px; font-size: 13px; font-weight: 650; background: #edf1f6; color: #263547;}
body:not(.portfolio-mode) .extension-summary {margin-top: 12px;}
body:not(.portfolio-mode) .extension-summary small {display: block; margin-top: 6px;}
body:not(.portfolio-mode) .extension-actions {margin-bottom: 18px;}
body:not(.portfolio-mode) .extension-history {padding: 16px 0; border-bottom: 1px solid #cbd3df;}
body:not(.portfolio-mode) .extension-history:last-child {border-bottom: 0;}
body:not(.portfolio-mode) #record-panel-current section.panel+section.panel {margin-top: 22px;}
body:not(.portfolio-mode) .actual-payer {display: grid; gap: 8px; padding: 16px 0; margin: 16px 0; border-top: 1px solid #cbd3df;}
body:not(.portfolio-mode) .actual-payer>span {font-size: 14px; color: #536073;}
body:not(.portfolio-mode) .payment-payer-summary {display: grid; gap: 8px;}
body:not(.portfolio-mode) .payment-payer-summary>span {font-size: 14px; color: #536073;}
body:not(.portfolio-mode) .workspace-section-panel>.panel+.panel {margin-top: 22px;}
body:not(.portfolio-mode) .workspace-section-panel>.actions {margin-top: 0; margin-bottom: 22px;}
body:not(.portfolio-mode) .workspace-list-panel .candidate-toolbar {margin-top: 0;}
body:not(.portfolio-mode) .workspace-list-panel .candidate-toolbar-top {justify-content: flex-end;}
body:not(.portfolio-mode) .workspace-list-panel>.panel:last-child,body:not(.portfolio-mode) .workspace-section-panel>.panel:last-child {margin-bottom: 0;}
@media (max-width:700px){body:not(.portfolio-mode) .workspace-section-panel,body:not(.portfolio-mode) .workspace-list-panel {padding: 14px;}
body:not(.portfolio-mode) .record-tabs {padding-left: 6px; padding-right: 6px;}
body:not(.portfolio-mode) .record-tabs button {white-space: normal; max-width: 100%; padding-left: 12px; padding-right: 12px;}}
@media print{body:not(.portfolio-mode) .workspace-section-tabs,body:not(.portfolio-mode) .workspace-view-tabs {display: none;}
body:not(.portfolio-mode) .workspace-section-panel,body:not(.portfolio-mode) .workspace-list-panel {border: 0; padding: 0; min-height: 0 !important;}}
body:not(.portfolio-mode) .candidate-company-group>.approval-cards {padding: 18px; margin: 0;}
body:not(.portfolio-mode) .candidate-company-group>.approval-cards .approval-card:last-child {margin-bottom: 0;}
body:not(.portfolio-mode) .payment-chase-progress {min-width: 185px; max-width: 260px;}
body:not(.portfolio-mode) .payment-chase-progress small {display: block; margin-top: 5px; line-height: 1.4;}
body:not(.portfolio-mode) .payment-latest-update {min-width: 220px; max-width: 370px; line-height: 1.5;}
body:not(.portfolio-mode) .payment-latest-update strong {display: block; font-size: 13px; margin-bottom: 7px; color: #536073;}
body:not(.portfolio-mode) .manual-task-meta {margin-top: 8px; color: #536073; font-size: 14px;}
body:not(.portfolio-mode) .manual-task-note {display: grid; gap: 8px; margin: 18px 0;}
body:not(.portfolio-mode) .manual-task-note textarea {width: 100%; resize: vertical;}
body:not(.portfolio-mode) .manual-task-history {border-top: 1px solid #ccd5e2; margin-top: 22px; padding-top: 14px; max-height: 280px; overflow: auto;}
body:not(.portfolio-mode) .manual-task-history>div {padding: 10px 0; border-bottom: 1px solid #e0e5ed;}
body:not(.portfolio-mode) .manual-task-history p {margin: 6px 0;}
body:not(.portfolio-mode) .record-ownership {display: flex; flex-wrap: wrap; gap: 24px; align-items: center; border-top: 1px solid #ccd5e2; padding-top: 18px; margin-top: 20px;}
body:not(.portfolio-mode) .record-ownership span {display: grid; gap: 6px; min-width: 160px;}
body:not(.portfolio-mode) .record-ownership small {color: #536073;}
body:not(.portfolio-mode) .record-ownership button {margin-left: auto;}
body:not(.portfolio-mode) .manual-task-title {margin-bottom: 18px;}
body:not(.portfolio-mode) .manual-task-title label {display: grid; gap: 8px;}
body:not(.portfolio-mode) .manual-task-title input {width: 100%;}
body:not(.portfolio-mode) .eqa-person-name {display: flex; align-items: center; gap: 12px; min-height: 48px;}
body:not(.portfolio-mode) .eqa-person-name img,body:not(.portfolio-mode) .eqa-person-initials {width: 48px; height: 48px; border-radius: 50%; flex: 0 0 48px; object-fit: cover;}
body:not(.portfolio-mode) .eqa-person-initials {display: grid; place-items: center; background: #e9eef4; color: #23364c; font-size: 16px; font-weight: 700;}
body:not(.portfolio-mode) .eqa-key-details .eqa-registration-link {border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;}
body:not(.portfolio-mode) .portal-contact-edit {border: 1px solid #cbd5e1; border-radius: 8px; padding: 18px;}
body:not(.portfolio-mode) .portal-contact-edit summary {cursor: pointer; font-weight: 600;}
body:not(.portfolio-mode) .portal-contact-edit form {margin-top: 18px;}
body:not(.portfolio-mode) .portal-change-reason {display: grid; gap: 8px; margin: 20px 0;}
body:not(.portfolio-mode) .portal-change-reason textarea {width: 100%; padding: 10px;}
body:not(.portfolio-mode) .portal-unit-change-review {display: block; margin-top: 24px;}
body:not(.portfolio-mode) .portal-unit-change-review h4 {margin-bottom: 6px;}
body:not(.portfolio-mode) .portal-unit-kind {display: block; margin-top: 4px; color: #52637a;}
body:not(.portfolio-mode) .portal-plan-credit {flex-wrap: wrap; gap: 12px;}
body:not(.portfolio-mode) #portal-inline-unit-editor {margin-top: 20px;}
body:not(.portfolio-mode) #portal-inline-unit-editor[hidden] {display: none;}
body:not(.portfolio-mode) .portal-unit-change-review button {margin: 8px 10px 0 0;}
body:not(.portfolio-mode) .ssi6-report-form {display: grid; gap: 16px;}
body:not(.portfolio-mode) .ssi6-report-form label {display: grid; gap: 6px;}
body:not(.portfolio-mode) .ssi6-report-form input,body:not(.portfolio-mode) .ssi6-report-form select,body:not(.portfolio-mode) .ssi6-report-form textarea {padding: 9px; width: 100%; border: 1px solid #b9c7d8; border-radius: 5px;}
body:not(.portfolio-mode) .ssi6-report-form input[type=checkbox] {width: auto;}
body:not(.portfolio-mode) .ssi6-report-form fieldset {border: 1px solid #cbd5e1; border-radius: 8px; padding: 18px; display: grid; gap: 12px;}
body:not(.portfolio-mode) .ssi6-report-form legend {font-weight: 600;}
body:not(.portfolio-mode) .ssi6-observation-editor summary {cursor: pointer; font-weight: 600; margin: 16px 0;}
body:not(.portfolio-mode) .witness-preview {width: min(1000px,95vw); max-height: 94vh; padding: 0; border: 1px solid #dce2e8; border-radius: 12px; color: #233950;}
body:not(.portfolio-mode) .witness-preview::backdrop {background: rgba(20,35,50,.65);}
body:not(.portfolio-mode) .witness-public {padding: 28px;}
body:not(.portfolio-mode) .witness-public>header {display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 1px solid #dce2e8; padding-bottom: 16px;}
body:not(.portfolio-mode) .witness-public h2 {font-size: 24px; margin: 10px 0;}
body:not(.portfolio-mode) .witness-public p,body:not(.portfolio-mode) .witness-public li {line-height: 1.6; font-size: 16px;}
body:not(.portfolio-mode) .witness-public label {font-size: 16px;}
body:not(.portfolio-mode) .witness-unit {padding: 20px; border: 1px solid #dce2e8; border-radius: 8px; background: #f7f9fb;}
body:not(.portfolio-mode) .witness-unit h3 {margin-top: 0;}
body:not(.portfolio-mode) .witness-unit fieldset {background: white; margin: 16px 0;}
body:not(.portfolio-mode) .witness-check {display: flex !important; align-items: flex-start; gap: 10px !important; margin: 10px 0;}
body:not(.portfolio-mode) .witness-check input {width: 18px !important; flex: 0 0 18px; margin-top: 3px;}
body:not(.portfolio-mode) .witness-public .portal-signature canvas {width: 100%; touch-action: none;}
body:not(.portfolio-mode) .witness-public input,body:not(.portfolio-mode) .witness-public select,body:not(.portfolio-mode) .witness-public textarea {max-width: 100%; box-sizing: border-box;}
body:not(.portfolio-mode) .witness-public .ssi6-report-form {display: grid; gap: 20px;}
@media (max-width:650px){body:not(.portfolio-mode) .witness-public {padding: 16px;}
body:not(.portfolio-mode) .witness-unit {padding: 12px;}
body:not(.portfolio-mode) .witness-public .portal-doc-grid {grid-template-columns: 1fr;}
body:not(.portfolio-mode) .witness-public>header {flex-direction: column;}
body:not(.portfolio-mode) .witness-public h2 {font-size: 21px;}}
body:not(.portfolio-mode) .portal-profile-info .candidate-daily-fact {max-width: 760px; margin: 12px 0 0; line-height: 1.6; font-size: 16px; color: #4b5968;}
body:not(.portfolio-mode) .candidate-daily-fact strong {color: #233950;}
body:not(.portfolio-mode) .portal-profile-info[data-candidate-welcome] {min-width: 0;}
body:not(.portfolio-mode) .portal-profile-info[data-candidate-welcome] h1 {line-height: 1.25; overflow-wrap: anywhere;}
@media (max-width:650px){body:not(.portfolio-mode) .portal-profile-info[data-candidate-welcome] h1 {font-size: 25px;}}
body:not(.portfolio-mode) .portal-profile-info .candidate-qualification {font-size: 14px; line-height: 1.5; color: #5b6878; margin: 7px 0 0;}
body:not(.portfolio-mode) .ssi6-half-stages {display: grid; grid-template-columns: 1fr 1fr; gap: 20px;}
body:not(.portfolio-mode) .ssi6-half-stages strong,body:not(.portfolio-mode) .ssi6-half-stages span {display: block;}
body:not(.portfolio-mode) .ssi6-half-stages span {margin-top: 7px;}
body:not(.portfolio-mode) .candidate-journey-strip.ssi6-journey {grid-template-columns: repeat(8,minmax(0,1fr));}
body:not(.portfolio-mode) .ssi6-stage-link {display: inline-block; max-width: 115px; padding: 0 !important; border: 0 !important; background: transparent !important; font: inherit !important; line-height: inherit !important; color: inherit !important; text-align: center; white-space: normal; text-decoration: none; cursor: pointer;}
body:not(.portfolio-mode) .ssi6-stage-link:hover {text-decoration: none;}
body:not(.portfolio-mode) .ssi6-stage-link:focus-visible {outline: 3px solid #2570aa; outline-offset: 4px; border-radius: 2px;}
body:not(.portfolio-mode) .ssi6-add-observation,body:not(.portfolio-mode) .ssi6-excluded {padding: 20px; border: 1px solid #c6d1de; border-radius: 8px; margin-bottom: 20px;}
@media (max-width:1200px){body:not(.portfolio-mode) .candidate-journey-strip.ssi6-journey {grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px 0;}}
@media (max-width:650px){body:not(.portfolio-mode) .candidate-journey-strip.ssi6-journey {grid-template-columns: repeat(2,minmax(0,1fr));}
body:not(.portfolio-mode) .ssi6-half-stages {grid-template-columns: 1fr;}}
body:not(.portfolio-mode) #ssi6-nomination {gap: 16px; align-content: start;}
body:not(.portfolio-mode) #ssi6-nomination .witness-check {margin: 0; line-height: 1.5;}
body:not(.portfolio-mode) #ssi6-nomination [data-stage-error]:empty {display: none;}
body:not(.portfolio-mode) #ssi6-nomination [data-stage-error] {margin: 0;}
body:not(.portfolio-mode) #ssi6-nomination>button {justify-self: start; width: auto; min-width: 230px; margin: 0;}
body:not(.portfolio-mode) #ssi6-nomination textarea {min-height: 80px;}
body:not(.portfolio-mode) #ssi6-nomination>label {margin: 0;}
body:not(.portfolio-mode) .candidate-witness-status {border: 1px solid #c6d1de; border-radius: 10px; padding: 24px; background: #fff;}
body:not(.portfolio-mode) .candidate-witness-status header {display: flex; align-items: center; justify-content: space-between; gap: 16px;}
body:not(.portfolio-mode) .candidate-witness-status h3 {margin: 0; font-size: 20px;}
body:not(.portfolio-mode) .candidate-witness-status progress {display: block; width: 100%; height: 10px; margin: 18px 0 22px; accent-color: #233950;}
body:not(.portfolio-mode) .candidate-witness-status p {line-height: 1.6; margin: 12px 0;}
body:not(.portfolio-mode) .candidate-witness-status .witness-success {font-weight: 600;}
body:not(.portfolio-mode) .candidate-witness-status dl {margin: 18px 0; display: grid; gap: 12px;}
body:not(.portfolio-mode) .candidate-witness-status dl>div {display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 14px;}
body:not(.portfolio-mode) .candidate-witness-status dt {color: #536377;}
body:not(.portfolio-mode) .candidate-witness-status dd {margin: 0; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .candidate-witness-status details {margin-top: 20px;}
body:not(.portfolio-mode) .candidate-witness-status summary {cursor: pointer; font-weight: 600;}
@media (max-width:650px){body:not(.portfolio-mode) .candidate-witness-status {padding: 18px;}
body:not(.portfolio-mode) .candidate-witness-status header {align-items: flex-start; flex-direction: column;}
body:not(.portfolio-mode) .candidate-witness-status dl>div {grid-template-columns: 1fr; gap: 4px;}
body:not(.portfolio-mode) #ssi6-nomination>button {min-width: 0; width: 100%;}}
body:not(.portfolio-mode) .witness-other-options {margin: 20px 0 0; padding: 16px 20px; border: 1px solid #d2dae4; border-radius: 8px;}
body:not(.portfolio-mode) .witness-other-options summary,body:not(.portfolio-mode) .witness-demo-completion summary {cursor: pointer; font-weight: 600;}
body:not(.portfolio-mode) .witness-other-options>details {margin-top: 16px;}
body:not(.portfolio-mode) .witness-other-options form {margin-top: 18px;}
body:not(.portfolio-mode) .witness-other-options [role=alert]:empty {display: none;}
body:not(.portfolio-mode) .witness-other-options form>button {justify-self: start;}
body:not(.portfolio-mode) .witness-invitation-status .actions {margin-top: 18px;}
body:not(.portfolio-mode) .witness-demo-completion {margin: 16px 0;}
body:not(.portfolio-mode) .witness-preview :disabled {opacity: .8;}
body:not(.portfolio-mode) .witness-preview input:disabled,body:not(.portfolio-mode) .witness-preview textarea:disabled,body:not(.portfolio-mode) .witness-preview select:disabled {color: #45566b; background: #f5f7fa;}
body:not(.portfolio-mode) .witness-review-card details {margin-top: 12px;}
body:not(.portfolio-mode) .witness-review-card [role="alert"]:empty {display: none;}
body:not(.portfolio-mode) .witness-review-card .actions {align-items: center; gap: 10px;}
body:not(.portfolio-mode) .witness-review-card header strong {font-size: 14px;}
body:not(.portfolio-mode) .witness-review-card .portal-journey-body>p:first-child {margin-top: 0;}
body:not(.portfolio-mode) .witness-answer-options {display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0;}
body:not(.portfolio-mode) .witness-answer-options label {display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid #ccd4df; border-radius: 6px; cursor: pointer;}
body:not(.portfolio-mode) .witness-answer-options input {width: auto; margin: 0;}
body:not(.portfolio-mode) .witness-answer-options label:has(input:checked) {border-color: #233950; background: #eef3f8;}
body:not(.portfolio-mode) .witness-followup li {margin: 8px 0;}
body:not(.portfolio-mode) .staff-profile-photo {display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 16px 0;}
body:not(.portfolio-mode) .staff-profile-photo img {width: 96px; height: 96px; border-radius: 50%; object-fit: cover;}
body:not(.portfolio-mode) .unit-choice-table {min-width: 700px;}
body:not(.portfolio-mode) .unit-choice-table td {vertical-align: top;}
body:not(.portfolio-mode) .unit-choice-table td:nth-child(2) {min-width: 220px;}
body:not(.portfolio-mode) .unit-choice-table td:last-child {min-width: 320px;}
body:not(.portfolio-mode) .unit-choice-table small {display: block;}
body:not(.portfolio-mode) .unit-choice-table p {margin-top: 0;}
body:not(.portfolio-mode) .unit-choice-table input {width: 20px; height: 20px;}
body:not(.portfolio-mode) [data-registration-options] {display: grid; gap: 16px; margin-top: 18px;}
body:not(.portfolio-mode) [data-profile-pane][hidden],body:not(.portfolio-mode) [data-registration-units][hidden] {display: none !important;}
body:not(.portfolio-mode) [data-registration-error]:empty,body:not(.portfolio-mode) [data-enrolment-error]:empty,body:not(.portfolio-mode) [data-template-error]:empty,body:not(.portfolio-mode) #professional-profile-error:empty {display: none;}
body:not(.portfolio-mode) .sampling-plan-modal {width: min(96vw,1450px); max-width: 1450px;}
body:not(.portfolio-mode) .sampling-matrix th,body:not(.portfolio-mode) .sampling-matrix td {padding: 9px; min-width: 78px; text-align: center;}
body:not(.portfolio-mode) .sampling-matrix th:first-child,body:not(.portfolio-mode) .sampling-matrix td:first-child {min-width: 190px; text-align: left;}
body:not(.portfolio-mode) .sampling-matrix th:nth-child(2),body:not(.portfolio-mode) .sampling-matrix td:nth-child(2) {min-width: 170px; text-align: left;}
body:not(.portfolio-mode) .sampling-matrix tbody tr:nth-child(even) {background: #f3f6f9;}
body:not(.portfolio-mode) .sampling-matrix tfoot {font-weight: 700; background: #e6edf4;}
body:not(.portfolio-mode) .sampling-plan .formgrid {margin: 16px 0;}
body:not(.portfolio-mode) .portal-activity-note {margin: 12px 0; color: #536174;}
body:not(.portfolio-mode) .staff-document-section {border-top: 1px solid #dbe2ea; padding: 18px 0;}
body:not(.portfolio-mode) .staff-document-section h3 {margin: 0 0 12px;}
body:not(.portfolio-mode) .staff-document-section>label {display: grid; gap: 7px;}
body:not(.portfolio-mode) .staff-document-section ul {padding: 0; list-style: none;}
body:not(.portfolio-mode) .staff-document-section li {gap: 12px; flex-wrap: wrap;}
body:not(.portfolio-mode) .staff-document-section li>div {min-width: 0; flex: 1 1 240px;}
body:not(.portfolio-mode) .staff-document-section li span {overflow-wrap: anywhere;}
body:not(.portfolio-mode) .staff-document-section details {width: 100%;}
body:not(.portfolio-mode) .staff-document-section details>ul {margin-top: 12px;}
body:not(.portfolio-mode) .nav button>svg {flex: 0 0 20px; width: 20px; height: 20px;}
body:not(.portfolio-mode) .staff-initials-avatar,body:not(.portfolio-mode) .staff-profile-photo img,body:not(.portfolio-mode) .assessor-photo-panel .assessor-photo-large {width: 96px; height: 96px; border-radius: 50%; flex-shrink: 0; object-fit: cover;}
body:not(.portfolio-mode) .staff-initials-avatar {display: inline-flex; align-items: center; justify-content: center; background: #e7edf5; color: #263c55; font-size: 30px; font-weight: 700; border: 1px solid #d1dce9; letter-spacing: .03em;}
body:not(.portfolio-mode) .staff-profile-photo {align-items: center;}
body:not(.portfolio-mode) .staff-profile-photo .staff-initials-avatar {margin-bottom: 12px;}
body:not(.portfolio-mode) .portal-redaction-reminder {border-left: 3px solid #48647f; background: #eef3f8; color: #24364a; padding: 12px 14px; margin: 8px 0 14px; font-size: 14px; line-height: 1.5;}
body:not(.portfolio-mode) .portal-redaction-reminder p {margin: 5px 0 0;}
body:not(.portfolio-mode) .portal-upload-area .portal-redaction-reminder {grid-column: 1/-1; width: 100%; box-sizing: border-box;}
body:not(.portfolio-mode) .portal-plan-sections .plan-support-card {grid-column: auto; align-self: start; min-width: 0;}
body:not(.portfolio-mode) .plan-support-details>summary {list-style: none; cursor: pointer; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 78px; box-sizing: border-box; background: #eef2f7;}
body:not(.portfolio-mode) .plan-support-details>summary::-webkit-details-marker {display: none;}
body:not(.portfolio-mode) .plan-support-details>summary:after {content: '+'; font-size: 22px; color: #243950;}
body:not(.portfolio-mode) .plan-support-details[open]>summary:after {content: '−';}
body:not(.portfolio-mode) .portal-plan-section .plan-support-details>summary>header {padding: 0; border: 0; background: none; display: flex; align-items: center; gap: 10px; flex: 1;}
body:not(.portfolio-mode) .plan-support-details h3 {font-size: 16px !important; line-height: 1.4;}
body:not(.portfolio-mode) .plan-support-status {font-size: 14px; font-weight: 600; white-space: nowrap;}
body:not(.portfolio-mode) .plan-support-card .portal-plan-section-body {padding: 16px; display: grid; gap: 12px;}
body:not(.portfolio-mode) .plan-support-card textarea {min-height: 60px !important; height: 60px; resize: vertical;}
body:not(.portfolio-mode) .plan-support-extra {border-top: 1px solid #dbe2ea; padding-top: 12px;}
body:not(.portfolio-mode) .plan-support-extra>summary {cursor: pointer; font-size: 14px;}
body:not(.portfolio-mode) .plan-support-extra>label {margin-top: 12px; display: grid; gap: 6px;}
@media (max-width:760px){body:not(.portfolio-mode) .portal-plan-sections .plan-support-card {grid-column: 1/-1;}
body:not(.portfolio-mode) .plan-support-details>summary {flex-wrap: wrap;}}
body:not(.portfolio-mode) .staff-document-name {display: flex; align-items: center; gap: 6px;}
body:not(.portfolio-mode) .staff-document-pencil {display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; min-width: 30px; padding: 5px; border: 0; background: transparent; color: #52667c; border-radius: 5px;}
body:not(.portfolio-mode) .staff-document-pencil:hover,body:not(.portfolio-mode) .staff-document-pencil:focus-visible {background: #e7edf5; color: #233950;}
body:not(.portfolio-mode) .staff-document-rename {display: flex; align-items: end; gap: 8px; flex-wrap: wrap; width: 100%;}
body:not(.portfolio-mode) .staff-document-rename label {flex: 1 1 180px;}
body:not(.portfolio-mode) .staff-document-rename input {width: 100%; box-sizing: border-box;}
body:not(.portfolio-mode) .staff-document-rename small {flex-basis: 100%; color: #a32323;}
body:not(.portfolio-mode) .administration-label {margin: 18px 8px 7px; padding-top: 16px; border-top: 1px solid #ffffff30; color: #bed0e5; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;}
body:not(.portfolio-mode) .system-notice-stack:empty {display: none;}
body:not(.portfolio-mode) .system-notice-stack {padding: 12px 24px 0;}
body:not(.portfolio-mode) .system-notice {display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid #bbd4ec; border-left: 5px solid #3976ae; border-radius: 7px; background: #eef6ff; color: #102b49; margin-bottom: 10px;}
body:not(.portfolio-mode) .system-notice svg {width: 24px; height: 24px;}
body:not(.portfolio-mode) .system-notice>div:nth-child(2) {flex: 1; min-width: 0;}
body:not(.portfolio-mode) .system-notice p {margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .system-notice strong {overflow-wrap: anywhere;}
body:not(.portfolio-mode) .system-notice button {background: transparent; border: 0; font-size: 23px; padding: 0 5px;}
body:not(.portfolio-mode) .notice-maintenance {background: #fff4d7; border-color: #e8c779; border-left-color: #eca400;}
body:not(.portfolio-mode) .notice-disruption {background: #fff0ee; border-color: #e3aaa4; border-left-color: #c93129;}
body:not(.portfolio-mode) .notice-list-row {display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid #dbe2e9;}
body:not(.portfolio-mode) .notice-list-row p {margin: 6px 0;}
body:not(.portfolio-mode) .notice-list-row details {margin-top: 10px;}
body:not(.portfolio-mode) #system-notice-error:empty {display: none;}
@media print{body:not(.portfolio-mode) .system-notice-stack {display: none;}}
@media (max-width:650px){body:not(.portfolio-mode) .system-notice-stack {padding: 10px;}
body:not(.portfolio-mode) .notice-list-row {display: block;}}
body:not(.portfolio-mode) .portal-panel .unit-save-actions {display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #dbe2ea;}
body:not(.portfolio-mode) .portal-panel .unit-save-actions[hidden] {display: none;}
body:not(.portfolio-mode) .portal-panel .unit-save-actions button {margin: 0; min-height: 40px; padding: 10px 16px;}
body:not(.portfolio-mode) .portal-panel .unit-save-actions .primary {background: #243950; border-color: #243950; color: #fff;}
body:not(.portfolio-mode) #enrolment-unit-confirm {margin-bottom: 24px;}
body:not(.portfolio-mode) #enrolment-unit-confirm [data-enrolment-error]:empty,body:not(.portfolio-mode) #portal-selection-error:empty,body:not(.portfolio-mode) #portal-selection-review:empty,body:not(.portfolio-mode) [data-unit-confirm-review]:empty {display: none;}
body:not(.portfolio-mode) .portal-panel .unit-save-confirmation,body:not(.portfolio-mode) .portal-panel .portal-unit-change-review {display: block; padding: 20px; margin: 20px 0 24px; background: #f5f7fa; border: 1px solid #c3cedb; border-radius: 8px;}
body:not(.portfolio-mode) .unit-save-confirmation h3,body:not(.portfolio-mode) .portal-unit-change-review h3 {margin: 0 0 10px;}
body:not(.portfolio-mode) .unit-save-confirmation p {margin: 0; line-height: 1.5;}
body:not(.portfolio-mode) .portal-unit-change-review h4 {margin: 16px 0 6px;}
body:not(.portfolio-mode) .portal-unit-change-review ul {margin: 0; padding-left: 20px;}
body:not(.portfolio-mode) .portal-unit-change-review p {max-width: none;}
body:not(.portfolio-mode) .portal-panel .unit-choice-table input[type=radio],body:not(.portfolio-mode) .portal-panel .unit-choice-table input[type=checkbox],body:not(.portfolio-mode) .portal-panel .portal-selection input {width: 18px; height: 18px; min-height: 0; margin: 3px 0; flex-shrink: 0; accent-color: #243950;}
body:not(.portfolio-mode) .unit-choice-table td {vertical-align: top; padding: 14px 12px;}
body:not(.portfolio-mode) .unit-choice-table td p {margin: 0 0 8px;}
body:not(.portfolio-mode) .unit-choice-table td details {margin: 8px 0 0;}
body:not(.portfolio-mode) .portal-panel .unit-choice-table summary {padding: 10px 12px;}
body:not(.portfolio-mode) .portal-panel .portal-plan-sections .plan-support-card {padding: 0; overflow: hidden; border: 1px solid #c3cedb; border-radius: 8px; align-self: start;}
body:not(.portfolio-mode) .portal-panel .plan-support-card>.plan-support-details {border: 0; margin: 0; border-radius: 0;}
body:not(.portfolio-mode) .portal-panel .plan-support-details>summary {display: grid; grid-template-columns: minmax(0,1fr) auto 14px; gap: 12px; min-height: 72px; padding: 16px; background: #f5f7fa; list-style: none;}
body:not(.portfolio-mode) .portal-panel .plan-support-details>summary:before {display: none; content: none;}
body:not(.portfolio-mode) .portal-panel .plan-support-details>summary:after {content: '›'; font-size: 24px; line-height: 1; text-align: center;}
body:not(.portfolio-mode) .portal-panel .plan-support-details[open]>summary:after {transform: rotate(90deg);}
body:not(.portfolio-mode) .portal-panel .plan-support-details>summary>header {padding: 0; margin: 0; border: 0; background: none; min-width: 0;}
body:not(.portfolio-mode) .portal-panel .plan-support-details>summary>header>span {display: none;}
body:not(.portfolio-mode) .portal-panel .plan-support-details h3 {margin: 0 !important; font-size: 15px !important; line-height: 1.35;}
body:not(.portfolio-mode) .portal-panel .plan-support-status {font-size: 12px; padding: 4px 8px; border-radius: 4px; background: #e8edf3; color: #34465c; white-space: nowrap;}
body:not(.portfolio-mode) .portal-panel .plan-support-details>.portal-plan-section-body {border-top: 1px solid #dbe2ea; padding: 16px; gap: 14px;}
body:not(.portfolio-mode) .portal-panel .plan-support-details:not([open])>.portal-plan-section-body {display: none;}
body:not(.portfolio-mode) .portal-panel .plan-support-card .portal-doc-grid {display: grid; grid-template-columns: 1fr; gap: 14px;}
body:not(.portfolio-mode) .portal-panel .plan-support-card label {margin: 0; display: grid; gap: 6px;}
body:not(.portfolio-mode) .portal-panel .plan-support-card label input,body:not(.portfolio-mode) .portal-panel .plan-support-card label select,body:not(.portfolio-mode) .portal-panel .plan-support-card label textarea {margin: 0; width: 100%; box-sizing: border-box;}
body:not(.portfolio-mode) .portal-panel .plan-support-extra {margin: 0; border: 0; border-top: 1px solid #dbe2ea; border-radius: 0; padding: 12px 0 0;}
body:not(.portfolio-mode) .portal-panel .plan-support-extra>summary {padding: 0; background: none; font-size: 13px;}
body:not(.portfolio-mode) .portal-panel .plan-support-extra>label {margin-top: 12px;}
@media (max-width:600px){body:not(.portfolio-mode) .portal-panel .plan-support-details>summary {grid-template-columns: minmax(0,1fr) 14px;}
body:not(.portfolio-mode) .portal-panel .plan-support-status {grid-row: 2; justify-self: start;}
body:not(.portfolio-mode) .portal-panel .plan-support-details>summary:after {grid-row: 1; grid-column: 2;}
body:not(.portfolio-mode) .portal-panel .unit-save-actions {justify-content: flex-start;}}
body:not(.portfolio-mode) .portal-panel .witness-nomination-review {margin: 20px 0 0; border: 1px solid #c3cedb; border-radius: 8px;}
body:not(.portfolio-mode) .portal-panel .witness-nomination-review>summary {padding: 14px 18px; background: #f5f7fa; font-weight: 600; gap: 10px;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review {display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; margin: 0; padding: 20px; border-top: 1px solid #dbe2ea;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review label {display: grid; gap: 8px; margin: 0; font-weight: 600;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review .witness-review-decision {max-width: 360px; width: 100%;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review select,body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review textarea {margin: 0; width: 100%; box-sizing: border-box; padding: 10px 12px;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review textarea {min-height: 90px; height: 90px; resize: vertical;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review small {font-size: 13px; color: #52637a; font-weight: 400; margin: 0;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review [data-stage-error] {margin: 0; color: #a12d24;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review [data-stage-error]:empty {display: none;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review .witness-review-actions {display: flex; justify-content: flex-end; padding-top: 16px; border-top: 1px solid #dbe2ea;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review .witness-review-actions button {width: auto; justify-self: end; min-height: 40px; margin: 0; padding: 10px 18px; background: #243950; border: 1px solid #243950; color: white;}
@media (max-width:600px){body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review {padding: 16px;}
body:not(.portfolio-mode) .portal-panel #ssi6-nomination-review .witness-review-decision {max-width: none;}}
body:not(.portfolio-mode) .observation-tabs {display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 12px; margin: 18px 0;}
body:not(.portfolio-mode) .observation-tabs button {flex: 0 0 auto; max-width: 280px; text-align: left; white-space: normal; line-height: 1.4; padding: 12px 16px;}
body:not(.portfolio-mode) .observation-tabs [aria-selected=true] {background: #243950; color: white; border-color: #243950;}
body:not(.portfolio-mode) .observation-video-panel {border: 1px solid #c3cedb; border-radius: 8px; overflow: hidden; margin: 0 0 20px;}
body:not(.portfolio-mode) .observation-video-panel>header,body:not(.portfolio-mode) .observation-signed-report>header {display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 18px 20px; background: #f2f5f9;}
body:not(.portfolio-mode) .observation-video-panel h3 {margin: 4px 0;}
body:not(.portfolio-mode) .observation-video-panel header>span {font-size: 13px; font-weight: 600;}
body:not(.portfolio-mode) .observation-video-layout {display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 20px; padding: 20px;}
body:not(.portfolio-mode) .observation-video-layout video {width: 100%; max-height: 360px; background: #142334; border-radius: 6px;}
body:not(.portfolio-mode) .observation-video-layout small {display: block; margin-top: 8px; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .observation-video-layout aside {padding: 16px; background: #f4f7fb; border-radius: 6px; line-height: 1.6;}
body:not(.portfolio-mode) .observation-video-layout h4 {margin: 0 0 8px;}
body:not(.portfolio-mode) .observation-video-layout p {margin: 0 0 16px;}
body:not(.portfolio-mode) #observation-video-form,body:not(.portfolio-mode) #observation-sign-form {display: grid; gap: 18px; padding: 20px;}
body:not(.portfolio-mode) #observation-video-form>label,body:not(.portfolio-mode) #observation-sign-form>label:not(.observation-check) {display: grid; gap: 8px; margin: 0;}
body:not(.portfolio-mode) #observation-video-form input[type=date],body:not(.portfolio-mode) #observation-video-form select {max-width: 330px;}
body:not(.portfolio-mode) #observation-video-form textarea,body:not(.portfolio-mode) #observation-sign-form textarea {margin: 0; min-height: 90px; width: 100%;}
body:not(.portfolio-mode) .portal-panel .observation-check {display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; line-height: 1.5;}
body:not(.portfolio-mode) .portal-panel .observation-check input,body:not(.portfolio-mode) .observation-criteria-table input {width: 18px; height: 18px; min-height: 0; flex: 0 0 18px; accent-color: #243950; margin: 2px 0;}
body:not(.portfolio-mode) .observation-criteria h4 {margin: 0;}
body:not(.portfolio-mode) .observation-criteria>p {font-size: 14px; line-height: 1.6;}
body:not(.portfolio-mode) .observation-criteria-table {overflow-x: auto;}
body:not(.portfolio-mode) .observation-criteria-table table {width: 100%; border-collapse: collapse;}
body:not(.portfolio-mode) .observation-criteria-table th,body:not(.portfolio-mode) .observation-criteria-table td {padding: 12px; border: 1px solid #d7e0e9; vertical-align: top;}
body:not(.portfolio-mode) .observation-criteria-table th {background: #edf2f7; text-align: left;}
body:not(.portfolio-mode) .observation-criteria-table td:first-child {width: 190px;}
body:not(.portfolio-mode) .observation-criteria-table td small {display: block; font-size: 12px; margin-top: 5px;}
body:not(.portfolio-mode) .observation-criteria-table td:last-child {text-align: center; width: 90px;}
body:not(.portfolio-mode) .observation-actions {display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 16px; border-top: 1px solid #dbe2ea;}
body:not(.portfolio-mode) .observation-actions button {width: auto; margin: 0;}
body:not(.portfolio-mode) .observation-actions .primary {background: #243950; border-color: #243950; color: white;}
body:not(.portfolio-mode) [data-observation-error]:empty {display: none;}
body:not(.portfolio-mode) [data-observation-error] {margin: 0; color: #a22c26;}
body:not(.portfolio-mode) .observation-requirements>div {padding: 16px;}
body:not(.portfolio-mode) .observation-requirements section {display: flex; gap: 20px; justify-content: space-between; border-bottom: 1px solid #dbe2ea; padding: 16px 0;}
body:not(.portfolio-mode) .observation-requirements section>div {flex: 1; min-width: 0;}
body:not(.portfolio-mode) .observation-requirements .portal-redaction-reminder {font-size: 12px;}
body:not(.portfolio-mode) .observation-excluded>p {padding: 12px 18px;}
body:not(.portfolio-mode) .observation-history>p {padding: 0 18px;}
body:not(.portfolio-mode) .observation-signed-report {margin: 24px 0; border: 1px solid #c3cedb; border-radius: 8px; overflow: hidden;}
body:not(.portfolio-mode) .observation-signed-report article {padding: 20px; border-top: 1px solid #dbe2ea;}
body:not(.portfolio-mode) .observation-signed-report h4 {margin: 0 0 12px;}
body:not(.portfolio-mode) .observation-signed-report p {white-space: pre-wrap; line-height: 1.6;}
body:not(.portfolio-mode) .observation-signed-signature {width: 220px; height: 75px; object-fit: contain; object-position: left;}
body:not(.portfolio-mode) .observation-signed-report details {margin: 16px;}
body:not(.portfolio-mode) .observation-signed-report details p {padding: 0 16px;}
body:not(.portfolio-mode) .observation-video-panel .signature-pad {max-width: 600px;}
@media (max-width:760px){body:not(.portfolio-mode) .observation-video-layout {grid-template-columns: 1fr;}
body:not(.portfolio-mode) .observation-requirements section {display: block;}
body:not(.portfolio-mode) .observation-criteria-table table {min-width: 600px;}
body:not(.portfolio-mode) .observation-video-panel>header {align-items: flex-start;}}
body:not(.portfolio-mode) .evidence-video-badge {display: inline-flex; align-items: center; background: #eee7fa; color: #503080; border: 1px solid #cfc0e9; border-radius: 5px; padding: 4px 7px; font-size: 11px; font-weight: 800; letter-spacing: .04em; white-space: nowrap;}
body:not(.portfolio-mode) .evidence-ref-badges {display: flex; gap: 5px; align-items: center; flex-wrap: wrap;}
body:not(.portfolio-mode) .observation-upload-summary {padding: 18px 20px; background: #eef4fa; border: 1px solid #d3dfec; border-radius: 10px; margin-bottom: 24px;}
body:not(.portfolio-mode) .observation-upload-summary p {margin: 6px 0 0;}
body:not(.portfolio-mode) .observation-request-card {background: white; border: 1px solid #cfd8e3; border-radius: 12px; margin: 0 0 26px; overflow: hidden;}
body:not(.portfolio-mode) .observation-request-card>header {display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 22px; background: #f6f8fb; border-bottom: 1px solid #dce3eb;}
body:not(.portfolio-mode) .observation-request-card>header>div {display: flex; align-items: center; gap: 9px; flex-wrap: wrap;}
body:not(.portfolio-mode) .observation-request-card h3 {margin: 0; font-size: 17px;}
body:not(.portfolio-mode) .observation-request-body {padding: 20px 22px;}
body:not(.portfolio-mode) .observation-request-guidance {display: block; width: 100%; max-width: none !important; box-sizing: border-box; margin: 0 0 20px; line-height: 1.6;}
body:not(.portfolio-mode) .observation-guidance-label {display: table; padding: 3px 9px; margin-bottom: 8px; background: #eef3f8; color: #233950; border-radius: 5px; font-size: 13px; font-weight: 700;}
body:not(.portfolio-mode) .observation-upload-state {display: inline-block; border: 1px solid #afd6c6; background: #edf7f2; color: #205c47; border-radius: 6px; padding: 6px 10px; font-size: 13px; font-weight: 700; white-space: nowrap;}
body:not(.portfolio-mode) .observation-upload-state.missing {background: #f5f6f8; border-color: #ccd2da; color: #4d5968;}
body:not(.portfolio-mode) .observation-candidate-file,body:not(.portfolio-mode) .observation-report-video {display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px !important; align-items: start; margin-bottom: 20px;}
body:not(.portfolio-mode) .observation-playback video {display: block; width: 100%; aspect-ratio: 16/9; background: #102236; border-radius: 9px;}
body:not(.portfolio-mode) .observation-video-details {min-width: 0;}
body:not(.portfolio-mode) .observation-video-name {display: flex; align-items: start; gap: 12px; margin-top: 8px; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .observation-video-name .portal-rename {border: 0; margin: 0; min-width: 24px;}
body:not(.portfolio-mode) .observation-video-name .portal-rename summary {display: inline-flex; cursor: pointer; padding: 4px; border: 0;}
body:not(.portfolio-mode) .observation-video-name .portal-rename summary::after {display: none;}
body:not(.portfolio-mode) .observation-video-name .portal-rename[open] {min-width: 180px;}
body:not(.portfolio-mode) .observation-empty-video {padding: 24px; border: 1px dashed #c5cfdb; border-radius: 8px; color: #526273; background: #fafbfd;}
body:not(.portfolio-mode) .observation-request-body footer {display: flex; align-items: center; gap: 14px; margin-top: 20px;}
body:not(.portfolio-mode) .observation-upload-button {position: relative; display: inline-flex; align-items: center; cursor: pointer; background: #233950; color: #fff; padding: 11px 17px; border-radius: 7px; font-weight: 700; overflow: hidden;}
body:not(.portfolio-mode) .observation-upload-button input {position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;}
body:not(.portfolio-mode) .observation-upload-button:focus-within {outline: 3px solid #7197cb; outline-offset: 3px;}
body:not(.portfolio-mode) .observation-upload-limit {color: #57677a;}
body:not(.portfolio-mode) .observation-report-video {border: 1px solid #d6dfe9 !important; border-radius: 10px; padding: 20px !important; margin: 22px 0 !important;}
body:not(.portfolio-mode) .observation-report-findings h4 {margin-top: 0;}
body:not(.portfolio-mode) .observation-report-findings ul {padding-left: 20px;}
@media (max-width:850px){body:not(.portfolio-mode) .observation-candidate-file,body:not(.portfolio-mode) .observation-report-video {grid-template-columns: 1fr;}
body:not(.portfolio-mode) .observation-request-card>header,body:not(.portfolio-mode) .observation-request-body footer {align-items: flex-start; flex-direction: column;}
body:not(.portfolio-mode) .observation-request-body {padding: 16px;}}
body:not(.portfolio-mode) .witness-unit-review {padding: 20px; display: grid; gap: 16px;}
body:not(.portfolio-mode) .witness-unit-review h3,body:not(.portfolio-mode) .witness-unit-review p {margin: 0;}
body:not(.portfolio-mode) .witness-review-meta {display: grid; grid-template-columns: 2fr 1fr; gap: 18px;}
body:not(.portfolio-mode) .witness-unit-review label {display: grid; gap: 7px;}
body:not(.portfolio-mode) .witness-unit-review label[hidden] {display: none;}
body:not(.portfolio-mode) .witness-unit-review td {vertical-align: top; padding: 14px;}
body:not(.portfolio-mode) .witness-unit-review td:first-child {width: 42%;}
body:not(.portfolio-mode) .witness-unit-review td:last-child {width: 36%;}
body:not(.portfolio-mode) .witness-unit-review select,body:not(.portfolio-mode) .witness-unit-review textarea {width: 100%; box-sizing: border-box;}
body:not(.portfolio-mode) .witness-unit-review [data-unit-note-label] {margin-top: 12px;}
body:not(.portfolio-mode) .witness-unit-review .witness-review-confirm {display: flex; align-items: flex-start; gap: 10px;}
body:not(.portfolio-mode) .witness-unit-review .witness-review-confirm input {width: auto; margin-top: 4px;}
body:not(.portfolio-mode) .witness-unit-review .actions button {width: auto;}
body:not(.portfolio-mode) .witness-mapping-summary {padding: 12px; border: 1px solid #dce3ec; border-radius: 7px;}
body:not(.portfolio-mode) .witness-unit-review td details {margin-top: 8px;}
@media (max-width:700px){body:not(.portfolio-mode) .witness-review-meta {grid-template-columns: 1fr;}
body:not(.portfolio-mode) .witness-unit-review {padding: 12px;}}
body:not(.portfolio-mode) .witness-needs-action {border: 2px solid #ce9b36 !important; background: #fffaf0 !important;}
body:not(.portfolio-mode) .witness-needs-action>summary {color: #674712 !important; font-size: 16px !important; font-weight: 800 !important;}
body:not(.portfolio-mode) .witness-choice-buttons {display: flex; flex-wrap: wrap; gap: 12px;}
body:not(.portfolio-mode) .witness-choice-buttons label {display: flex !important; align-items: center; gap: 8px; border: 1px solid #bdcad8; border-radius: 7px; padding: 12px 16px; background: white; cursor: pointer;}
body:not(.portfolio-mode) .witness-choice-buttons label:has(input:checked) {background: #233950; color: white; border-color: #233950;}
body:not(.portfolio-mode) .witness-choice-buttons input {width: auto !important; margin: 0;}
body:not(.portfolio-mode) .witness-review-feedback[hidden] {display: none !important;}
body:not(.portfolio-mode) .witness-suitability-success {display: flex; gap: 16px; align-items: center; padding: 18px; margin: 18px 0; background: #edf8f2; border: 1px solid #b4d9c5; border-radius: 9px; color: #20573e;}
body:not(.portfolio-mode) .witness-success-tick {display: grid; place-items: center; flex: none; width: 44px; height: 44px; background: #206c4b; color: white; border-radius: 50%; font-size: 30px; font-weight: 800;}
body:not(.portfolio-mode) .witness-suitability-success p {margin: 5px 0 0; font-size: 13px;}
body:not(.portfolio-mode) .witness-limited-mapping[hidden] {display: none !important;}
body:not(.portfolio-mode) .witness-limited-mapping td {background: #f3f7fb; padding: 18px !important;}
body:not(.portfolio-mode) .witness-limited-mapping fieldset {border: 1px solid #ccd9e6; border-radius: 8px; padding: 16px;}
body:not(.portfolio-mode) .witness-limited-mapping legend {font-weight: 700; padding: 0 8px;}
body:not(.portfolio-mode) .witness-limited-mapping label {display: flex !important; gap: 10px; align-items: flex-start; margin: 12px 0;}
body:not(.portfolio-mode) .witness-limited-mapping input {width: auto !important; margin-top: 4px; flex: none;}
body:not(.portfolio-mode) .witness-mapping-effect {font-size: 12px; color: #52647a; margin-top: 9px !important;}
body:not(.portfolio-mode) .witness-comparison {display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; align-items: start; margin: 18px 0;}
body:not(.portfolio-mode) .witness-comparison>section {min-width: 0; background: #fff; border: 1px solid #d6e0ec; border-radius: 12px; padding: 20px;}
body:not(.portfolio-mode) .witness-comparison h3 {margin: 0 0 16px;}
body:not(.portfolio-mode) .witness-inline-recording {margin: 0 0 18px;}
body:not(.portfolio-mode) .witness-inline-recording video {display: block; width: 100%; max-height: 340px; background: #111c31; border-radius: 8px;}
body:not(.portfolio-mode) .witness-inline-recording audio {width: 100%;}
body:not(.portfolio-mode) .witness-inline-recording figcaption {margin-top: 8px; font-size: 14px; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .witness-inline-pdf {margin-top: 20px; border-top: 1px solid #d6e0ec; padding-top: 16px;}
body:not(.portfolio-mode) .witness-inline-pdf header {display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;}
body:not(.portfolio-mode) .witness-inline-pdf header h3 {margin: 0;}
body:not(.portfolio-mode) .witness-inline-pdf .actions {margin: 0; gap: 8px;}
body:not(.portfolio-mode) .witness-inline-pdf iframe {display: block; width: 100%; height: 650px; border: 1px solid #d6e0ec; background: #f1f4f8; border-radius: 6px;}
body:not(.portfolio-mode) .witness-unit-cards {display: grid; gap: 14px;}
body:not(.portfolio-mode) .witness-unit-card {border: 1px solid #d6e0ec; border-radius: 8px; padding: 16px; margin-bottom: 12px; min-width: 0;}
body:not(.portfolio-mode) .witness-unit-card summary {display: flex; gap: 12px; justify-content: space-between; cursor: pointer;}
body:not(.portfolio-mode) .witness-unit-card summary strong {font-size: 14px;}
body:not(.portfolio-mode) .witness-unit-heading>strong {display: block; margin-bottom: 8px;}
body:not(.portfolio-mode) .witness-unit-decision select,body:not(.portfolio-mode) .witness-unit-decision textarea {width: 100%; box-sizing: border-box;}
body:not(.portfolio-mode) .witness-unit-decision label {display: grid; gap: 8px; margin-top: 12px;}
body:not(.portfolio-mode) .witness-comparison [hidden] {display: none !important;}
body:not(.portfolio-mode) .witness-comparison .witness-review-meta {display: grid; grid-template-columns: 1fr; gap: 12px;}
body:not(.portfolio-mode) .witness-comparison .witness-review-meta select {max-width: 100%; width: 100%;}
body:not(.portfolio-mode) .witness-comparison .witness-limited-mapping {padding: 0; margin-top: 12px;}
body:not(.portfolio-mode) .witness-comparison .witness-limited-mapping fieldset {margin: 0; padding: 12px; min-width: 0;}
body:not(.portfolio-mode) .witness-comparison .witness-limited-mapping label {display: flex; align-items: flex-start; gap: 10px; margin: 12px 0;}
body:not(.portfolio-mode) .witness-comparison .witness-limited-mapping input {flex: none; margin-top: 4px;}
body:not(.portfolio-mode) .witness-review-complete {background: #edf8f2; border: 1px solid #a8d9bd; padding: 16px; border-radius: 8px; margin-bottom: 20px;}
body:not(.portfolio-mode) .witness-review-complete>strong {font-size: 18px; color: #17613c;}
body:not(.portfolio-mode) .witness-supported-table {width: 100%; margin-top: 14px;}
body:not(.portfolio-mode) .witness-supported-table td:last-child {text-align: center; color: #17613c;}
body:not(.portfolio-mode) .witness-approved-details {margin: 12px 0;}
body:not(.portfolio-mode) .witness-approved-details>summary {cursor: pointer; padding: 12px; font-weight: 600;}
body:not(.portfolio-mode) .witness-comparison [data-witness-error]:empty {display: none;}
@media (max-width:950px){body:not(.portfolio-mode) .witness-comparison {grid-template-columns: 1fr;}
body:not(.portfolio-mode) .witness-inline-pdf iframe {height: 560px;}}
@media print{body:not(.portfolio-mode) .witness-comparison {display: block;}
body:not(.portfolio-mode) .witness-comparison iframe,body:not(.portfolio-mode) .witness-comparison video,body:not(.portfolio-mode) .witness-comparison audio {display: none;}}
body:not(.portfolio-mode) .discussion-upload-panel {border: 1px solid #d5dee8; border-radius: 10px; background: #f7f9fc; margin-bottom: 20px;}
body:not(.portfolio-mode) .discussion-upload-panel>summary {cursor: pointer; padding: 15px 18px; font-weight: 700; color: #21384f;}
body:not(.portfolio-mode) .discussion-upload-panel>div {padding: 0 18px 18px;}
body:not(.portfolio-mode) .discussion-upload-row {display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin: 12px 0;}
body:not(.portfolio-mode) .discussion-comparison {display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; margin: 18px 0; align-items: stretch;}
body:not(.portfolio-mode) .discussion-player,body:not(.portfolio-mode) .discussion-controls {min-width: 0; border: 1px solid #d5dee8; border-radius: 10px; padding: 18px; background: #fff;}
body:not(.portfolio-mode) .discussion-player h4 {margin: 0 0 14px; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .discussion-player video {width: 100%; max-height: 380px; background: #172536; border-radius: 7px;}
body:not(.portfolio-mode) .discussion-player audio {width: 100%;}
body:not(.portfolio-mode) .discussion-empty {display: grid; place-items: center; min-height: 220px; background: #f3f6f9; border-radius: 7px; color: #536475; text-align: center; padding: 20px;}
body:not(.portfolio-mode) .discussion-controls .outcome-timings {border: 0; margin: 0; padding: 0;}
body:not(.portfolio-mode) .discussion-controls .recording-edit-row {display: grid; grid-template-columns: 1fr 1fr; gap: 10px;}
body:not(.portfolio-mode) .discussion-controls .recording-edit-row>label:first-child,body:not(.portfolio-mode) .discussion-controls .recording-edit-row>label:last-child {grid-column: 1/-1;}
body:not(.portfolio-mode) .discussion-controls select,body:not(.portfolio-mode) .discussion-upload-panel input,body:not(.portfolio-mode) .discussion-upload-panel select {max-width: 100%; width: 100%;}
body:not(.portfolio-mode) .discussion-controls .actions {flex-wrap: wrap; gap: 12px;}
body:not(.portfolio-mode) .discussion-saved {font-size: 12px; color: #245441;}
body:not(.portfolio-mode) .discussion-unit-signed {padding: 15px 18px; margin-top: 12px; background: #eef7f2; border: 1px solid #c4dfcf; border-radius: 8px; color: #244f3c;}
body:not(.portfolio-mode) .discussion-file-picker {display: block; max-width: 550px;}
@media (max-width:800px){body:not(.portfolio-mode) .discussion-comparison,body:not(.portfolio-mode) .discussion-upload-row {grid-template-columns: 1fr;}}
@media print{body:not(.portfolio-mode) .discussion-upload-panel {display: none;}
body:not(.portfolio-mode) .discussion-comparison {display: block;}
body:not(.portfolio-mode) .discussion-player {display: none;}}
body:not(.portfolio-mode) .portal-panel .portal-matrix th,body:not(.portfolio-mode) .portal-panel .portal-matrix td,body:not(.portfolio-mode) .portal-panel .portal-criteria th,body:not(.portfolio-mode) .portal-panel .portal-criteria td {text-align: center !important; vertical-align: middle !important;}
body:not(.portfolio-mode) .portal-panel .portal-matrix th button,body:not(.portfolio-mode) .portal-panel .portal-matrix td button {text-align: center; justify-content: center;}
body:not(.portfolio-mode) .portal-panel .portal-criteria tbody th {font-size: 17px; font-weight: 700;}
body:not(.portfolio-mode) .portal-panel .portal-matrix thead th:nth-child(n+4):not(:last-child) {font-size: 15px;}
body:not(.portfolio-mode) .portal-panel .portal-matrix .portal-map-cell {display: flex; align-items: center; justify-content: center; width: 100%; min-height: 38px;}
body:not(.portfolio-mode) .evidence-type-neutral {background: #edf2f7; color: #294258; border-color: #cbd7e2;}
body:not(.portfolio-mode) .evidence-next-step p {max-width: none; width: 100%; line-height: 1.6;}
body:not(.portfolio-mode) .evidence-next-step button {margin: 3px 0 12px;}
body:not(.portfolio-mode) .portal-evidence-list .evidence-type-badge {white-space: normal; max-width: 180px; line-height: 1.35;}
body:not(.portfolio-mode) .portal-evidence-body,body:not(.portfolio-mode) .portal-evidence-body .portal-guidance-sections,body:not(.portfolio-mode) .portal-evidence-body .portal-guidance-sections>div,body:not(.portfolio-mode) .portal-evidence-body .portal-guidance-specific,body:not(.portfolio-mode) .portal-modal .portal-guidance-sections {width: 100%; max-width: none; min-width: 0; box-sizing: border-box;}
body:not(.portfolio-mode) .portal-evidence-body p,body:not(.portfolio-mode) .portal-evidence-body .portal-guidance-sections p,body:not(.portfolio-mode) .portal-modal .portal-guidance-sections p,body:not(.portfolio-mode) .portal-eqa-evidence .eqa-evidence-notes p {width: 100%; max-width: none !important; box-sizing: border-box; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .discussion-player .discussion-media-frame {position: relative; width: 100%; aspect-ratio: 16/9; box-sizing: border-box; border-radius: 8px; overflow: hidden; background: #102236; color: #fff; min-height: 0;}
body:not(.portfolio-mode) .discussion-player .discussion-media-frame video {display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; border-radius: 0;}
body:not(.portfolio-mode) .discussion-player .discussion-audio-frame {display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; padding: 20px;}
body:not(.portfolio-mode) .discussion-audio-label {display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;}
body:not(.portfolio-mode) .discussion-player .discussion-audio-frame audio {width: 100%; margin-top: auto;}
body:not(.portfolio-mode) .discussion-audio-label {margin: auto 0 0;}
body:not(.portfolio-mode) .discussion-player .discussion-empty {padding: 20px; text-align: center;}
@media (max-width:480px){body:not(.portfolio-mode) .discussion-player .discussion-audio-frame {padding: 12px; gap: 8px;}
body:not(.portfolio-mode) .discussion-audio-label svg {width: 26px; height: 26px;}
body:not(.portfolio-mode) .discussion-audio-label {gap: 5px;}}
body:not(.portfolio-mode) .portal-panel .portal-media-frame,body:not(.portfolio-mode) .portal-panel .portal-media-placeholder {position: relative; width: 100%; aspect-ratio: 16/9; min-height: 0; box-sizing: border-box; border-radius: 8px; overflow: hidden; background: #102236; color: #fff;}
body:not(.portfolio-mode) .portal-panel .portal-media-frame video {display: block; width: 100%; height: 100%; max-height: none; object-fit: contain; border-radius: 0; aspect-ratio: auto;}
body:not(.portfolio-mode) .portal-panel .portal-audio-frame {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px;}
body:not(.portfolio-mode) .portal-panel .portal-audio-frame audio {width: 100%; margin-top: auto;}
body:not(.portfolio-mode) .portal-audio-label {margin: auto 0 0; font-size: 15px; font-weight: 600;}
body:not(.portfolio-mode) .portal-panel .portal-media-placeholder {display: grid; place-items: center; text-align: center; padding: 22px; border: 0; margin-bottom: 16px;}
body:not(.portfolio-mode) .portal-panel .eqa-inline-feedback {border: 0; padding: 0; margin: 18px 0;}
body:not(.portfolio-mode) .portal-panel .witness-inline-recording .portal-media-frame {margin-bottom: 14px;}
@media (max-width:480px){body:not(.portfolio-mode) .portal-panel .portal-audio-frame {padding: 12px; gap: 8px;}}
@media (min-width:851px){body:not(.portfolio-mode) .portal-panel .observation-request-body>.observation-empty-video {width: calc((100% - 24px)/2);}
body:not(.portfolio-mode) .portal-panel .witness-review-card .portal-journey-body>.portal-media-placeholder {width: calc((100% - 20px)/2);}}
body:not(.portfolio-mode) .portal-plan-form textarea[name="approach"] {min-height: 260px; width: 100%; box-sizing: border-box; resize: vertical; line-height: 1.65;}
body:not(.portfolio-mode) .portal-plan-form .plan-methods {border: 1px solid #ccd7e3; border-radius: 8px; margin: 16px 0; padding: 16px 20px; min-width: 0;}
body:not(.portfolio-mode) .plan-methods legend {font-weight: 700; padding: 0 6px;}
body:not(.portfolio-mode) .portal-plan-form .plan-method-choice {display: flex; align-items: center; gap: 10px; margin: 10px 0; font-weight: 400;}
body:not(.portfolio-mode) .portal-plan-form .plan-method-choice input {width: 18px; height: 18px; flex: 0 0 18px; margin: 0; accent-color: #243c53;}
body:not(.portfolio-mode) .plan-method-choice input:disabled {opacity: 1;}
body:not(.portfolio-mode) .plan-method-other[hidden] {display: none;}
body:not(.portfolio-mode) .plan-method-other input {width: 100%; box-sizing: border-box;}
body:not(.portfolio-mode) .plan-method-options {display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px 24px;}
body:not(.portfolio-mode) .portal-plan-form .plan-method-choice {align-items: flex-start; margin: 6px 0; line-height: 1.5;}
body:not(.portfolio-mode) .portal-plan-form .plan-method-choice input {margin-top: 2px;}
body:not(.portfolio-mode) .plan-method-choice input[data-method-locked] {cursor: pointer;}
@media (max-width:1000px){body:not(.portfolio-mode) .plan-method-options {grid-template-columns: repeat(2,minmax(0,1fr));}}
@media (max-width:600px){body:not(.portfolio-mode) .plan-method-options {grid-template-columns: 1fr;}}
body:not(.portfolio-mode) .csm7-video-frame {max-width: 720px;}
body:not(.portfolio-mode) .csm7-report-signature {width: 180px; max-width: 100%;}
body:not(.portfolio-mode) #csm7-observation-report>label {display: block; margin: 14px 0;}
body:not(.portfolio-mode) #csm7-observation-report textarea {display: block; width: 100%; box-sizing: border-box; margin-top: 6px;}
body:not(.portfolio-mode) .portal-app .portal-plan-form .plan-method-choice input[type="checkbox"] {width: 18px; height: 18px; min-width: 18px; min-height: 18px; max-height: 18px; padding: 0; border: 0; box-shadow: none; outline: none; flex: 0 0 18px; align-self: flex-start;}
body:not(.portfolio-mode) .portal-app .portal-plan-form .plan-method-choice input[type="checkbox"]:focus-visible {outline: 2px solid #315d85; outline-offset: 3px;}
body:not(.portfolio-mode) .sidebar {padding: 20px 14px 12px; gap: 0; overflow: hidden;}
body:not(.portfolio-mode) .sidebar>.brand {flex-shrink: 0;}
body:not(.portfolio-mode) .sidebar>.centre {margin: 14px 0 12px; padding: 10px 12px; flex-shrink: 0;}
body:not(.portfolio-mode) .sidebar>.nav {flex: 1 1 auto; min-height: 70px; overflow-y: auto; overflow-x: hidden; align-content: start; padding-right: 3px; scrollbar-width: thin; gap: 2px;}
body:not(.portfolio-mode) .sidebar .nav button {padding: 9px 10px; font-size: 14px; gap: 10px;}
body:not(.portfolio-mode) .sidebar>.sidebar-calendar {flex: 0 0 auto; margin: 12px 0 0; padding: 10px 2px 4px; width: 100%; border: 0; border-top: 1px solid #dde4ed; border-radius: 0; background: transparent;}
body:not(.portfolio-mode) .sidebar .mini-calendar-heading {gap: 0;}
body:not(.portfolio-mode) .sidebar .mini-calendar-heading .mini-month-title {white-space: nowrap; font-size: 13px; padding: 4px 1px;}
body:not(.portfolio-mode) .sidebar .mini-calendar-heading button {padding: 4px 6px;}
body:not(.portfolio-mode) .sidebar .mini-calendar-grid {gap: 0; margin: 5px 0;}
body:not(.portfolio-mode) .sidebar .mini-calendar-grid>button {padding: 2px 0 6px; line-height: 18px; font-size: 12px;}
body:not(.portfolio-mode) .sidebar .mini-calendar-grid>span {line-height: 22px; font-size: 11px;}
body:not(.portfolio-mode) .sidebar .sidebar-calendar>small {font-size: 11px; text-align: center;}
body:not(.portfolio-mode) .sidebar>.sidebottom {flex: 0 0 auto; margin-top: 8px; padding: 9px 4px 0; font-size: 12px; line-height: 1.4;}
body:not(.portfolio-mode) .sidebar .sidebottom .avatar {width: 28px; height: 28px; font-size: 11px;}
body:not(.portfolio-mode) .assessor-welcome-profile {display: flex; gap: 20px; align-items: center; padding: 8px 0 22px; margin-bottom: 22px; border-bottom: 1px solid #dde3eb;}
body:not(.portfolio-mode) .assessor-welcome-copy {flex: 1; min-width: 0;}
body:not(.portfolio-mode) .assessor-welcome-profile .dashboard-greeting {border: 0; padding: 0; margin: 0;}
body:not(.portfolio-mode) .welcome-photo {position: relative; flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; padding: 0; border: 2px solid #bbcbdc; background: #eaf0f7; color: #294968; display: flex; align-items: center; justify-content: center;}
body:not(.portfolio-mode) .welcome-photo>span:first-child {font-size: 27px; font-weight: 700;}
body:not(.portfolio-mode) .welcome-photo img {width: 100%; height: 100%; border-radius: 50%; object-fit: cover;}
body:not(.portfolio-mode) .welcome-photo .welcome-photo-edit {position: absolute; right: -1px; bottom: -1px; width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; border: 1px solid #afc0d3; border-radius: 50%; background: white; color: #23446a; font-size: 17px;}
body:not(.portfolio-mode) .profile-photo-prompt {padding: 0; border: 0; background: none; margin-top: 9px; text-decoration: underline; text-align: left; font-size: 13px; color: #375877;}
body:not(.portfolio-mode) .payment-workspace-tabs {margin-top: 16px;}
@media (max-width:650px){body:not(.portfolio-mode) .assessor-welcome-profile {align-items: flex-start; gap: 12px;}
body:not(.portfolio-mode) .welcome-photo {flex-basis: 64px; width: 64px; height: 64px;}
body:not(.portfolio-mode) .welcome-photo>span:first-child {font-size: 21px;}}
@media (max-height:660px) and (min-width:801px){body:not(.portfolio-mode) .sidebar {padding-top: 12px;}
body:not(.portfolio-mode) .sidebar>.centre {margin: 8px 0;}
body:not(.portfolio-mode) .sidebar>.sidebar-calendar {margin-top: 6px;}
body:not(.portfolio-mode) .sidebar .mini-calendar-grid>button {line-height: 15px;}
body:not(.portfolio-mode) .sidebar .sidebar-calendar>small {display: none;}}
body:not(.portfolio-mode) .sidebar .mini-calendar-grid>button[aria-current=date] {background: #183c63; color: white; border-color: #183c63;}
body:not(.portfolio-mode) .sidebar .mini-calendar-grid>button.mini-selected:not([aria-current=date]) {background: #e8eff7; color: #203c5c; border-color: #9fb5ce;}
body:not(.portfolio-mode) .infinity-credit {position: fixed; right: 16px; bottom: 8px; display: inline-flex; align-items: baseline; gap: 4px; font-size: 11px; line-height: 1.4; color: #647184; background: transparent; padding: 0; border: 0; box-shadow: none; pointer-events: none; z-index: 5;}
body:not(.portfolio-mode) .infinity-credit strong {font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #40526a;}
body:not(.portfolio-mode) #branding-form .formgrid {margin-bottom: 18px;}
body:not(.portfolio-mode) #branding-form label {display: grid; gap: 7px;}
body:not(.portfolio-mode) #branding-form>label {display: flex; gap: 9px; align-items: center;}
body:not(.portfolio-mode) #branding-form small {font-size: 12px; color: #52637a;}
@media print{body:not(.portfolio-mode) .infinity-credit {display: none;}}
body:not(.portfolio-mode) .professional-profile-open {margin: 0 0 22px;}
body:not(.portfolio-mode) .staff-professional-documents {margin-top: 24px; border-top: 1px solid #c4cfdb; padding-top: 16px;}
body:not(.portfolio-mode) .staff-professional-documents p {font-size: 14px; line-height: 1.6;}
body:not(.portfolio-mode) .staff-professional-documents ul {list-style: none; padding: 0;}
body:not(.portfolio-mode) .staff-professional-documents li {display: flex; gap: 14px; align-items: center; border-top: 1px solid #dce3eb; padding: 14px 0;}
body:not(.portfolio-mode) .staff-professional-documents li>div {flex: 1; min-width: 0;}
body:not(.portfolio-mode) .staff-professional-documents li span,body:not(.portfolio-mode) .staff-professional-documents li small {display: block; margin-top: 5px; overflow-wrap: anywhere;}
body:not(.portfolio-mode) .staff-professional-documents li small {color: #52637a;}
body:not(.portfolio-mode) .staff-professional-documents input[type=file] {max-width: 100%;}
@media (max-width:600px){body:not(.portfolio-mode) .staff-professional-documents li {flex-wrap: wrap;}
body:not(.portfolio-mode) .staff-professional-documents li>div {flex-basis: 100%;}}
@font-face {font-family: InfinityHandwriting; src: url("assets/fonts/caveat.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap;}
body:not(.portfolio-mode) .infinity-credit strong {font-family: InfinityHandwriting,"Segoe Print",cursive; font-size: 23px; font-weight: 600; line-height: 1; letter-spacing: 0;}
@media (max-width:1199px), (hover:none) and (pointer:coarse){body:not(.portfolio-mode) .infinity-credit {display: none;}}
body:not(.portfolio-mode) .brand img{width:100%;height:auto}body:not(.portfolio-mode) .sidebar .centre{overflow-wrap:anywhere}body:not(.portfolio-mode) .crm-greeting-photo{display:grid;place-items:center;border-radius:50%;width:72px;height:72px;flex:0 0 72px;background:#e8edf3;font-weight:700;font-size:24px;color:#263547}body:not(.portfolio-mode) .crm-workspace-title{font-size:14px}body:not(.portfolio-mode) .crm-record-actions{margin:18px 0}body:not(.portfolio-mode) .filters{display:flex;flex-wrap:wrap}body:not(.portfolio-mode) .crm-chart-row{display:grid;grid-template-columns:80px 1fr 30px;gap:14px;align-items:center;margin:18px 0}body:not(.portfolio-mode) .crm-chart-row meter{width:100%}
body:not(.portfolio-mode) #greeting{display:none}.portfolio-mode #crm-search{display:none}body:not(.portfolio-mode) .nav a{display:flex;align-items:center;gap:12px;text-decoration:none;padding:12px 14px;color:#646971;font-size:.875rem}body:not(.portfolio-mode) .sidebottom{display:none}body:not(.portfolio-mode) .staging-notice{padding:8px 16px;margin:0 0 22px;border:0;background:#263547;color:white;border-radius:0}body:not(.portfolio-mode) .assessor-welcome-profile{margin-bottom:22px}body:not(.portfolio-mode) .record-summary h1{margin-top:0}body:not(.portfolio-mode) .record-summary{margin-bottom:22px}body:not(.portfolio-mode) .record-tabs button{white-space:normal}

body:not(.portfolio-mode) #status:empty{display:none}

body:not(.portfolio-mode) .quick-journey-form{max-width:none}body:not(.portfolio-mode) .quick-journey-form>.actions{align-items:flex-end}body:not(.portfolio-mode) .quick-journey-form>.actions>label{margin:0}

/* Company and lead lists use the prototype's shared toolbar and grouped tables. */
body:not(.portfolio-mode) .company-page-heading h1{margin-right:auto!important}
body:not(.portfolio-mode) .company-page-heading .primary{background:#263547;border-color:#263547;color:white;min-height:40px}
body:not(.portfolio-mode) .company-page-heading>button{min-height:40px}
body:not(.portfolio-mode) .content .company-list-filters{background:white;border:1px solid #cbd2dc;border-radius:10px;padding:14px 16px;margin:0 0 22px;align-items:flex-end;gap:14px}
body:not(.portfolio-mode) .company-list-filters .company-group-toggle{display:flex;flex-direction:row;align-items:center;gap:9px;min-height:40px;margin:0;padding:0;flex:0 0 auto}
body:not(.portfolio-mode) .company-list-filters .company-group-toggle input{appearance:none;position:relative;flex:0 0 38px;width:38px;height:22px;padding:0;margin:0;border:1px solid #7c8898;border-radius:20px;background:#d9dfe7;cursor:pointer}
body:not(.portfolio-mode) .company-list-filters .company-group-toggle input:before{content:'';position:absolute;left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:white;box-shadow:0 1px 2px #0003}
body:not(.portfolio-mode) .company-list-filters .company-group-toggle input:checked{background:#263547;border-color:#263547}
body:not(.portfolio-mode) .company-list-filters .company-group-toggle input:checked:before{transform:translateX(16px)}
body:not(.portfolio-mode) .lead-list-results .candidate-company-groups{gap:24px}
body:not(.portfolio-mode) .lead-list-results .candidate-company-group{border:2px solid #8c99aa}
body:not(.portfolio-mode) .lead-list-results .candidate-company-group>summary{background:#e8edf3;color:#263547;padding:16px 20px}
body:not(.portfolio-mode) .lead-list-results .candidate-company-group[open]>summary{border-bottom:1px solid #9ca8b8}
body:not(.portfolio-mode) .lead-list-results table{table-layout:fixed;min-width:900px}
body:not(.portfolio-mode) .lead-list-results th:first-child{width:22%}body:not(.portfolio-mode) .lead-list-results th:nth-child(2){width:27%}body:not(.portfolio-mode) .lead-list-results th:nth-child(3){width:18%}body:not(.portfolio-mode) .lead-list-results th:nth-child(4){width:18%}body:not(.portfolio-mode) .lead-list-results th:nth-child(5){width:15%}
body:not(.portfolio-mode) .lead-list-results td{vertical-align:top;padding:18px;overflow-wrap:anywhere}
body:not(.portfolio-mode) .lead-list-results .badge{white-space:normal;line-height:1.35;font-weight:500;padding:5px 8px}
body:not(.portfolio-mode) .lead-list-results td small{line-height:1.5}
body:not(.portfolio-mode) .company-directory>.panelbody{padding:0}
@media(max-width:650px){body:not(.portfolio-mode) .company-page-heading{flex-wrap:wrap}body:not(.portfolio-mode) .company-page-heading h1{flex-basis:100%}body:not(.portfolio-mode) .content .company-list-filters{padding:12px}}
body:not(.portfolio-mode) .content .company-list-filters>label:not(.company-group-toggle){margin:0;display:flex;flex-direction:column;gap:7px;flex:0 1 240px;min-width:140px;color:#536073;font-size:.875rem;font-weight:500}
body:not(.portfolio-mode) .content .company-list-filters>label input:not([type=checkbox]),body:not(.portfolio-mode) .content .company-list-filters>label select{margin:0;min-height:40px;padding:8px 10px;width:100%}
body:not(.portfolio-mode) .content .company-list-filters>.company-group-toggle{margin:0;min-height:40px;align-self:flex-end}
body:not(.portfolio-mode) .sales-results>.panel{margin-bottom:22px}
body:not(.portfolio-mode) .sales-results .actions{min-width:130px}
body:not(.portfolio-mode) .sales-results>.tablewrap,body:not(.portfolio-mode) .sales-results>.panel{max-width:100%}
body:not(.portfolio-mode) .sales-results .panel>.tablewrap td{vertical-align:top}
body:not(.portfolio-mode) .sales-results .approval-card-head .primary{background:#263547;border-color:#263547;color:white}
body:not(.portfolio-mode) .sales-results .approval-card-head h2{font-size:1rem}
body:not(.portfolio-mode) .sales-results .candidate-company-group>.approval-cards{padding:18px;margin:0}
body:not(.portfolio-mode) .sales-results .candidate-company-group>.approval-cards .approval-card:last-child{margin-bottom:0}

/* Keep long qualification titles readable without crushing the chart label. */
body:not(.portfolio-mode) .crm-chart-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px}
body:not(.portfolio-mode) .crm-chart-row>strong:first-child{grid-column:1;overflow-wrap:normal;line-height:1.4}
body:not(.portfolio-mode) .crm-chart-row>meter{grid-column:1;grid-row:2;min-width:0;width:100%}
body:not(.portfolio-mode) .crm-chart-row>strong:last-child{grid-column:2;grid-row:2}

body:not(.portfolio-mode) .mini-calendar-heading{display:flex;align-items:center;justify-content:space-between}
body:not(.portfolio-mode) .mini-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}
body:not(.portfolio-mode) .mini-calendar-grid button{position:relative;border:1px solid transparent;background:transparent;border-radius:4px;min-width:0}
body:not(.portfolio-mode) .mini-calendar-grid i{position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor;bottom:1px;left:calc(50% - 2px)}
body:not(.portfolio-mode) .calendar-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:20px 0}
body:not(.portfolio-mode) .calendar-toolbar label{display:grid;gap:6px}
body:not(.portfolio-mode) .calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid #d9dfe7;border-radius:8px;overflow:hidden;margin:20px 0;background:white}
body:not(.portfolio-mode) .calendar-day{min-width:0;padding:10px;border-right:1px solid #e2e8ef;min-height:240px}
body:not(.portfolio-mode) .calendar-day h2{font-size:14px;line-height:1.4;margin:0 0 14px}
body:not(.portfolio-mode) .calendar-today h2{border-bottom:3px solid #183c63;padding-bottom:6px}
body:not(.portfolio-mode) .calendar-event{padding:10px;margin:8px 0;background:#edf3f9;border-left:3px solid #183c63;border-radius:4px;overflow-wrap:anywhere}
body:not(.portfolio-mode) .calendar-event strong,body:not(.portfolio-mode) .calendar-event small{display:block}
body:not(.portfolio-mode) .calendar-event button,body:not(.portfolio-mode) .calendar-day>button{font-size:12px;padding:5px 7px;white-space:normal}
body:not(.portfolio-mode) .calendar-event .actions{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 0}
@media(max-width:1100px){body:not(.portfolio-mode) .calendar-week{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body:not(.portfolio-mode) .calendar-week{grid-template-columns:minmax(0,1fr)}body:not(.portfolio-mode) .calendar-day{min-height:120px}}

body:not(.portfolio-mode) .commission-progress progress{accent-color:#c8102e}
body:not(.portfolio-mode) .commission-progress .targetside{flex:0 0 auto}
body:not(.portfolio-mode) .commission-progress .targetside strong{white-space:nowrap}
body:not(.portfolio-mode) .commission-progress .panelbody>button{margin-top:12px}
@media(max-width:650px){body:not(.portfolio-mode) .commission-progress .targetheadline{align-items:flex-start;flex-direction:column}body:not(.portfolio-mode) .commission-progress .targetside{text-align:left}}

/* IQA report layouts retain the shared CRM typography and panels. */
.iqa-unit-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) auto;gap:14px;align-items:end;margin-bottom:16px}.iqa-matrix-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,1fr) minmax(0,1.5fr);gap:16px;align-items:center;border-bottom:1px solid #dbe1e8;padding:16px 0}.iqa-report td{white-space:pre-wrap;overflow-wrap:anywhere}.report-masthead{display:flex;justify-content:space-between;gap:16px;padding:24px;background:#243649;color:white;margin:20px 0}.needs-review{border-color:#a56300!important}.iqa-report .panel{margin:18px 0}@media(max-width:700px){.iqa-unit-row,.iqa-matrix-row{grid-template-columns:1fr}.report-masthead{flex-direction:column}}

#content form.iqa-editor{max-width:none;width:100%}.iqa-editor .iqa-date-control{justify-self:start;width:fit-content;margin-top:6px}.iqa-editor label{min-width:0}

/* Contact log uses the prototype's combined chronological communication layout. */
body:not(.portfolio-mode) .communication-item{padding:18px 0;border-bottom:1px solid #dbe1e9;overflow-wrap:anywhere}body:not(.portfolio-mode) .communication-item header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}body:not(.portfolio-mode) .communication-item summary{cursor:pointer;font-weight:600}body:not(.portfolio-mode) .communication-item[hidden]{display:none}body:not(.portfolio-mode) .communications-log{margin-top:18px}

/* Connected caseload: the source cards share the list's scoped filters. */
body:not(.portfolio-mode) .candidate-view-tabs{display:flex;flex-wrap:wrap;gap:6px}
body:not(.portfolio-mode) .assessment-card-heading>div{min-width:0}
body:not(.portfolio-mode) .assessment-card .assessment-stage{overflow-wrap:anywhere}
body:not(.portfolio-mode) .assessment-support-summary strong{display:block}
body:not(.portfolio-mode) .assessment-stage .stage-complete-tick{color:#111;font-weight:800}
@media(max-width:650px){body:not(.portfolio-mode) .assessment-card{padding:14px}body:not(.portfolio-mode) .assessment-card-heading{gap:14px}body:not(.portfolio-mode) .assessment-card-actions{margin-left:0}body:not(.portfolio-mode) .candidate-toolbar-top{align-items:flex-start;flex-wrap:wrap}}

/* Dates describe actual activity; ordinary record edits are not contact attempts. */
body:not(.portfolio-mode) .connected-tracker-details{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body:not(.portfolio-mode) .connected-tracker-details>div{min-width:0}
body:not(.portfolio-mode) .connected-tracker-details strong,body:not(.portfolio-mode) .connected-tracker-details small{display:block;margin-top:5px}
body:not(.portfolio-mode) .connected-tracker-details .tracker-latest-note{grid-column:1/-1}
body:not(.portfolio-mode) .tracker-latest-note p{margin:8px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
@media(max-width:650px){body:not(.portfolio-mode) .connected-tracker-details{grid-template-columns:1fr}body:not(.portfolio-mode) .record-quick-actions{justify-content:flex-start;margin-left:0}}

/* Consistent spacing for invoice details and the optional received PO. */
body:not(.portfolio-mode) .invoice-details-form{gap:18px}
.invoice-details-form>p,.invoice-purchase-order .formgrid>p{margin:0;line-height:1.5}
.invoice-purchase-order{border-top:1px solid #dce2eb;padding-top:18px;margin:0}
.invoice-purchase-order>summary{font-weight:600;line-height:1.5;cursor:pointer}
.invoice-purchase-order[open]>summary{margin-bottom:18px}
.invoice-purchase-order .formgrid{gap:18px}
.invoice-purchase-order label{margin:0}


/* Calendar workspace: compact navigation, readable events and full-size date grid. */
body:not(.portfolio-mode) .calendar-workspace{background:#fff;border:1px solid #d9d9dd;border-radius:10px;overflow:hidden;color:#303034}
body:not(.portfolio-mode) .calendar-command-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:18px 20px;border-bottom:1px solid #dedee2}
body:not(.portfolio-mode) :is(.calendar-navigation,.calendar-controls){display:flex;align-items:center;flex-wrap:wrap;gap:12px}
body:not(.portfolio-mode) .calendar-navigation h2{font-size:21px;margin:0 0 0 8px;font-weight:650;color:#303034}
body:not(.portfolio-mode) .calendar-workspace :is(button,select){margin:0}
body:not(.portfolio-mode) .calendar-controls select{width:auto;max-width:220px;padding:9px 12px;border:1px solid #d4d4da;border-radius:6px;background:white;color:#303034}
body:not(.portfolio-mode) .calendar-controls .primary{background:#3b3b40;border-color:#3b3b40;color:white}
body:not(.portfolio-mode) .calendar-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
body:not(.portfolio-mode) .calendar-weekday{padding:12px 10px;background:#fafafa;border-bottom:1px solid #dddde2;color:#68686f;font-size:12px;font-weight:600}
body:not(.portfolio-mode) .calendar-month-day{min-width:0;min-height:132px;padding:7px;border-right:1px solid #e5e5e8;border-bottom:1px solid #e5e5e8;display:flex;flex-direction:column;gap:5px}
body:not(.portfolio-mode) .calendar-month-day:nth-child(7n){border-right:0}
body:not(.portfolio-mode) .calendar-month-day:hover{background:#fafafa}
body:not(.portfolio-mode) .calendar-month-day.outside-month{background:#f7f7f8;color:#808087}
body:not(.portfolio-mode) .calendar-workspace .calendar-date{align-self:flex-start;border:0;background:transparent;border-radius:50%;min-width:30px;height:30px;padding:4px 7px;font-size:13px;color:inherit;box-shadow:none}
body:not(.portfolio-mode) .calendar-workspace .is-today .calendar-date{background:#b32437;color:white;font-weight:700}
body:not(.portfolio-mode) .calendar-workspace .calendar-tile{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;min-width:0;border:0;border-left:3px solid #777780;border-radius:4px;padding:6px 8px;background:#eeeef1;color:#303034;text-align:left;line-height:1.3;box-shadow:none;overflow:hidden;cursor:pointer}
body:not(.portfolio-mode) .calendar-workspace .calendar-tile[data-kind=induction]{background:#f6eeed;border-left-color:#a45e53}
body:not(.portfolio-mode) .calendar-workspace .calendar-tile[data-kind=discussion]{background:#edf2ee;border-left-color:#617a69}
body:not(.portfolio-mode) .calendar-workspace .calendar-tile:hover{filter:brightness(.96)}
body:not(.portfolio-mode) .calendar-tile :is(strong,small){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
body:not(.portfolio-mode) .calendar-tile small{color:#606067;font-size:11px}
body:not(.portfolio-mode) .calendar-tile-time{font-size:11px;font-weight:600;white-space:nowrap}
body:not(.portfolio-mode) .calendar-workspace .calendar-more{background:none;border:0;padding:3px 5px;text-align:left;font-size:12px;color:#55555c}
body:not(.portfolio-mode) .calendar-footer{padding:12px 20px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#6c6c73}
body:not(.portfolio-mode) .calendar-connection{max-width:100%}
body:not(.portfolio-mode) .calendar-connection summary{cursor:pointer}
body:not(.portfolio-mode) .calendar-connection[open]{flex-basis:100%}
body:not(.portfolio-mode) .calendar-connection .panel{margin:12px 0 0}
body:not(.portfolio-mode) .calendar-agenda{padding:12px 24px;min-height:480px}
body:not(.portfolio-mode) .calendar-agenda h3{font-size:14px;margin:22px 0 12px}
body:not(.portfolio-mode) .calendar-agenda .calendar-tile{margin-bottom:10px;padding:12px}
body:not(.portfolio-mode) .calendar-empty{padding:40px;text-align:center;color:#707078}
body:not(.portfolio-mode) .calendar-time-scroll{max-height:650px;overflow:auto}
body:not(.portfolio-mode) .calendar-time-grid{display:grid;grid-template-columns:60px repeat(var(--calendar-days),minmax(100px,1fr));position:relative}
body:not(.portfolio-mode) :is(.calendar-time-corner,.calendar-time-heading){background:#fafafa;border-bottom:1px solid #dddde2;padding:12px 6px;font-size:12px;text-align:center;position:sticky;top:0;z-index:3}
body:not(.portfolio-mode) .calendar-time-heading.is-today{box-shadow:inset 0 -3px #b32437;font-weight:700}
body:not(.portfolio-mode) :is(.calendar-all-day,.calendar-all-day-label){padding:6px;border-bottom:1px solid #dddde2;font-size:11px;min-height:34px}
body:not(.portfolio-mode) .calendar-hours>div{height:60px;font-size:11px;text-align:right;padding:4px 8px 0 0;box-sizing:border-box;color:#73737a}
body:not(.portfolio-mode) .calendar-time-column{position:relative;height:1440px;min-width:0;border-left:1px solid #e2e2e7}
body:not(.portfolio-mode) .calendar-workspace .calendar-time-slot{display:block;width:100%;height:60px;border:0;border-bottom:1px solid #e9e9ed;background:linear-gradient(to bottom,transparent 29px,#f4f4f6 30px,transparent 31px);border-radius:0;padding:0;box-shadow:none}
body:not(.portfolio-mode) .calendar-workspace .calendar-time-slot:hover{background:#faf2f3}
body:not(.portfolio-mode) .calendar-time-column>.calendar-tile{position:absolute;box-sizing:border-box;z-index:1}
.calendar-detail{width:min(520px,calc(100vw - 32px));max-height:85vh;overflow:auto;box-sizing:border-box;padding:24px;border:1px solid #d6d6dd;border-radius:12px;color:#303034;background:#fff;box-shadow:0 20px 70px #0003}
.calendar-detail::backdrop{background:#24242880}
.calendar-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.calendar-detail-heading h2{margin:0;font-size:22px;overflow-wrap:anywhere}.calendar-detail-heading button{flex:none;margin:0}
.calendar-detail-date{color:#66666e;margin:12px 0 24px}.calendar-detail-fields{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin-bottom:26px}.calendar-detail-fields dt{color:#71717a}.calendar-detail-fields dd{margin:0;overflow-wrap:anywhere}.calendar-detail .actions{display:flex;flex-wrap:wrap;gap:12px}
@media(max-width:700px){body:not(.portfolio-mode) .calendar-command-bar{padding:12px}body:not(.portfolio-mode) .calendar-navigation h2{font-size:17px;margin:0}body:not(.portfolio-mode) .calendar-controls{width:100%}body:not(.portfolio-mode) .calendar-controls select{max-width:145px}body:not(.portfolio-mode) .calendar-weekday{font-size:10px;padding:9px 2px;overflow:hidden}body:not(.portfolio-mode) .calendar-month-day{min-height:100px;padding:3px;gap:3px}body:not(.portfolio-mode) .calendar-workspace .calendar-tile{padding:4px 3px}body:not(.portfolio-mode) .calendar-month-grid .calendar-tile small{display:none}body:not(.portfolio-mode) .calendar-month-grid .calendar-tile strong{font-size:10px}body:not(.portfolio-mode) .calendar-workspace .calendar-date{font-size:11px;min-width:24px;height:24px;padding:3px}body:not(.portfolio-mode) .calendar-footer{padding:12px}body:not(.portfolio-mode) .calendar-workspace .calendar-more{font-size:10px;padding:2px}}
body:not(.portfolio-mode) .calendar-weekday-short{display:none}
body:not(.portfolio-mode) #content .calendar-workspace button.primary{background:#3b3b40;border-color:#3b3b40;color:#fff}
@media(max-width:700px){body:not(.portfolio-mode) .calendar-weekday-long{display:none}body:not(.portfolio-mode) .calendar-weekday-short{display:inline}}
body:not(.portfolio-mode) :is(.calendar-all-day,.calendar-all-day-label){position:sticky;top:40px;z-index:2;background:#fff;max-height:110px;overflow:auto}
body:not(.portfolio-mode) .calendar-time-column .calendar-tile strong{white-space:normal;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}

/* Shared desktop sidebar branding; never shrink the logo to fit navigation. */
body .sidebar>.brand{flex:0 0 auto;min-width:0}
body .sidebar>.brand img{display:block;width:172px;max-width:100%;height:auto;max-height:none;object-fit:contain}
body .sidebar>.centre[hidden]{display:none!important}
body .sidebar>.centre[hidden]+.nav{margin-top:18px}

/* Application queues have five or six columns; do not inherit the lead table's five-column widths. */
body:not(.portfolio-mode) .lead-list-results .application-queue-table{width:100%;min-width:850px}
body:not(.portfolio-mode) .lead-list-results .application-queue-table th:nth-child(1){width:19%}
body:not(.portfolio-mode) .lead-list-results .application-queue-table th:nth-child(2){width:14%}
body:not(.portfolio-mode) .lead-list-results .application-queue-table th:nth-child(3){width:14%}
body:not(.portfolio-mode) .lead-list-results .application-queue-table th:nth-child(4){width:41%}
body:not(.portfolio-mode) .lead-list-results .application-queue-table th:nth-child(5){width:12%}
body:not(.portfolio-mode) .lead-list-results .application-queue-approved th:nth-child(1){width:18%}
body:not(.portfolio-mode) .lead-list-results .application-queue-approved th:nth-child(2){width:12%}
body:not(.portfolio-mode) .lead-list-results .application-queue-approved th:nth-child(3){width:12%}
body:not(.portfolio-mode) .lead-list-results .application-queue-approved th:nth-child(4){width:13%}
body:not(.portfolio-mode) .lead-list-results .application-queue-approved th:nth-child(5){width:34%}
body:not(.portfolio-mode) .lead-list-results .application-queue-approved th:nth-child(6){width:11%}
body:not(.portfolio-mode) .lead-list-results .application-queue-table td,
body:not(.portfolio-mode) .lead-list-results .application-queue-table th{box-sizing:border-box;padding:14px 16px}
body:not(.portfolio-mode) .lead-list-results .application-queue-table .tracker-note{min-width:0;max-width:none;white-space:normal}
body:not(.portfolio-mode) .lead-list-results .application-queue-table td:last-child button{max-width:100%;white-space:normal}
@media(min-width:1400px){
 #content .application-list-filters{display:grid;grid-template-columns:minmax(200px,1.2fr) minmax(240px,1.5fr) minmax(130px,.8fr) minmax(160px,1fr) minmax(170px,1fr);gap:16px}
 #content .application-list-filters>label{min-width:0;width:auto;max-width:none}
 #content .application-list-filters input,#content .application-list-filters select{width:100%;min-width:0}
}
