.activity-report-page .ar-tabs { display:flex; gap:24px; border-bottom:1px solid #e4e7ea; margin:-3px 0 22px; overflow-x:auto; }
.activity-report-page .panel .panel-body>.ar-tabs { min-height:0; }
.activity-report-page .ar-tab { border:0; border-bottom:2px solid transparent; background:transparent; padding:10px 2px 12px; color:#747d85; font-size:15px; white-space:nowrap; flex-shrink:0; }
.activity-report-page .ar-tab.active { border-bottom-color:#5cb85c; color:#398f39; font-weight:bold; }
.activity-report-page .ar-open-settings { float:right; margin-right:16px; }
.activity-report-page .ar-filters,.activity-report-page .ar-day-range,.activity-report-page .ar-more-fields { display:flex; gap:12px; flex-wrap:wrap; align-items:flex-end; }
.activity-report-page .ar-filters label { margin:0; font-weight:normal; color:#6b747d; }
.activity-report-page #arActivityField { width:210px; }
.activity-report-page .ar-day-range label { width:130px; }
.activity-report-page .form-control { font-size:12px; margin-top:6px; }
.activity-report-page #arMoreFilters { width:100%; }
.activity-report-page #arMoreFilters summary { cursor:pointer; color:#7d8790; }
.activity-report-page .ar-more-fields { padding-top:8px; }
.activity-report-page .ar-more-fields label { width:160px; }
.activity-report-page .ar-raw-link { padding:8px 0; }
.activity-report-page .ar-status { margin:18px 0 12px; overflow-wrap:anywhere; }
.activity-report-page .ar-summary { display:flex; flex-wrap:wrap; gap:38px; padding:12px 0 16px; }
.activity-report-page .ar-summary-item { min-width:160px; display:flex; flex-direction:column; gap:4px; }
.activity-report-page .ar-summary-item>span { color:#6b747d; }
.activity-report-page .ar-summary-item strong { font-size:28px; font-weight:normal; color:#3e4a53; }
.activity-report-page .ar-summary-item small { color:#929ba2; }
.activity-report-page .ar-phases { display:flex; flex-wrap:wrap; align-items:center; gap:10px 24px; padding:12px 0; border-top:1px solid #edf0f2; }
.activity-report-page .ar-phase-label { color:#7d8790; }
.activity-report-page .ar-phase { display:flex; gap:9px; }
.activity-report-page .ar-phase b { font-weight:normal; color:#35424c; }
.activity-report-page .ar-phase-note { color:#929ba2; }
.activity-report-page .ar-data-notes { margin:8px 0 14px; color:#7d8790; }
.activity-report-page .ar-data-notes summary { cursor:pointer; }
.activity-report-page .ar-data-notes ul { margin-top:8px; padding-left:20px; line-height:1.8; }
.activity-report-page #arCurve { margin-top:20px; border-top:1px solid #edf0f2; padding-top:18px; }
.activity-report-page .ar-chart-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.activity-report-page .ar-chart-toolbar label { display:flex; align-items:center; gap:10px; margin:0; font-weight:normal; }
.activity-report-page .ar-chart-toolbar select { width:auto; min-width:125px; margin:0; }
.activity-report-page #arChartNote { margin:14px 0 8px; }
.activity-report-page .ar-chart { width:100%; min-width:0; height:330px; }
.activity-report-page .ar-table-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px; margin:26px 0 10px; }
.activity-report-page .ar-table-heading h4 { margin:0; }
.activity-report-page .ar-table-heading .help-block { margin:0; }
.activity-report-page .ar-stage-table { min-width:900px; }
.activity-report-page .ar-gem-table { min-width:1420px; }
.activity-report-page .ar-daily-table { min-width:1350px; }
.activity-settings-modal .ar-settings-table { min-width:550px; margin-bottom:0; }
.activity-settings-modal .ar-settings-table th { background:#f8f8f8; font-weight:normal; white-space:nowrap; }
.activity-settings-modal .ar-settings-table td { white-space:nowrap; }
.activity-settings-modal .ar-settings-table td:first-child { max-width:130px; white-space:normal; overflow-wrap:anywhere; }
.activity-settings-modal .ar-settings-table th:first-child,.activity-settings-modal .ar-settings-table td:first-child { position:sticky; left:0; min-width:90px; z-index:2; background:#fff; }
.activity-settings-modal .ar-settings-table th:first-child { background:#f8f8f8; }
.activity-report-page .ar-gem-detail-table { min-width:650px; }
.activity-report-page #arGemDetailsTable { max-height:450px; overflow:auto; }
.activity-report-page #arGemDetailsTable th { position:sticky; top:0; z-index:2; }
.activity-settings-modal .ar-setting-actions .btn + .btn { margin-left:6px; }
.activity-settings-modal #arDeleteDescription { overflow-wrap:anywhere; line-height:1.8; }
.activity-settings-modal .ar-settings-toolbar { margin-bottom:16px; }
.activity-settings-modal #arSettingsStatus:empty { display:none; }
.activity-settings-modal .ar-setting-fields>label { display:block; margin-bottom:15px; }
.activity-settings-modal .modal-dialog { width:620px; max-width:calc(100% - 20px); height:auto; margin:30px auto; }
.activity-settings-modal .modal-content { min-height:0; background:#fff; }
.activity-settings-modal .modal-header { margin-bottom:0; background:#fff; border-bottom:1px solid #e5e5e5; }
.activity-settings-modal .modal-header button { padding:0; }
.activity-settings-modal .modal-body { padding:20px; }
.activity-settings-modal .ar-setting-dates { display:flex; gap:16px; }
.activity-settings-modal .ar-setting-dates label { flex:1; min-width:0; }
.activity-settings-modal label { font-weight:normal; }
.activity-settings-modal .form-control { margin-top:6px; }
.activity-settings-modal .help-block { font-size:12px; line-height:1.7; }
.activity-settings-modal summary { cursor:pointer; margin:12px 0; }
.activity-settings-modal .ar-extra-item { display:flex; gap:8px; margin-bottom:10px; align-items:center; }
.activity-settings-modal .ar-extra-name { width:120px; flex-shrink:0; }
.activity-settings-modal .ar-extra-key { flex:1; min-width:0; }
.activity-settings-modal .ar-extra-item .form-control { margin:0; }
.activity-settings-modal .ar-complete-label { display:block; margin:18px 0 8px; }
.activity-settings-modal [hidden] { display:none!important; }
.activity-report-page .ar-stage-table td,.activity-report-page .ar-gem-table td { padding-top:11px; padding-bottom:11px; }
.activity-report-page .ar-random { border-top:2px solid #e8ebed; }
.activity-report-page .ar-warning { color:#9c8d62; cursor:help; }
.activity-report-page .ar-day-options { display:flex; gap:12px; align-items:center; min-height:34px; padding-top:6px; flex-wrap:wrap; }
.activity-report-page .ar-day-options label { display:flex; gap:4px; align-items:center; white-space:nowrap; }
.activity-report-page .ar-day-options input[type=checkbox] { margin:0; }
.activity-report-page .ar-day-options .ar-custom-day { gap:6px; }
.activity-report-page #arOtherDay { width:66px; margin:0; }
.activity-report-page .ar-field-label { color:#6b747d; }
.activity-report-page .ar-empty-cell { color:#929ba2; }
.activity-report-page .ar-item-row>td { padding:16px 24px!important; background:#fafbfc; }
.activity-report-page .ar-item-table { min-width:0!important; max-width:600px; }
.activity-report-page .ar-item-row .help-block { max-width:1000px; white-space:normal; line-height:1.7; }
.activity-report-page .sr-help { border-top:1px solid #edf0f2; padding-top:16px; }
@media(max-width:767px) {
    .activity-report-page .ar-tabs { gap:16px; }
    .activity-report-page .ar-tab { font-size:14px; }
    .activity-settings-modal .ar-extra-item { flex-wrap:wrap; }
    .activity-settings-modal .ar-extra-name { width:calc(100% - 62px); }
    .activity-settings-modal .ar-extra-key { flex-basis:100%; order:3; }
    .activity-settings-modal .ar-setting-dates { gap:10px; }
    .activity-report-page #arActivityField { width:100%; }
    .activity-report-page .ar-day-range { width:100%; }
    .activity-report-page .ar-day-range label { flex:1; }
    .activity-report-page .ar-summary { gap:20px; }
    .activity-report-page .ar-summary-item { min-width:130px; }
    .activity-report-page .ar-summary-item strong { font-size:24px; }
    .activity-report-page .ar-phases { gap:10px 16px; }
    .activity-report-page .ar-phase-label,.activity-report-page .ar-phase-note { width:100%; }
    .activity-report-page .ar-chart-toolbar { justify-content:flex-start; }
    .activity-report-page #arGemMetricField select { min-width:0; max-width:260px; }
    .activity-report-page .ar-day-options { gap:12px; }
}

.activity-report-page .ar-confirmed-note { display:block; color:#929ba2; margin-top:3px; }
.activity-report-page .ar-gem-table>thead>tr>th:nth-child(1),
.activity-report-page .ar-gem-table>tbody>tr:not(.ar-item-row)>td:nth-child(1) {
    position:sticky; left:0; z-index:2; width:140px; min-width:140px; max-width:140px; white-space:normal; background:#fff;
}
.activity-report-page .ar-gem-table>thead>tr>th:nth-child(2),
.activity-report-page .ar-gem-table>tbody>tr:not(.ar-item-row)>td:nth-child(2) {
    position:sticky; left:140px; z-index:2; width:80px; min-width:80px; max-width:80px; background:#fff; box-shadow:2px 0 0 #edf0f2;
}
.activity-report-page .ar-gem-table>thead>tr>th:nth-child(1),
.activity-report-page .ar-gem-table>thead>tr>th:nth-child(2) { background:#f8f8f8; z-index:3; }
.activity-report-page .ar-stage-table>thead>tr>th:first-child,
.activity-report-page .ar-stage-table>tbody>tr>td:first-child {
    position:sticky; left:0; z-index:2; width:100px; min-width:100px; max-width:100px; white-space:normal; background:#fff; box-shadow:2px 0 0 #edf0f2;
}
.activity-report-page .ar-stage-table>thead>tr>th:first-child { background:#f8f8f8; z-index:3; }
.activity-report-page .ar-daily-table>thead>tr>th:first-child,
.activity-report-page .ar-daily-table>tbody>tr>td:first-child { position:sticky; left:0; z-index:2; min-width:90px; background:#fff; box-shadow:2px 0 0 #edf0f2; }
.activity-report-page .ar-daily-table>thead>tr>th:first-child { background:#f8f8f8; z-index:3; }
