.dpoa-front{max-width:1100px;margin:24px auto;font-family:inherit}.dpoa-admin-banner,.dpoa-front-notice{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px 16px;border:1px solid #d6dbe1;border-radius:10px;margin-bottom:16px;background:#f7f8fa}.dpoa-admin-banner strong{margin-right:auto}.dpoa-front-notice.error{border-color:#d63638}.dpoa-front-head,.dpoa-front-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px}.dpoa-front-head h2{margin:0}.dpoa-front-head p{margin:5px 0 0;color:#667085}.dpoa-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid #3858e9;border-radius:2px;background:#3858e9;color:#fff!important;text-decoration:none;cursor:pointer;font-size:13px;line-height:1;font-weight:600;box-shadow:none;vertical-align:middle}.dpoa-btn:hover,.dpoa-btn:focus{background:#2145e6;border-color:#2145e6;color:#fff!important;text-decoration:none}.dpoa-btn.ghost{background:#3858e9;border-color:#3858e9;color:#fff!important}.dpoa-front-card,.dpoa-employee-card{border:1px solid #e5e7eb;border-radius:12px;padding:18px;margin:16px 0;background:#fff}.dpoa-front-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dpoa-front-grid input,.dpoa-front-grid select{width:100%;min-height:42px}.dpoa-front-checks{display:grid;gap:8px}.dpoa-front-checks label{display:flex;gap:10px;align-items:flex-start;border:1px solid #e5e7eb;border-radius:9px;padding:10px}.dpoa-front-checks strong,.dpoa-front-checks small{display:block}.dpoa-front-checks small{color:#667085;margin-top:3px}.dpoa-front-list{display:grid;gap:10px}.dpoa-employee-card{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0}.dpoa-employee-card h4{margin:0}.dpoa-employee-card p{margin:5px 0;color:#667085}.dpoa-employee-card ul{margin:8px 0 0;padding-left:18px}.dpoa-copy-row{display:flex;gap:8px;margin-top:10px}.dpoa-copy-input{flex:1;min-width:200px}.dpoa-front .dpoa-card{border:1px solid #e5e7eb;border-radius:12px;padding:18px;background:#fff}.dpoa-front .dpoa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dpoa-front .dpoa-grid label{display:flex;flex-direction:column;gap:6px}.dpoa-front .dpoa-grid input{width:100%}.dpoa-front .button{display:inline-block;padding:8px 12px}.dpoa-org-switch{margin:10px 0 20px}@media(max-width:700px){.dpoa-front-grid,.dpoa-front .dpoa-grid{grid-template-columns:1fr}.dpoa-front-head,.dpoa-employee-card,.dpoa-front-section-title{align-items:flex-start;flex-direction:column}.dpoa-btn{width:100%}.dpoa-copy-row{flex-direction:column}}

.dpoa-front .dpoa-employee-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.dpoa-front .dpoa-employee-head h2{margin:0}.dpoa-front .dpoa-employee-head .description{margin:5px 0 0}.dpoa-front .dpoa-employee-head form{margin:0}.dpoa-front .dpoa-employee-save{margin:12px 0 20px}@media(max-width:700px){.dpoa-front .dpoa-employee-head{flex-direction:column;align-items:stretch}.dpoa-front .dpoa-employee-head .dpoa-btn{width:100%}}
/* v1.0.4: единый стиль кнопок кабинета и одинаковая высота полей */
.dpoa-front .button,
.dpoa-front .button.button-primary,
.dpoa-front button.button,
.dpoa-front input[type="submit"].button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 16px;
    border:1px solid #3858e9;
    border-radius:2px;
    background:#3858e9;
    color:#fff!important;
    text-decoration:none;
    cursor:pointer;
    font-size:13px;
    line-height:1;
    font-weight:600;
    box-shadow:none;
}
.dpoa-front .button:hover,
.dpoa-front .button:focus,
.dpoa-front .button.button-primary:hover,
.dpoa-front .button.button-primary:focus{
    background:#2145e6;
    border-color:#2145e6;
    color:#fff!important;
}
.dpoa-front .dpoa-grid input,
.dpoa-front-grid input,
.dpoa-front-grid select{
    height:50px;
    min-height:50px;
    padding:0 12px;
    box-sizing:border-box;
}



/* v1.0.5: одинаковая высота полей на всех страницах кабинета */
.dpoa-front input[type="text"],
.dpoa-front input[type="email"],
.dpoa-front input[type="search"],
.dpoa-front input[type="date"],
.dpoa-front input[type="number"],
.dpoa-front input[type="tel"],
.dpoa-front input[type="url"],
.dpoa-front input[type="password"],
.dpoa-front select {
    height:50px;
    min-height:50px;
    padding:0 12px;
    box-sizing:border-box;
}
.dpoa-front textarea {
    min-height:100px;
    padding:10px 12px;
    box-sizing:border-box;
}


/* v1.0.6: больше воздуха между смысловыми блоками кабинета */
.dpoa-front-head {
    margin-bottom:28px;
}
.dpoa-front-card,
.dpoa-employee-card {
    margin-top:24px;
    margin-bottom:24px;
}
.dpoa-front .dpoa-card {
    padding:24px;
}
.dpoa-front .dpoa-card > h3 {
    margin-top:34px;
    margin-bottom:16px;
}
.dpoa-front .dpoa-card > h3:first-child {
    margin-top:0;
}
.dpoa-front .dpoa-employee-head {
    margin-bottom:24px;
}
.dpoa-front .dpoa-employee-save {
    margin-top:16px;
    margin-bottom:34px;
}
.dpoa-front .dpoa-check-list {
    margin:14px 0 18px;
}
.dpoa-front .dpoa-card > .dpoa-rows {
    margin-top:14px;
}
.dpoa-front-section-title {
    margin-top:30px;
    margin-bottom:16px;
}
#dpoa-add-employee > h3 {
    margin-top:0;
    margin-bottom:20px;
}
#dpoa-add-employee h4 {
    margin-top:28px;
    margin-bottom:14px;
}

/* v1.0.9: все текстовые поля одной высоты, включая input без type */
.dpoa-front input:not([type]),
.dpoa-front input[type="text"],
.dpoa-front input[type="email"],
.dpoa-front input[type="search"],
.dpoa-front input[type="date"],
.dpoa-front input[type="number"],
.dpoa-front input[type="tel"],
.dpoa-front input[type="url"],
.dpoa-front input[type="password"],
.dpoa-front select {
    height:50px !important;
    min-height:50px !important;
    padding:0 12px !important;
    box-sizing:border-box !important;
    line-height:normal;
}


/* v1.0.10: удаление сотрудника доступно менеджеру и администратору */
.dpoa-front .dpoa-employee-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.dpoa-front .dpoa-employee-head-actions form{margin:0}.dpoa-front .dpoa-btn.danger{background:#d63638;border-color:#d63638;color:#fff!important}.dpoa-front .dpoa-btn.danger:hover,.dpoa-front .dpoa-btn.danger:focus{background:#b32d2e;border-color:#b32d2e;color:#fff!important}@media(max-width:700px){.dpoa-front .dpoa-employee-head-actions{width:100%;justify-content:flex-start;flex-direction:column;align-items:stretch}.dpoa-front .dpoa-employee-head-actions form,.dpoa-front .dpoa-employee-head-actions .dpoa-btn{width:100%}}

/* v1.0.13 */
.dpoa-front-inactive{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:6px;background:#f0f0f1;color:#646970;font-weight:600}
.dpoa-front .dpoa-face-badge{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:999px;background:#f0f6fc;color:#135e96;font-size:11px;font-weight:600}


/* v1.1.13: курсы при назначении сотруднику — вертикальным списком */
.dpoa-front .dpoa-check-list{display:flex;flex-direction:column;gap:10px;margin:16px 0 20px}
.dpoa-front .dpoa-check-list label{display:flex;align-items:flex-start;gap:8px;width:100%;margin:0;box-sizing:border-box}
.dpoa-front .dpoa-check-list input[type="checkbox"]{width:16px!important;min-width:16px!important;height:16px!important;min-height:16px!important;margin:2px 0 0!important;padding:0!important;flex:0 0 16px}
.dpoa-front .dpoa-check-list small{margin-left:auto;white-space:nowrap;color:#667085}
@media(max-width:700px){.dpoa-front .dpoa-check-list small{margin-left:0;white-space:normal}}


/* v1.1.64: компактный и широкий кабинет организации */
.dpoa-front{
    width:min(1600px, calc(100vw - 48px));
    max-width:none !important;
    margin:24px 0;
    position:relative;
    left:50%;
    transform:translateX(-50%);
    box-sizing:border-box;
}
.dpoa-front-head{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:24px;
    margin-bottom:14px !important;
}
.dpoa-front-head h2{
    margin:0;
    min-width:0;
}
.dpoa-front-inn{
    color:#667085;
    white-space:nowrap;
    flex:0 0 auto;
}
.dpoa-front-primary-actions{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    margin:0 0 18px;
}
.dpoa-front-section-title{
    justify-content:flex-start !important;
    margin-top:26px !important;
    margin-bottom:12px !important;
}
.dpoa-front-section-title h3{
    margin:0;
}
.dpoa-employee-card{
    width:100%;
    box-sizing:border-box;
}
.dpoa-employee-card-main{
    flex:1 1 auto;
    min-width:0;
}
.dpoa-employee-identity{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:24px;
    width:100%;
}
.dpoa-employee-identity h4{
    margin:0;
    min-width:0;
}
.dpoa-employee-job{
    color:#667085;
    white-space:nowrap;
    flex:0 0 auto;
}
.dpoa-employee-card ul{
    margin-top:8px;
}
@media(max-width:900px){
    .dpoa-front{
        width:calc(100vw - 24px);
    }
}
@media(max-width:700px){
    .dpoa-front-head{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
    }
    .dpoa-employee-card{
        align-items:stretch;
        flex-direction:column;
    }
    .dpoa-employee-identity{
        align-items:flex-start;
        flex-direction:column;
        gap:3px;
    }
    .dpoa-employee-job{
        white-space:normal;
    }
}


/* v1.1.65: доступные курсы и компактная строка сотрудника */
.dpoa-available-courses{
    margin:0 0 18px;
}
.dpoa-available-courses h3{
    margin:0 0 10px;
}
.dpoa-available-course-list{
    display:flex;
    flex-direction:column;
    gap:0;
}
.dpoa-available-course-item{
    padding:7px 0;
    border-bottom:1px solid #eef0f2;
}
.dpoa-available-course-item:last-child{
    border-bottom:0;
}
.dpoa-available-course-empty{
    margin:0;
    color:#667085;
}
.dpoa-employee-identity{
    display:block !important;
}
.dpoa-employee-identity h4{
    margin:0;
}
.dpoa-employee-job{
    color:#667085;
    white-space:normal;
    font-weight:400;
}


/* v1.1.66: компактный блок доступных курсов */
.dpoa-available-courses{
    margin:0 0 14px !important;
    padding:10px 14px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
}
.dpoa-available-courses h3{
    margin:0 0 5px !important;
}
.dpoa-available-course-item{
    padding:2px 0 !important;
    border-bottom:0 !important;
    line-height:1.35;
}

/* v1.1.66: кнопка «Назад» */
.dpoa-front .dpoa-employee-back{
    margin:0 0 12px;
}
.dpoa-front .dpoa-employee-back .dpoa-btn{
    width:auto;
}

/* v1.1.66: назначенные курсы сотрудника таблицей */
.dpoa-front .dpoa-assigned-table-wrap{
    width:100%;
    overflow-x:auto;
    margin-top:10px;
}
.dpoa-front .dpoa-assigned-table{
    width:100%;
    min-width:850px;
    border-collapse:collapse;
    background:#fff;
}
.dpoa-front .dpoa-assigned-table th,
.dpoa-front .dpoa-assigned-table td{
    padding:10px 12px;
    border-bottom:1px solid #e5e7eb;
    text-align:left;
    vertical-align:middle;
}
.dpoa-front .dpoa-assigned-table th{
    background:#f7f8fa;
    font-weight:600;
    white-space:nowrap;
}
.dpoa-front .dpoa-assigned-table th:first-child{
    border-top-left-radius:8px;
}
.dpoa-front .dpoa-assigned-table th:last-child{
    border-top-right-radius:8px;
}
.dpoa-front .dpoa-assigned-course{
    width:42%;
}
.dpoa-front .dpoa-assigned-action{
    width:1%;
    white-space:nowrap;
}
.dpoa-front .dpoa-assigned-action form{
    margin:0;
}
.dpoa-front .dpoa-assigned-action .dpoa-btn{
    width:auto;
    min-width:92px;
}
.dpoa-front .dpoa-course-status{
    white-space:nowrap;
}
.dpoa-front .dpoa-course-status.is-complete{
    font-weight:600;
}
.dpoa-front .dpoa-fixed-status,
.dpoa-front .dpoa-no-action{
    color:#667085;
    white-space:nowrap;
}


/* v1.1.67: кнопка «Назад» — стрелка, без подчёркивания, единый левый край */
.dpoa-front .dpoa-front-primary-actions,
.dpoa-front .dpoa-employee-back{
    margin-left:0 !important;
    padding-left:0 !important;
}
.dpoa-front .dpoa-employee-back{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    margin-top:0 !important;
    margin-bottom:12px !important;
}
.dpoa-front .dpoa-employee-back .dpoa-btn,
.dpoa-front .dpoa-employee-back .dpoa-btn:link,
.dpoa-front .dpoa-employee-back .dpoa-btn:visited,
.dpoa-front .dpoa-employee-back .dpoa-btn:hover,
.dpoa-front .dpoa-employee-back .dpoa-btn:focus{
    width:auto !important;
    margin-left:0 !important;
    text-decoration:none !important;
}
.dpoa-front .dpoa-employee-back .dpoa-btn{
    gap:7px;
}
.dpoa-front .dpoa-back-arrow{
    display:inline-block;
    font-size:16px;
    line-height:1;
    transform:translateY(-1px);
}


/* v1.1.72: история изменений сотрудника */
.dpoa-employee-history-section{
    margin-top:34px;
    padding-top:24px;
    border-top:1px solid #e2e4e7;
}
.dpoa-employee-history-section>h3{
    margin:0 0 14px;
}
.dpoa-employee-history{
    display:flex;
    flex-direction:column;
}
.dpoa-employee-history-row{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:16px;
    padding:10px 0;
    border-bottom:1px solid #eef0f2;
}
.dpoa-employee-history-row:last-child{
    border-bottom:0;
}
.dpoa-employee-history-row time{
    color:#667085;
    white-space:nowrap;
}
.dpoa-employee-history-event{
    min-width:0;
}
.dpoa-employee-history-event strong{
    display:block;
}
.dpoa-employee-history-details{
    display:block;
    margin-top:3px;
}
.dpoa-employee-history-event small{
    display:block;
    margin-top:4px;
    color:#667085;
}
@media(max-width:700px){
    .dpoa-employee-history-row{
        grid-template-columns:1fr;
        gap:3px;
    }
}


/* v1.1.73: отдельная страница «Кабинет ученика» */
.dpoa-student-login-page{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    min-height:420px;
    padding:56px 20px;
    box-sizing:border-box;
}
.dpoa-student-login-box{
    width:100%;
    max-width:420px;
}
.dpoa-student-login-box h2{
    margin:0 0 10px;
    font-size:26px;
    line-height:1.25;
}
.dpoa-student-login-box>p{
    margin:0 0 18px;
    color:#475467;
    font-size:15px;
}
.dpoa-student-login-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.dpoa-student-login-form input[type="text"],
.dpoa-student-login-form input[type="password"]{
    width:100%;
    min-height:50px;
    box-sizing:border-box;
}
.dpoa-student-login-form .dpoa-btn{
    align-self:flex-start;
    min-width:120px;
}
@media(max-width:600px){
    .dpoa-student-login-page{
        padding:32px 12px;
    }
}


/* v1.1.74: кабинет ученика после авторизации */
.dpoa-student-cabinet{
    width:100%;
    max-width:900px;
}
.dpoa-student-cabinet>h2{
    margin:0 0 22px;
    font-size:28px;
    line-height:1.25;
}
.dpoa-student-course-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.dpoa-student-course-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:12px 14px;
    border:1px solid #e2e4e7;
    border-radius:8px;
    background:#fff;
}
.dpoa-student-course-row strong{
    min-width:0;
    font-size:15px;
    line-height:1.4;
}
.dpoa-student-course-row .dpoa-btn{
    flex:0 0 auto;
    width:auto;
}
.dpoa-student-no-courses{
    margin:0;
    color:#667085;
}
@media(max-width:650px){
    .dpoa-student-course-row{
        align-items:stretch;
        flex-direction:column;
        gap:10px;
    }
    .dpoa-student-course-row .dpoa-btn{
        align-self:flex-start;
    }
}


/* v1.1.76: простой вход в кабинет организации */
.dpoa-org-login-page{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    min-height:420px;
    padding-top:56px;
    box-sizing:border-box;
}
.dpoa-org-login-box{
    width:100%;
    max-width:420px;
}
.dpoa-org-login-box h2{
    margin:0 0 10px;
    font-size:26px;
    line-height:1.25;
}
.dpoa-org-login-box>p{
    margin:0 0 18px;
    color:#475467;
    font-size:15px;
}
.dpoa-org-login-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}
.dpoa-org-login-form input[type="text"],
.dpoa-org-login-form input[type="password"]{
    width:100%;
    min-height:50px;
    box-sizing:border-box;
}
.dpoa-org-login-form .dpoa-btn{
    align-self:flex-start;
    min-width:120px;
}
@media(max-width:600px){
    .dpoa-org-login-page{
        padding-top:32px;
    }
}


/* v1.2.0: регистрация физического лица по приглашению */
.dpoa-registration-page{display:flex;justify-content:center;align-items:flex-start;padding:44px 16px;box-sizing:border-box}
.dpoa-registration-box{width:100%;max-width:620px}
.dpoa-registration-box h2{margin:0 0 12px;font-size:28px;line-height:1.25}
.dpoa-registration-box>p{margin:0 0 18px;color:#475467}
.dpoa-registration-error{margin:0 0 16px;padding:10px 12px;border:1px solid #d63638;border-radius:6px;background:#fff5f5}
.dpoa-registration-courses{display:flex;flex-direction:column;gap:4px;margin:0 0 18px;padding:12px 14px;border:1px solid #e2e4e7;border-radius:8px;background:#fff}
.dpoa-registration-courses strong{margin-bottom:3px}
.dpoa-registration-form{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px}
.dpoa-registration-form label,.dpoa-registration-login label{display:flex;flex-direction:column;gap:6px;font-weight:600}
.dpoa-registration-form input,.dpoa-registration-login input{width:100%;box-sizing:border-box}
.dpoa-registration-form button{grid-column:1/-1;justify-self:start}
.dpoa-registration-login{display:flex;flex-direction:column;gap:12px}
.dpoa-registration-login .dpoa-btn{align-self:flex-start}
@media(max-width:650px){.dpoa-registration-form{grid-template-columns:1fr}}


/* v1.2.1: статус заочных и очных курсов в кабинете ученика */
.dpoa-student-course-main{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:6px;
}
.dpoa-student-course-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}
.dpoa-student-course-kind{
    font-size:13px;
    color:#667085;
}
.dpoa-student-course-status{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:2px 9px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    background:#f2f4f7;
}
.dpoa-student-course-status.is-complete{
    background:#ecfdf3;
}
.dpoa-student-course-status.is-open{
    background:#f2f4f7;
}
.dpoa-registration-courses small{
    color:#667085;
    font-weight:400;
}


/* v1.2.9: добавление сотрудника — кнопка заменяется формой */
.dpoa-front-replace-trigger[hidden],
.dpoa-front-replace-panel[hidden]{
    display:none!important;
}
.dpoa-front-inline-add-submit{
    margin:14px 0 0;
}


/* v1.2.14: ссылка для входа — копирование и отправка на email */
.dpoa-front .dpoa-login-generate-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.dpoa-front .dpoa-login-link-block{width:min(620px,100%)}
.dpoa-front .dpoa-login-link-input{width:100%!important;box-sizing:border-box!important}
.dpoa-front .dpoa-login-link-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}
.dpoa-front .dpoa-disabled-email-wrap{display:inline-flex;cursor:help}
.dpoa-front .dpoa-disabled-email-wrap .dpoa-btn[disabled]{background:#e5e7eb!important;border-color:#d1d5db!important;color:#6b7280!important;opacity:1!important;cursor:not-allowed!important}
.dpoa-front .dpoa-link-status{min-height:18px;margin-top:6px;color:#157026;font-size:12px;font-weight:600}
.dpoa-front .dpoa-link-status.is-error{color:#b32d2e}
.dpoa-front-created-link{margin:-2px 0 12px;padding:0 4px}
@media(max-width:700px){
  .dpoa-front .dpoa-login-link-actions{align-items:stretch;flex-direction:column}
  .dpoa-front .dpoa-login-link-actions .dpoa-btn,.dpoa-front .dpoa-disabled-email-wrap,.dpoa-front .dpoa-disabled-email-wrap .dpoa-btn{width:100%!important}
}


/* v1.2.16: более заметный статус после копирования/отправки */
.dpoa-front .dpoa-link-status{
    min-height:22px!important;
    margin-top:7px!important;
    font-size:15px!important;
    line-height:1.35!important;
    font-weight:600!important;
}


/* v1.2.17: тот же прямоугольный блок ссылки в кабинете организации */
.dpoa-front .dpoa-login-action-stack{
    display:inline-flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:8px!important;
    max-width:100%!important;
}
.dpoa-front .dpoa-login-action-stack > .dpoa-employee-head-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    width:100%!important;
}
.dpoa-front .dpoa-login-action-stack > .dpoa-login-link-block{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
}
.dpoa-front .dpoa-login-link-actions > :last-child{
    margin-left:auto!important;
}
.dpoa-front-action-toast{
    position:fixed;
    right:24px;
    top:24px;
    z-index:99999;
    max-width:min(440px,calc(100vw - 48px));
    padding:12px 16px;
    border-radius:7px;
    box-shadow:0 8px 30px rgba(0,0,0,.16);
    background:#fff;
    border-left:4px solid #2563eb;
    font-size:15px;
    line-height:1.4;
    font-weight:600;
    opacity:0;
    transform:translateY(-8px);
    transition:opacity .18s ease,transform .18s ease;
}
.dpoa-front-action-toast.is-visible{opacity:1;transform:translateY(0)}
.dpoa-front-action-toast.is-success{border-left-color:#16a34a}
.dpoa-front-action-toast.is-error{border-left-color:#dc2626}


/* v1.2.18: группировка выбора курсов */
.dpoa-front .dpoa-course-choice-group{
    margin:12px 0 16px;
}
.dpoa-front .dpoa-course-choice-group h4{
    margin:0 0 7px;
    font-size:14px;
    line-height:1.3;
}
.dpoa-front .dpoa-course-choice-group .dpoa-front-checks{
    margin-top:0;
}


/* v1.2.19: единый стиль уведомлений в кабинете организации */
.dpoa-front-action-toast{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-height:44px;
}
.dpoa-front-action-toast-text{
    flex:1 1 auto;
}
.dpoa-front-action-toast-close{
    flex:0 0 auto;
    width:28px;
    height:28px;
    padding:0;
    border:0;
    border-radius:5px;
    background:transparent;
    color:#50575e;
    font-size:22px;
    line-height:26px;
    cursor:pointer;
}
.dpoa-front-action-toast-close:hover{
    background:rgba(0,0,0,.06);
}
.dpoa-front .dpoa-just-changed{
    animation:dpoaFrontChangedPulse 2.4s ease;
}
@keyframes dpoaFrontChangedPulse{
    0%,100%{box-shadow:none}
    15%,65%{box-shadow:inset 4px 0 0 #2563eb,0 0 0 1px rgba(37,99,235,.12)}
}


/* v1.2.24: единое разделение курсов на заочные и очные */
.dpoa-front .dpoa-available-course-group{
    margin:12px 0 18px;
}
.dpoa-front .dpoa-available-course-group h4,
.dpoa-front .dpoa-student-course-group h3,
.dpoa-front .dpoa-employee-course-group-title,
.dpoa-registration-course-group > b{
    display:block;
    margin:0 0 7px;
    font-size:14px;
    line-height:1.35;
    font-weight:700;
    color:inherit;
}
.dpoa-front .dpoa-student-course-group{
    margin:0 0 20px;
}
.dpoa-front .dpoa-student-course-group:last-child{
    margin-bottom:0;
}
.dpoa-front .dpoa-student-course-group .dpoa-student-course-row + .dpoa-student-course-row{
    margin-top:8px;
}
.dpoa-front .dpoa-employee-course-group{
    margin-top:10px;
}
.dpoa-front .dpoa-employee-course-group ul{
    margin-top:4px;
}
.dpoa-registration-course-group{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin-top:9px;
}
.dpoa-registration-course-group > b{
    margin-bottom:1px;
}
.dpoa-front .dpoa-assigned-group-row th{
    background:#f7f8fa!important;
    font-weight:700!important;
    text-align:left!important;
    padding-top:9px!important;
    padding-bottom:9px!important;
}


/* v1.2.25: карточки сотрудников в кабинете организации компактнее, кнопка открытия в правом верхнем углу */
.dpoa-front .dpoa-front-list{
    gap:8px;
}
.dpoa-front .dpoa-employee-card{
    position:relative;
    align-items:flex-start;
    padding:14px 18px 12px;
    min-height:0;
}
.dpoa-front .dpoa-employee-card-main{
    width:100%;
    min-width:0;
    padding-right:140px;
    box-sizing:border-box;
}
.dpoa-front .dpoa-employee-card .dpoa-btn.ghost{
    position:absolute;
    top:14px;
    right:18px;
    margin:0;
}
.dpoa-front .dpoa-employee-identity h4{
    line-height:1.25;
}
.dpoa-front .dpoa-employee-course-group{
    margin-top:8px;
}
.dpoa-front .dpoa-employee-course-group-title{
    margin-bottom:4px;
}
.dpoa-front .dpoa-employee-card ul{
    margin:2px 0 0;
    padding-left:19px;
}
.dpoa-front .dpoa-employee-card ul li + li{
    margin-top:2px;
}
@media(max-width:700px){
    .dpoa-front .dpoa-employee-card{
        padding:14px;
    }
    .dpoa-front .dpoa-employee-card-main{
        padding-right:0;
    }
    .dpoa-front .dpoa-employee-card .dpoa-btn.ghost{
        position:static;
        top:auto;
        right:auto;
        width:100%;
        margin-top:10px;
    }
}


/* v1.2.26: поиск и фильтры сотрудников в кабинете организации */
.dpoa-front .dpoa-employee-filter-form{
    display:grid;
    grid-template-columns:minmax(210px,1.35fr) minmax(170px,1fr) minmax(160px,.85fr) minmax(170px,1fr) auto;
    gap:10px;
    align-items:end;
    margin:0 0 14px;
    padding:12px 14px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
    box-sizing:border-box;
}
.dpoa-front .dpoa-employee-filter-form > label{
    display:flex;
    flex-direction:column;
    gap:5px;
    min-width:0;
    margin:0;
}
.dpoa-front .dpoa-employee-filter-form > label > span{
    font-size:12px;
    line-height:1.25;
    font-weight:600;
    color:#667085;
}
.dpoa-front .dpoa-employee-filter-form input,
.dpoa-front .dpoa-employee-filter-form select{
    width:100%;
    min-width:0;
    min-height:40px;
    box-sizing:border-box;
}
.dpoa-front .dpoa-employee-filter-actions{
    display:flex;
    align-items:center;
    gap:10px;
    min-height:40px;
}
.dpoa-front .dpoa-employee-filter-actions .dpoa-btn{
    width:auto;
    white-space:nowrap;
}
.dpoa-front .dpoa-employee-filter-reset{
    display:inline-flex;
    align-items:center;
    min-height:40px;
    color:#3858e9;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    white-space:nowrap;
}
.dpoa-front .dpoa-employee-filter-reset:hover{
    text-decoration:underline;
}
.dpoa-front .dpoa-employee-filter-empty{
    margin:0!important;
    padding:14px 16px!important;
    color:#667085;
}

@media(max-width:980px){
    .dpoa-front .dpoa-employee-filter-form{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .dpoa-front .dpoa-employee-filter-actions{
        grid-column:1 / -1;
    }
}
@media(max-width:700px){
    .dpoa-front .dpoa-employee-filter-form{
        grid-template-columns:1fr;
    }
    .dpoa-front .dpoa-employee-filter-actions{
        grid-column:auto;
        align-items:stretch;
        flex-direction:column;
    }
    .dpoa-front .dpoa-employee-filter-actions .dpoa-btn,
    .dpoa-front .dpoa-employee-filter-reset{
        width:100%;
        justify-content:center;
    }
}


/* v1.2.27: фильтр остаётся у списка сотрудников; карточки почти без промежутков */
.dpoa-front .dpoa-employee-results-section{
    scroll-margin-top:18px;
}
.dpoa-front .dpoa-employee-results-section .dpoa-front-list{
    gap:3px!important;
}


/* v1.2.28: «Документы и контроль» в кабинете организации */
.dpoa-front .dpoa-org-tools{
    margin:22px 0 20px;
}
.dpoa-front .dpoa-org-tools-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:14px;
    margin-bottom:10px;
}
.dpoa-front .dpoa-org-tools-head h3{
    margin:0;
}
.dpoa-front .dpoa-org-tools-head p{
    margin:4px 0 0;
    color:#667085;
}
.dpoa-front .dpoa-org-tool-cards{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:7px;
}
.dpoa-front .dpoa-org-tool-card{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:0;
    padding:11px 12px;
    border:1px solid #e5e7eb;
    border-radius:9px;
    background:#fff;
    color:inherit!important;
    text-decoration:none!important;
}
.dpoa-front .dpoa-org-tool-card:hover,
.dpoa-front .dpoa-org-tool-card.is-active{
    border-color:#3858e9;
    box-shadow:0 0 0 1px rgba(56,88,233,.08);
}
.dpoa-front .dpoa-org-tool-card strong{
    font-size:13px;
    line-height:1.25;
}
.dpoa-front .dpoa-org-tool-card span{
    color:#667085;
    font-size:11px;
    line-height:1.3;
}
.dpoa-front .dpoa-org-tool-panel{
    margin-top:10px;
    padding:15px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
}
.dpoa-front .dpoa-org-tool-panel > h4{
    margin:0 0 5px;
    font-size:17px;
}
.dpoa-front .dpoa-org-tool-panel > p{
    margin:0 0 14px;
    color:#667085;
}
.dpoa-front .dpoa-org-tool-panel-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:14px;
    margin-bottom:12px;
}
.dpoa-front .dpoa-org-tool-panel-head h4{
    margin:0 0 4px;
    font-size:17px;
}
.dpoa-front .dpoa-org-tool-panel-head p{
    margin:0;
    color:#667085;
}
.dpoa-front .dpoa-tool-empty{
    margin:8px 0 0!important;
    padding:10px 12px;
    background:#f7f8fa;
    border-radius:7px;
    color:#667085;
}
.dpoa-front .dpoa-matrix-scroll{
    overflow:auto;
    max-width:100%;
    border:1px solid #e5e7eb;
}
.dpoa-front .dpoa-matrix-table{
    width:100%;
    min-width:850px;
    border-collapse:collapse;
    font-size:12px;
}
.dpoa-front .dpoa-matrix-table th,
.dpoa-front .dpoa-matrix-table td{
    padding:7px 8px;
    border-right:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
    vertical-align:middle;
}
.dpoa-front .dpoa-matrix-table th{
    position:sticky;
    top:0;
    z-index:1;
    background:#f7f8fa;
    text-align:left;
}
.dpoa-front .dpoa-matrix-table td:first-child,
.dpoa-front .dpoa-matrix-table td:nth-child(2){
    white-space:nowrap;
}
.dpoa-front .dpoa-matrix-status{
    text-align:center;
    line-height:1.2;
    min-width:105px;
}
.dpoa-front .dpoa-matrix-status small{
    color:inherit;
    opacity:.8;
}
.dpoa-front .dpoa-matrix-status.is-completed{background:#eef8f1;color:#18763a}
.dpoa-front .dpoa-matrix-status.is-soon{background:#fff7db;color:#8a6200}
.dpoa-front .dpoa-matrix-status.is-overdue{background:#fff0f0;color:#b42318}
.dpoa-front .dpoa-matrix-status.is-incomplete{background:#fff5ea;color:#b54708}
.dpoa-front .dpoa-matrix-status.is-not-assigned{background:#f7f8fa;color:#667085}
.dpoa-front .dpoa-matrix-legend{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:9px;
    font-size:11px;
}
.dpoa-front .dpoa-matrix-legend span{
    padding:3px 7px;
    border-radius:5px;
}
.dpoa-front .dpoa-matrix-legend .is-completed{background:#eef8f1;color:#18763a}
.dpoa-front .dpoa-matrix-legend .is-soon{background:#fff7db;color:#8a6200}
.dpoa-front .dpoa-matrix-legend .is-overdue{background:#fff0f0;color:#b42318}
.dpoa-front .dpoa-matrix-legend .is-incomplete{background:#fff5ea;color:#b54708}
.dpoa-front .dpoa-matrix-legend .is-not-assigned{background:#f7f8fa;color:#667085}

.dpoa-front .dpoa-org-document-grid{
    display:grid;
    grid-template-columns:1.3fr 1.3fr .8fr .8fr;
    gap:9px;
    margin-bottom:12px;
}
.dpoa-front .dpoa-org-document-grid label,
.dpoa-front .dpoa-template-job-select label{
    display:flex;
    flex-direction:column;
    gap:4px;
    font-size:12px;
    font-weight:600;
}
.dpoa-front .dpoa-org-document-grid input,
.dpoa-front .dpoa-org-document-grid select,
.dpoa-front .dpoa-template-job-select select{
    width:100%;
    min-height:40px;
}
.dpoa-front .dpoa-document-employees{
    border:1px solid #e5e7eb;
    border-radius:8px;
    overflow:hidden;
}
.dpoa-front .dpoa-document-employees-head{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:8px 10px;
    background:#f7f8fa;
    font-size:12px;
}
.dpoa-front .dpoa-document-employee-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-height:260px;
    overflow:auto;
}
.dpoa-front .dpoa-document-employee-list label{
    display:flex;
    gap:8px;
    align-items:flex-start;
    padding:7px 10px;
    border-bottom:1px solid #eef0f2;
}
.dpoa-front .dpoa-document-employee-list label:nth-child(odd){
    border-right:1px solid #eef0f2;
}
.dpoa-front .dpoa-document-employee-list strong,
.dpoa-front .dpoa-document-employee-list small{
    display:block;
}
.dpoa-front .dpoa-document-employee-list small{
    color:#667085;
    margin-top:2px;
}

.dpoa-front .dpoa-calendar-group{
    margin-top:14px;
}
.dpoa-front .dpoa-calendar-group h5{
    margin:0 0 6px;
    font-size:14px;
}
.dpoa-front .dpoa-calendar-group.is-overdue h5{
    color:#b42318;
}
.dpoa-front .dpoa-calendar-list{
    border:1px solid #e5e7eb;
    border-radius:8px;
    overflow:hidden;
}
.dpoa-front .dpoa-calendar-row{
    display:grid;
    grid-template-columns:95px minmax(210px,.9fr) 1.6fr;
    gap:12px;
    align-items:center;
    padding:7px 10px;
    border-bottom:1px solid #eef0f2;
    font-size:12px;
}
.dpoa-front .dpoa-calendar-row:last-child{
    border-bottom:0;
}
.dpoa-front .dpoa-calendar-row time{
    font-weight:700;
}
.dpoa-front .dpoa-calendar-row strong,
.dpoa-front .dpoa-calendar-row span{
    display:block;
}
.dpoa-front .dpoa-calendar-row span{
    color:#667085;
    margin-top:2px;
}

.dpoa-front .dpoa-template-job-select{
    display:flex;
    align-items:flex-end;
    gap:9px;
    max-width:520px;
    margin:10px 0 14px;
}
.dpoa-front .dpoa-template-job-select label{
    flex:1 1 auto;
}
.dpoa-front .dpoa-template-course-group{
    margin:10px 0;
}
.dpoa-front .dpoa-template-course-group > strong{
    display:block;
    margin-bottom:5px;
}
.dpoa-front .dpoa-template-course-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px 12px;
}
.dpoa-front .dpoa-template-course-list label{
    display:flex;
    align-items:flex-start;
    gap:7px;
    padding:5px 0;
}
.dpoa-front .dpoa-template-actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin-top:12px;
}
.dpoa-front .dpoa-template-actions form{
    margin:0;
}
.dpoa-front .dpoa-tool-text-button{
    border:0;
    background:transparent;
    color:#b42318;
    padding:7px 4px;
    cursor:pointer;
}
.dpoa-front .dpoa-saved-templates{
    display:flex;
    flex-direction:column;
    margin-top:16px;
    border-top:1px solid #eef0f2;
    padding-top:10px;
}
.dpoa-front .dpoa-saved-templates > strong{
    margin-bottom:5px;
}
.dpoa-front .dpoa-saved-templates a{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:6px 0;
    border-bottom:1px solid #eef0f2;
    text-decoration:none;
}
.dpoa-front .dpoa-saved-templates small{
    color:#667085;
}
.dpoa-front .dpoa-org-archive-list{
    border:1px solid #e5e7eb;
    border-radius:8px;
    overflow:hidden;
}
.dpoa-front .dpoa-org-archive-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:8px 10px;
    border-bottom:1px solid #eef0f2;
}
.dpoa-front .dpoa-org-archive-row:last-child{
    border-bottom:0;
}
.dpoa-front .dpoa-org-archive-row strong,
.dpoa-front .dpoa-org-archive-row span{
    display:block;
}
.dpoa-front .dpoa-org-archive-row span{
    margin-top:2px;
    color:#667085;
    font-size:11px;
}

@media(max-width:1000px){
    .dpoa-front .dpoa-org-tool-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
    .dpoa-front .dpoa-org-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
    .dpoa-front .dpoa-org-tool-cards{grid-template-columns:1fr}
    .dpoa-front .dpoa-org-document-grid,
    .dpoa-front .dpoa-document-employee-list,
    .dpoa-front .dpoa-template-course-list{grid-template-columns:1fr}
    .dpoa-front .dpoa-document-employee-list label:nth-child(odd){border-right:0}
    .dpoa-front .dpoa-calendar-row{grid-template-columns:1fr;gap:3px}
    .dpoa-front .dpoa-template-job-select{align-items:stretch;flex-direction:column;max-width:none}
    .dpoa-front .dpoa-org-archive-row,
    .dpoa-front .dpoa-org-tool-panel-head{align-items:stretch;flex-direction:column}
}


/* v1.2.30: дашборд кабинета организации */
.dpoa-front .dpoa-org-dashboard{margin:0 0 22px}
.dpoa-front .dpoa-org-dashboard-head{margin:0 0 9px}
.dpoa-front .dpoa-org-dashboard-head h3{margin:0}
.dpoa-front .dpoa-dashboard-cards{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
}
.dpoa-front .dpoa-dashboard-card{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-height:82px;
    padding:11px 13px;
    box-sizing:border-box;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
    color:#1d2327!important;
    text-decoration:none!important;
    box-shadow:0 1px 2px rgba(0,0,0,.025);
}
.dpoa-front .dpoa-dashboard-card:hover{
    border-color:#aeb7c2;
    box-shadow:0 3px 10px rgba(0,0,0,.06);
}
.dpoa-front .dpoa-dashboard-number{
    display:block;
    margin-bottom:3px;
    font-size:25px;
    line-height:1;
    font-weight:700;
}
.dpoa-front .dpoa-dashboard-card span{
    font-size:12px;
    line-height:1.3;
    color:#667085;
}
.dpoa-front .dpoa-dashboard-card.is-completed{border-left:4px solid #2e8b57}
.dpoa-front .dpoa-dashboard-card.is-completed .dpoa-dashboard-number{color:#18763a}
.dpoa-front .dpoa-dashboard-card.is-soon{border-left:4px solid #dba617}
.dpoa-front .dpoa-dashboard-card.is-soon .dpoa-dashboard-number{color:#8a6200}
.dpoa-front .dpoa-dashboard-card.is-overdue{border-left:4px solid #d63638}
.dpoa-front .dpoa-dashboard-card.is-overdue .dpoa-dashboard-number{color:#b42318}
.dpoa-front .dpoa-dashboard-card.is-empty{border-left:4px solid #8c8f94}
.dpoa-front .dpoa-dashboard-actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:8px;
    padding:8px 10px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    background:#fff;
}
.dpoa-front .dpoa-dashboard-actions>strong{font-size:12px;flex:0 0 auto}
.dpoa-front .dpoa-dashboard-action-list{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px 14px;
}
.dpoa-front .dpoa-dashboard-action-list a{
    color:#3858e9;
    font-size:12px;
    font-weight:600;
    text-decoration:none;
}
.dpoa-front .dpoa-dashboard-action-list a:hover{text-decoration:underline}
.dpoa-front .dpoa-open-employee{scroll-margin-top:16px}

@media(max-width:1000px){
    .dpoa-front .dpoa-dashboard-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
    .dpoa-front .dpoa-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
    .dpoa-front .dpoa-dashboard-actions{align-items:flex-start;flex-direction:column}
}
@media(max-width:460px){
    .dpoa-front .dpoa-dashboard-cards{grid-template-columns:1fr}
}


/* v1.2.31: заголовок «Сотрудники» и кнопка добавления в одной строке */
.dpoa-front .dpoa-employee-list-head{
    display:flex!important;
    flex-direction:row!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:12px!important;
    margin-top:26px!important;
    margin-bottom:12px!important;
}
.dpoa-front .dpoa-employee-list-head h3{
    margin:0!important;
}
.dpoa-front .dpoa-employee-list-head .dpoa-btn{
    flex:0 0 auto!important;
    width:auto!important;
}
.dpoa-front .dpoa-employee-list-head + #dpoa-add-employee{
    margin-top:0!important;
    margin-bottom:14px!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-employee-list-head{
        flex-direction:row!important;
        align-items:center!important;
    }
    .dpoa-front .dpoa-employee-list-head .dpoa-btn{
        width:auto!important;
    }
}


/* v1.2.32: упрощённые «Документы и контроль» */
.dpoa-front .dpoa-org-tool-cards{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.dpoa-front .dpoa-dashboard-actions{
    display:none!important;
}

/* Матрица: один курс, одна колонка статуса, легенда сверху */
.dpoa-front .dpoa-matrix-controls{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:12px;
    margin:0 0 9px;
}
.dpoa-front .dpoa-matrix-filter-form{
    display:flex;
    align-items:flex-end;
    flex-wrap:wrap;
    gap:9px;
    flex:1 1 auto;
}
.dpoa-front .dpoa-matrix-filter-form label{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-width:180px;
    margin:0;
    font-size:12px;
    font-weight:600;
}
.dpoa-front .dpoa-matrix-filter-form label:first-of-type{
    flex:1 1 380px;
}
.dpoa-front .dpoa-matrix-filter-form select{
    width:100%;
    min-height:40px;
}
.dpoa-front .dpoa-matrix-download{
    flex:0 0 auto;
}
.dpoa-front .dpoa-matrix-legend-top{
    margin:0 0 9px!important;
}
.dpoa-front .dpoa-matrix-table-single{
    min-width:0!important;
    table-layout:fixed;
}
.dpoa-front .dpoa-matrix-table-single th:nth-child(1),
.dpoa-front .dpoa-matrix-table-single td:nth-child(1){width:34%}
.dpoa-front .dpoa-matrix-table-single th:nth-child(2),
.dpoa-front .dpoa-matrix-table-single td:nth-child(2){width:33%}
.dpoa-front .dpoa-matrix-table-single th:nth-child(3),
.dpoa-front .dpoa-matrix-table-single td:nth-child(3){width:33%}
.dpoa-front .dpoa-matrix-status.is-not-assigned{
    background:#f3ecff!important;
    color:#65439b!important;
}
.dpoa-front .dpoa-matrix-legend .is-not-assigned{
    background:#f3ecff!important;
    color:#65439b!important;
}

/* Документы: нормальный отступ и две явные команды */
.dpoa-front .dpoa-document-actions{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:16px;
}

@media(max-width:700px){
    .dpoa-front .dpoa-org-tool-cards{grid-template-columns:1fr!important}
    .dpoa-front .dpoa-matrix-controls{align-items:stretch;flex-direction:column}
    .dpoa-front .dpoa-matrix-filter-form{align-items:stretch;flex-direction:column;width:100%}
    .dpoa-front .dpoa-matrix-filter-form label{min-width:0;width:100%}
    .dpoa-front .dpoa-matrix-download{width:100%}
    .dpoa-front .dpoa-document-actions{align-items:stretch;flex-direction:column}
    .dpoa-front .dpoa-document-actions .dpoa-btn{width:100%}
}


/* v1.2.33: рабочий блок «Помощник» */
.dpoa-front .dpoa-org-assistant{
    margin:0 0 18px;
    padding:14px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
}
.dpoa-front .dpoa-assistant-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:10px;
}
.dpoa-front .dpoa-assistant-head h3{
    margin:0;
}
.dpoa-front .dpoa-assistant-head p{
    margin:3px 0 0;
    color:#667085;
    font-size:12px;
}
.dpoa-front .dpoa-assistant-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:28px;
    height:28px;
    padding:0 7px;
    border-radius:999px;
    background:#f0f2f5;
    color:#344054;
    font-size:12px;
    font-weight:700;
}
.dpoa-front .dpoa-assistant-list{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.dpoa-front .dpoa-assistant-task{
    display:grid;
    grid-template-columns:8px minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
    padding:8px 10px;
    border:1px solid #eef0f2;
    border-radius:8px;
    background:#fff;
    color:inherit!important;
    text-decoration:none!important;
}
.dpoa-front .dpoa-assistant-task:hover{
    border-color:#cfd5dc;
    background:#fafbfc;
}
.dpoa-front .dpoa-assistant-task-mark{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#8c8f94;
}
.dpoa-front .dpoa-assistant-task.is-overdue .dpoa-assistant-task-mark{
    background:#d63638;
}
.dpoa-front .dpoa-assistant-task.is-soon .dpoa-assistant-task-mark{
    background:#dba617;
}
.dpoa-front .dpoa-assistant-task.is-no-courses .dpoa-assistant-task-mark{
    background:#7a5af8;
}
.dpoa-front .dpoa-assistant-task-body{
    min-width:0;
}
.dpoa-front .dpoa-assistant-task-body strong,
.dpoa-front .dpoa-assistant-task-body span,
.dpoa-front .dpoa-assistant-task-body small{
    display:block;
}
.dpoa-front .dpoa-assistant-task-body strong{
    margin-bottom:2px;
    font-size:12px;
    line-height:1.25;
}
.dpoa-front .dpoa-assistant-task-body span{
    font-size:12px;
    line-height:1.3;
}
.dpoa-front .dpoa-assistant-task-body small{
    margin-top:2px;
    color:#667085;
    font-size:11px;
    line-height:1.3;
}
.dpoa-front .dpoa-assistant-task-open{
    color:#3858e9;
    font-size:12px;
    font-weight:600;
    white-space:nowrap;
}
.dpoa-front .dpoa-assistant-toggle{
    margin-top:8px;
    padding:0;
    border:0;
    background:transparent;
    color:#3858e9;
    font-size:12px;
    font-weight:600;
    cursor:pointer;
}
.dpoa-front .dpoa-assistant-toggle:hover{
    text-decoration:underline;
}
.dpoa-front .dpoa-assistant-empty{
    display:flex;
    flex-direction:column;
    gap:3px;
    padding:9px 10px;
    border-radius:8px;
    background:#f4fbf6;
}
.dpoa-front .dpoa-assistant-empty strong{
    color:#18763a;
    font-size:13px;
}
.dpoa-front .dpoa-assistant-empty span{
    color:#667085;
    font-size:11px;
    line-height:1.35;
}

@media(max-width:700px){
    .dpoa-front .dpoa-assistant-task{
        grid-template-columns:8px minmax(0,1fr);
    }
    .dpoa-front .dpoa-assistant-task-open{
        grid-column:2;
    }
}


/* v1.2.34: «Сбросить» в фильтре сотрудников — полноценная кнопка */
.dpoa-front .dpoa-employee-filter-actions .dpoa-employee-filter-reset{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:40px!important;
    padding:0 16px!important;
    border:1px solid #3858e9!important;
    border-radius:2px!important;
    background:#fff!important;
    color:#3858e9!important;
    font-size:13px!important;
    font-weight:600!important;
    line-height:1.2!important;
    text-decoration:none!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
}
.dpoa-front .dpoa-employee-filter-actions .dpoa-employee-filter-reset:hover,
.dpoa-front .dpoa-employee-filter-actions .dpoa-employee-filter-reset:focus{
    background:#f3f5ff!important;
    color:#2145e6!important;
    text-decoration:none!important;
}

/* v1.2.37: сворачивание доступных курсов */
.dpoa-available-courses-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.dpoa-available-courses-head h3{margin:0}
.dpoa-available-courses-toggle{border:0;background:transparent;padding:4px 0;color:#2271b1;cursor:pointer;font:inherit;font-weight:600}
.dpoa-available-courses-toggle:hover{text-decoration:underline}
.dpoa-available-courses-arrow{display:inline-block;min-width:14px;text-align:center}
.dpoa-available-courses-body{margin-top:14px}

/* v1.2.38: компактная структура кабинета */
.dpoa-front .dpoa-org-dashboard{margin-bottom:18px}
.dpoa-front .dpoa-org-dashboard-head h3{margin-bottom:10px}
.dpoa-front .dpoa-available-courses-head{
    justify-content:flex-start!important;
    gap:10px!important;
}
.dpoa-front .dpoa-available-courses-toggle{
    padding:1px 0!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:400!important;
    color:#667085!important;
}
.dpoa-front .dpoa-available-courses-toggle:hover{color:#3858e9!important}
.dpoa-front .dpoa-available-courses-arrow{min-width:10px!important;font-size:11px}

.dpoa-front .dpoa-assistant-head-actions{
    display:flex;
    align-items:flex-start;
    gap:8px;
}
.dpoa-front .dpoa-assistant-events{position:relative}
.dpoa-front .dpoa-assistant-events summary{
    list-style:none;
    cursor:pointer;
    color:#667085;
    font-size:12px;
    font-weight:500;
    white-space:nowrap;
    padding:5px 7px;
    border-radius:6px;
}
.dpoa-front .dpoa-assistant-events summary::-webkit-details-marker{display:none}
.dpoa-front .dpoa-assistant-events summary:after{content:' ▾';font-size:10px}
.dpoa-front .dpoa-assistant-events[open] summary:after{content:' ▴'}
.dpoa-front .dpoa-assistant-events summary:hover{background:#f6f7f7;color:#344054}
.dpoa-front .dpoa-assistant-events-menu{
    position:absolute;
    right:0;
    top:34px;
    z-index:20;
    min-width:270px;
    padding:9px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    background:#fff;
    box-shadow:0 8px 24px rgba(16,24,40,.12);
}
.dpoa-front .dpoa-assistant-events-menu label{
    display:flex;
    align-items:flex-start;
    gap:7px;
    padding:6px;
    margin:0;
    font-size:12px;
    font-weight:400;
    cursor:pointer;
}
.dpoa-front .dpoa-assistant-events-menu input{margin-top:2px}
.dpoa-front .dpoa-assistant-events-status{min-height:16px;padding:3px 6px 0;color:#667085;font-size:11px}
.dpoa-front .dpoa-assistant-task.is-incomplete .dpoa-assistant-task-mark{background:#2271b1}

.dpoa-front .dpoa-documents-only{
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
.dpoa-front .dpoa-open-documents{display:inline-flex!important;width:auto!important}
.dpoa-front .dpoa-documents-open-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}
.dpoa-front .dpoa-documents-open-head strong{font-size:16px}
.dpoa-front .dpoa-documents-open-head a{font-size:12px;text-decoration:none}
.dpoa-front .dpoa-documents-only .dpoa-org-tool-panel{margin-top:0}
@media(max-width:700px){
    .dpoa-front .dpoa-assistant-head{align-items:flex-start}
    .dpoa-front .dpoa-assistant-head-actions{align-items:flex-end;flex-direction:column}
    .dpoa-front .dpoa-assistant-events-menu{right:0;min-width:250px}
}


/* v1.2.39: финальные правки компактного кабинета */
.dpoa-front .dpoa-available-courses-toggle{
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    padding:4px 9px!important;
    border:1px solid #d0d5dd!important;
    border-radius:5px!important;
    background:#fff!important;
    color:#475467!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:500!important;
    text-decoration:none!important;
    box-shadow:none!important;
}
.dpoa-front .dpoa-available-courses-toggle:hover,
.dpoa-front .dpoa-available-courses-toggle:focus{
    border-color:#98a2b3!important;
    background:#f9fafb!important;
    color:#344054!important;
    text-decoration:none!important;
}
.dpoa-front .dpoa-open-documents{
    text-decoration:none!important;
}
.dpoa-front .dpoa-open-documents:hover,
.dpoa-front .dpoa-open-documents:focus{
    text-decoration:none!important;
}
.dpoa-front .dpoa-documents-only:not(.is-open){
    margin:36px 0!important;
}
.dpoa-front .dpoa-assistant-head{
    justify-content:flex-start!important;
    gap:10px!important;
}
.dpoa-front .dpoa-assistant-head-actions{
    margin-left:0!important;
}
\n\n/* v1.2.40: компактная шапка помощника */\n.dpoa-front .dpoa-assistant-head{\n    display:flex!important;\n    align-items:center!important;\n    justify-content:flex-start!important;\n    gap:10px!important;\n    margin-bottom:10px!important;\n}\n.dpoa-front .dpoa-assistant-head h3{\n    margin:0!important;\n    line-height:1.2!important;\n}\n.dpoa-front .dpoa-assistant-head-actions{\n    display:flex!important;\n    align-items:center!important;\n    margin:0!important;\n}\n.dpoa-front .dpoa-assistant-events summary{\n    display:inline-flex!important;\n    align-items:center!important;\n    gap:4px!important;\n    list-style:none!important;\n    cursor:pointer!important;\n    padding:4px 9px!important;\n    border:1px solid #d0d5dd!important;\n    border-radius:5px!important;\n    background:#fff!important;\n    color:#475467!important;\n    font-size:12px!important;\n    line-height:1.2!important;\n    font-weight:500!important;\n    text-decoration:none!important;\n    box-shadow:none!important;\n    white-space:nowrap!important;\n}\n.dpoa-front .dpoa-assistant-events summary:hover,\n.dpoa-front .dpoa-assistant-events summary:focus{\n    border-color:#98a2b3!important;\n    background:#f9fafb!important;\n    color:#344054!important;\n}\n.dpoa-front .dpoa-assistant-count{\n    margin-left:auto!important;\n    display:block!important;\n    min-width:0!important;\n    height:auto!important;\n    padding:0!important;\n    border:0!important;\n    border-radius:0!important;\n    background:transparent!important;\n    color:#667085!important;\n    font-size:12px!important;\n    line-height:1.2!important;\n    font-weight:400!important;\n    white-space:nowrap!important;\n}\n@media(max-width:700px){\n    .dpoa-front .dpoa-assistant-head{align-items:center!important;flex-wrap:wrap!important}\n    .dpoa-front .dpoa-assistant-head-actions{align-items:center!important;flex-direction:row!important}\n    .dpoa-front .dpoa-assistant-count{margin-left:auto!important}\n}\n
/* v1.2.41: счетчик событий у правого края шапки помощника */
.dpoa-front .dpoa-assistant-head{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:100%!important;
}
.dpoa-front .dpoa-assistant-count{
    margin-left:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    height:auto!important;
    padding:5px 10px!important;
    border:0!important;
    border-radius:999px!important;
    background:#f0f2f5!important;
    color:#475467!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:500!important;
    white-space:nowrap!important;
}

/* v1.2.42: рамка кнопки «Что мне отслеживать» как у «Развернуть» */
.dpoa-front .dpoa-assistant-events summary{
    display:inline-flex!important;
    align-items:center!important;
    gap:4px!important;
    padding:4px 9px!important;
    border:1px solid #d0d5dd!important;
    border-radius:5px!important;
    background:#fff!important;
    color:#475467!important;
    font-size:12px!important;
    line-height:1.2!important;
    font-weight:500!important;
    text-decoration:none!important;
    box-shadow:none!important;
}
.dpoa-front .dpoa-assistant-events summary:hover,
.dpoa-front .dpoa-assistant-events summary:focus{
    border-color:#98a2b3!important;
    background:#f9fafb!important;
    color:#344054!important;
    text-decoration:none!important;
}


/* v1.2.43: выравнивание чекбоксов и текста в меню помощника */
.dpoa-front .dpoa-assistant-events-menu label{
    align-items:center!important;
}
.dpoa-front .dpoa-assistant-events-menu input[type="checkbox"]{
    width:14px!important;
    min-width:14px!important;
    height:14px!important;
    min-height:14px!important;
    margin:0!important;
    padding:0!important;
    flex:0 0 14px!important;
    vertical-align:middle!important;
}
.dpoa-front .dpoa-assistant-events-menu label span{
    display:inline-flex!important;
    align-items:center!important;
    line-height:1.3!important;
}


/* v1.2.44: выравнивание заголовка помощника и увеличенный отступ до кнопки */
.dpoa-front .dpoa-assistant-head{
    align-items:center!important;
}
.dpoa-front .dpoa-assistant-head h3{
    display:flex!important;
    align-items:center!important;
    margin:0!important;
}
.dpoa-front .dpoa-assistant-head-actions{
    display:flex!important;
    align-items:center!important;
    margin-left:20px!important;
}

/* v1.2.45: шапка помощника над блоком ключевых показателей */
.dpoa-front .dpoa-assistant-head-above{
    margin:0 0 10px;
}
.dpoa-front .dpoa-org-assistant-body{
    margin-top:0;
}


/* v1.2.46: настройки и счётчик помощника перенесены к списку событий */
.dpoa-front .dpoa-assistant-body-toolbar{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    width:100%!important;
    margin:0 0 10px!important;
}
.dpoa-front .dpoa-assistant-body-toolbar .dpoa-assistant-count{
    margin-left:auto!important;
}
.dpoa-front .dpoa-assistant-head-above{
    margin:0 0 10px!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-assistant-body-toolbar{
        flex-wrap:wrap!important;
    }
}


/* v1.2.47: выпадающий список «Что мне отслеживать» выровнен по левому краю кнопки */
.dpoa-front .dpoa-assistant-events-menu{
    left:0!important;
    right:auto!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-assistant-events-menu{
        left:0!important;
        right:auto!important;
    }
}
\n\n/* v1.2.48: весь «Помощник» собран в одну общую плашку */
.dpoa-front .dpoa-assistant-shell{
    margin:0 0 22px!important;
    padding:14px!important;
    border:1px solid #e5e7eb!important;
    border-radius:10px!important;
    background:#fff!important;
    box-sizing:border-box!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-assistant-head-above{
    margin:0 0 10px!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-org-dashboard{
    margin:0 0 18px!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-org-assistant-body{
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-documents-only:not(.is-open){
    margin:24px 0 0!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-documents-only.is-open{
    margin:24px 0 0!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-assistant-shell{padding:12px!important}
}

/* v1.2.49: визуально единый блок «Помощник» */
.dpoa-front .dpoa-assistant-shell{
    margin:0 0 28px!important;
    padding:18px 18px 22px!important;
    border:1px solid #d9dee7!important;
    border-radius:12px!important;
    background:#f7f8fa!important;
    box-shadow:0 1px 3px rgba(16,24,40,.05)!important;
    overflow:visible!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-assistant-head-above{
    margin:0 0 12px!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-org-dashboard{
    margin:0 0 18px!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-org-assistant-body{
    margin:0!important;
    padding:14px!important;
    border:1px solid #e1e5eb!important;
    border-radius:9px!important;
    background:#fff!important;
}
.dpoa-front .dpoa-assistant-shell .dpoa-documents-only:not(.is-open),
.dpoa-front .dpoa-assistant-shell .dpoa-documents-only.is-open{
    margin:22px 0 4px!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-assistant-shell{padding:14px 14px 18px!important}
    .dpoa-front .dpoa-assistant-shell .dpoa-org-assistant-body{padding:10px!important}
}


/* v1.2.57: заголовок количества сотрудников и кнопка добавления в одной строке */
.dpoa-front .dpoa-employee-list-head{
    justify-content:flex-start!important;
    align-items:center!important;
    gap:16px!important;
}
.dpoa-front .dpoa-employee-list-head h3{
    margin:0!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-employee-list-head{
        flex-direction:row!important;
        align-items:center!important;
        flex-wrap:wrap!important;
    }
    .dpoa-front .dpoa-employee-list-head .dpoa-btn{
        width:auto!important;
    }
}

/* v1.2.59: компактный поиск справа в строке заголовка сотрудников */
.dpoa-front .dpoa-employee-list-head{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:12px!important;
}
.dpoa-front .dpoa-employee-list-head h3{
    margin:0!important;
    flex:0 0 auto;
}
.dpoa-front .dpoa-employee-list-head > .dpoa-front-replace-trigger{
    margin-left:auto!important;
    flex:0 0 auto;
}
.dpoa-front .dpoa-employee-simple-search{
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-width:0;
}
.dpoa-front .dpoa-employee-simple-search input[type="search"]{
    width:280px;
    max-width:32vw;
    min-height:38px;
    margin:0!important;
    box-sizing:border-box;
}
.dpoa-front .dpoa-employee-simple-search .dpoa-btn{
    min-height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    margin:0!important;
}
.dpoa-front .dpoa-employee-simple-search .dpoa-employee-filter-reset,
.dpoa-front .dpoa-employee-simple-search .dpoa-employee-filter-reset:hover,
.dpoa-front .dpoa-employee-simple-search .dpoa-employee-filter-reset:focus{
    text-decoration:none!important;
}
@media(max-width:900px){
    .dpoa-front .dpoa-employee-list-head{
        flex-wrap:wrap!important;
    }
    .dpoa-front .dpoa-employee-list-head > .dpoa-front-replace-trigger{
        margin-left:auto!important;
    }
    .dpoa-front .dpoa-employee-simple-search{
        flex:1 1 100%;
        width:100%;
    }
    .dpoa-front .dpoa-employee-simple-search input[type="search"]{
        flex:1 1 auto;
        width:auto;
        max-width:none;
    }
}
@media(max-width:560px){
    .dpoa-front .dpoa-employee-list-head > .dpoa-front-replace-trigger{
        margin-left:0!important;
    }
    .dpoa-front .dpoa-employee-simple-search{
        flex-wrap:wrap;
    }
}


/* v1.2.61: заголовок назначенных курсов выровнен по содержимому таблицы */
.dpoa-front .dpoa-assigned-title{
    padding-left:12px;
    box-sizing:border-box;
}


/* v1.2.62: компактный список сотрудников с аккордеоном курсов */
.dpoa-front .dpoa-front-list{
    display:grid;
    gap:5px!important;
}
.dpoa-front .dpoa-employee-card{
    display:block!important;
    margin:0!important;
    padding:12px 16px!important;
}
.dpoa-front .dpoa-employee-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}
.dpoa-front .dpoa-employee-card-main{
    display:block;
}
.dpoa-front .dpoa-employee-identity h4{
    margin:0!important;
}
.dpoa-front .dpoa-employee-card-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}
.dpoa-front .dpoa-employee-card .dpoa-btn.ghost,
.dpoa-front .dpoa-employee-card .dpoa-employee-courses-toggle{
    min-width:0;
    white-space:nowrap;
}
.dpoa-front .dpoa-employee-courses-panel{
    margin-top:10px;
}
.dpoa-front .dpoa-employee-courses-panel[hidden]{
    display:none!important;
}
.dpoa-front .dpoa-employee-no-courses{
    margin:0;
    color:#667085;
}
@media(max-width:900px){
    .dpoa-front .dpoa-employee-card-head{
        flex-direction:column;
        align-items:flex-start;
    }
    .dpoa-front .dpoa-employee-card-actions{
        width:100%;
        flex-wrap:wrap;
    }
}


/* v1.2.63: исправлено наложение кнопок в строке сотрудника; на кнопках никогда нет подчеркивания */
.dpoa-front .dpoa-employee-card-actions .dpoa-btn,
.dpoa-front .dpoa-employee-card-actions .dpoa-btn.ghost,
.dpoa-front .dpoa-employee-card-actions .dpoa-employee-courses-toggle{
    position:static!important;
    top:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    margin:0!important;
    width:auto!important;
    min-width:max-content!important;
    flex:0 0 auto!important;
}
.dpoa-front .dpoa-employee-card-actions{
    margin-left:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:10px!important;
}
.dpoa-front .dpoa-btn,
.dpoa-front a.dpoa-btn,
.dpoa-front a.dpoa-btn:link,
.dpoa-front a.dpoa-btn:visited,
.dpoa-front a.dpoa-btn:hover,
.dpoa-front a.dpoa-btn:focus,
.dpoa-front a.dpoa-btn:active,
.dpoa-front button.dpoa-btn,
.dpoa-front button.dpoa-btn:hover,
.dpoa-front button.dpoa-btn:focus{
    text-decoration:none!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-employee-card-actions .dpoa-btn,
    .dpoa-front .dpoa-employee-card-actions .dpoa-btn.ghost,
    .dpoa-front .dpoa-employee-card-actions .dpoa-employee-courses-toggle{
        position:static!important;
        width:auto!important;
        margin:0!important;
    }
}

/* v1.2.64: кнопка сохранения видна только после изменения сохранённых полей */
.dpoa-dirty-save[hidden]{display:none!important;}


/* v1.2.67: более компактные ФИО и должность в списке сотрудников */
.dpoa-front .dpoa-employee-identity h4{
    font-size:18px!important;
    line-height:1.25!important;
    font-weight:600!important;
}
.dpoa-front .dpoa-employee-job{
    font-size:17px!important;
    line-height:1.25!important;
    font-weight:400!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-employee-identity h4{font-size:17px!important;}
    .dpoa-front .dpoa-employee-job{font-size:16px!important;}
}


/* v1.2.68: кнопки «Сбросить» используют общий стиль Отменить / Сбросить */
.dpoa-front .dpoa-employee-filter-reset,
.dpoa-front .dpoa-employee-filter-reset:hover,
.dpoa-front .dpoa-employee-filter-reset:focus,
.dpoa-front .dpoa-employee-filter-reset:visited{
    text-decoration:none!important;
}

/* v1.2.71: сотрудники — компактные плашки с одним раскрытым разделом */
.dpoa-front .dpoa-front-list{
    gap:5px!important;
}
.dpoa-front .dpoa-employee-inline-card{
    border:1px solid #e3e7ee;
    border-radius:9px;
    background:#fff;
    margin:0;
    padding:9px 12px;
    box-sizing:border-box;
}
.dpoa-front .dpoa-employee-inline-head{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:36px;
}
.dpoa-front .dpoa-employee-inline-identity{
    min-width:0;
    flex:1 1 auto;
    display:flex;
    align-items:baseline;
    gap:5px;
    font-size:13px;
    line-height:1.25;
}
.dpoa-front .dpoa-employee-inline-identity strong{
    font-size:13.5px;
    line-height:1.25;
    white-space:nowrap;
}
.dpoa-front .dpoa-employee-inline-identity span{
    min-width:0;
    color:#475467;
    font-size:12.5px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.dpoa-front .dpoa-employee-inline-actions{
    display:flex;
    align-items:center;
    gap:7px;
    margin-left:auto;
    flex:0 0 auto;
}
.dpoa-front .dpoa-employee-inline-actions form{
    margin:0;
}
.dpoa-front .dpoa-employee-inline-actions .dpoa-btn{
    width:auto!important;
    min-height:34px;
    padding:0 12px;
    font-size:12.5px;
    white-space:nowrap;
    text-decoration:none!important;
}
.dpoa-front .dpoa-employee-inline-toggle.is-active{
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);
}
.dpoa-front .dpoa-employee-inline-delete{
    margin-left:6px!important;
}
.dpoa-front .dpoa-employee-inline-panel{
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid #edf0f4;
}
.dpoa-front .dpoa-employee-inline-panel[hidden]{display:none!important;}
.dpoa-front .dpoa-employee-inline-data-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px 10px;
}
.dpoa-front .dpoa-employee-inline-data-grid label{
    display:flex;
    flex-direction:column;
    gap:4px;
    font-size:12px;
    line-height:1.2;
}
.dpoa-front .dpoa-employee-inline-data-grid input{
    width:100%;
    min-height:34px;
    height:34px;
    padding:4px 8px;
    box-sizing:border-box;
    font-size:13px;
}
.dpoa-front .dpoa-employee-inline-save,
.dpoa-front .dpoa-employee-inline-assign-submit{
    margin-top:10px;
}
.dpoa-front .dpoa-employee-inline-panel .dpoa-assigned-table-wrap{
    margin-top:0;
}
.dpoa-front .dpoa-employee-inline-panel .dpoa-course-choice-group{
    margin-top:8px;
}
@media(max-width:900px){
    .dpoa-front .dpoa-employee-inline-head{align-items:flex-start;flex-wrap:wrap;}
    .dpoa-front .dpoa-employee-inline-identity{flex:1 1 100%;flex-wrap:wrap;}
    .dpoa-front .dpoa-employee-inline-actions{margin-left:0;flex:1 1 100%;flex-wrap:wrap;}
    .dpoa-front .dpoa-employee-inline-delete{margin-left:auto!important;}
    .dpoa-front .dpoa-employee-inline-data-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
    .dpoa-front .dpoa-employee-inline-data-grid{grid-template-columns:1fr;}
    .dpoa-front .dpoa-employee-inline-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;}
    .dpoa-front .dpoa-employee-inline-actions .dpoa-btn{width:100%!important;}
    .dpoa-front .dpoa-employee-inline-delete{margin-left:0!important;}
}


/* v1.2.72: названия курсов в таблицах обычным начертанием */
.dpoa-front .dpoa-assigned-course{font-weight:400!important;}
.dpoa-front .dpoa-assigned-course strong{font-weight:400!important;}


/* v1.2.73: данные строк курсов обычным шрифтом и по верхнему краю */
.dpoa-front .dpoa-assigned-table tbody td{
    vertical-align:top!important;
    font-weight:400!important;
}
.dpoa-front .dpoa-assigned-table tbody td .dpoa-course-status,
.dpoa-front .dpoa-assigned-table tbody td .dpoa-course-status.is-complete,
.dpoa-front .dpoa-assigned-table tbody td .dpoa-course-status.is-open{
    font-weight:400!important;
}


/* v1.2.74: ФИО и должность в списке сотрудников как название курса */
.dpoa-front .dpoa-employee-identity h4{
    font-size:16px!important;
    line-height:1.45!important;
    font-weight:700!important;
}
.dpoa-front .dpoa-employee-job{
    font-size:16px!important;
    line-height:1.45!important;
    font-weight:400!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-employee-identity h4,
    .dpoa-front .dpoa-employee-job{font-size:16px!important;}
}


/* v1.2.77: в кабинете организации размер ФИО и должности такой же, как в админской карточке организации */
.dpoa-front .dpoa-employee-identity h4{
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:700!important;
}
.dpoa-front .dpoa-employee-job{
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:400!important;
}
@media(max-width:700px){
    .dpoa-front .dpoa-employee-identity h4,
    .dpoa-front .dpoa-employee-job{font-size:14px!important;}
}


/* v1.2.78: кабинет организации на сайте — ФИО и должность 14px, ФИО жирным */
.dpoa-front .dpoa-employee-inline-head .dpoa-employee-inline-identity{
    font-size:14px!important;
    line-height:1.45!important;
}
.dpoa-front .dpoa-employee-inline-head .dpoa-employee-inline-identity strong{
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:700!important;
}
.dpoa-front .dpoa-employee-inline-head .dpoa-employee-inline-identity span{
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:400!important;
}


/* v1.2.79: кабинет организации на сайте — ФИО и должность 16px */
.dpoa-front .dpoa-employee-inline-head .dpoa-employee-inline-identity,
.dpoa-front .dpoa-employee-inline-head .dpoa-employee-inline-identity *{
    line-height:1.45!important;
}
.dpoa-front .dpoa-employee-inline-head .dpoa-employee-inline-identity strong{
    font-size:16px!important;
    font-weight:700!important;
}
.dpoa-front .dpoa-employee-inline-head .dpoa-employee-inline-identity span{
    font-size:16px!important;
    font-weight:400!important;
}
