/* Compact project and country assignment controls in account permission dialogs. */
#modal .access-form-v82:has([data-country-access-project]){gap:18px}
#modal .access-editor-section-v82:has([data-country-access-project])>.access-editor-title-v82{margin-bottom:10px}
#modal .access-editor-section-v82:has([data-country-access-project])>.access-editor-title-v82 h3{font-size:17px;line-height:1.4;color:#233c5b}
#modal .access-editor-section-v82:has([data-country-access-project])>.field-help{max-width:85ch;margin:0 0 16px;font-size:12px;line-height:1.6;color:#65758b}
#modal .project-permission-list-v82:has(>[data-country-access-project]){gap:12px}
#modal .project-permission-list-v82>[data-country-access-project]{margin-bottom:0}
#modal [data-country-access-project]{margin:0 0 12px;border:1px solid #dce4ee;border-radius:10px;background:#fff;box-shadow:0 1px 2px #172b4510;overflow:hidden}
#modal [data-country-access-project]:last-child{margin-bottom:0}
#modal [data-country-access-project]>.project-permission-head-v82{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;padding:12px 16px;border-bottom:1px solid #e4eaf1;background:#f7f9fc;cursor:default}
#modal [data-country-access-project]>.project-permission-head-v82>b{min-width:0;font-size:14px;font-weight:700;line-height:1.45;color:#233c5b;overflow-wrap:anywhere}
#modal [data-country-access-project]>.project-permission-head-v82>small{flex-shrink:0;margin:0;padding:4px 9px;border:1px solid #dce4ee;border-radius:999px;background:#fff;color:#60718a;font-size:11px;font-weight:600;line-height:1.4}
#modal [data-country-access-project]>.country-choices-v224{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;padding:14px 16px}
#modal [data-country-access-project] .country-choices-v224>label,#modal [data-country-access-project] [data-operator-country-v235]{min-width:0;margin:0;border:1px solid #e0e6ee;border-radius:8px;background:#fff;transition:border-color .15s,background-color .15s}
#modal [data-country-access-project] .country-choices-v224>label,#modal [data-country-access-project] [data-operator-country-v235]>label{display:flex;align-items:center;justify-content:flex-start;gap:11px;min-height:48px;margin:0;padding:12px;cursor:pointer}
#modal [data-country-access-project] .country-choices-v224>label:hover,#modal [data-country-access-project] [data-operator-country-v235]:hover{border-color:#aebed1;background:#f8fafc}
#modal [data-country-access-project] .country-choices-v224>label:has(input:checked),#modal [data-country-access-project] [data-operator-country-v235]:has(>label input:checked){border-color:#6b8dab;background:#f1f6fc}
#modal [data-country-access-project] .country-choices-v224>label:focus-within,#modal [data-country-access-project] [data-operator-country-v235]:focus-within{outline:2px solid #426e9a;outline-offset:2px}
#modal [data-country-access-project] .country-choices-v224 label>span{flex:1;min-width:0;font-size:13px;line-height:1.45;color:#233c5b;overflow-wrap:anywhere}
#modal [data-country-access-project] .country-choices-v224 label>span>b{font-size:13px;font-weight:650;line-height:1.45}
#modal [data-country-access-project] .country-choices-v224 label>span>small{margin:4px 0 0;color:#65758b;font-size:11px;font-weight:400;line-height:1.5}
#modal [data-country-access-project] input[type=checkbox]{width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0;accent-color:#233c5b;cursor:pointer}
#modal [data-country-access-project] input[type=checkbox]:disabled{cursor:default}
#modal [data-country-access-project] .operator-services-v235{display:grid;gap:4px;margin:0 12px 12px;padding:8px 0 0;border-top:1px solid #dce5f0}
#modal [data-country-access-project] .operator-services-v235>label{display:flex;align-items:center;gap:10px;min-height:40px;margin:0;padding:8px 0}
#modal [data-country-access-project]>.country-areas-v224{padding:14px 16px 16px;border-top:1px solid #e4eaf1;background:#fbfcfe}
#modal [data-country-access-project] .field-help{margin:0 0 12px;font-size:12px;line-height:1.5;color:#65758b}
#modal [data-country-access-project] .permission-bulk-actions-v92{justify-content:flex-start;gap:12px;flex-wrap:wrap}
#modal [data-country-access-project] .permission-bulk-actions-v92 .btn,#modal [data-country-access-project] .permission-bulk-actions-v92 .text-btn{font-size:11px}
#modal [data-country-access-project] .project-area-grid-v82{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-top:12px}
#modal [data-country-access-project] .project-area-grid-v82>label{align-items:center;gap:9px;min-height:44px;margin:0;padding:10px;border-color:#e0e6ee;background:#fff;font-size:12px;line-height:1.4}
#modal [data-country-access-project] .project-area-grid-v82>label:has(input:checked){border-color:#bdcfe2;background:#f1f6fc}
#modal [data-country-access-project] [hidden]{display:none!important}
@media(max-width:640px){
 #modal [data-country-access-project]>.country-choices-v224{grid-template-columns:1fr;padding:12px;gap:8px}
 #modal [data-country-access-project]>.project-permission-head-v82{padding:12px}
 #modal [data-country-access-project]>.country-areas-v224{padding:12px}
 #modal [data-country-access-project] .project-area-grid-v82{grid-template-columns:1fr}
 #modal [data-country-access-project] .permission-bulk-actions-v92{flex-direction:row;align-items:center}
}
@media(prefers-reduced-motion:reduce){#modal [data-country-access-project] .country-choices-v224>label,#modal [data-country-access-project] [data-operator-country-v235]{transition:none}}
