.m11-avatar-photo,
.m11-employee-insights-identity img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #d9e3e5;
    background: #eef3f4;
}

.v11-profile-heading {
    margin-bottom: 18px;
}

.v11-profile-layout {
    display: grid;
    grid-template-columns: minmax(260px, 330px) minmax(0, 760px);
    gap: 18px;
    align-items: start;
    max-width: 1120px;
}

.v11-profile-identity-card,
.v11-profile-editor {
    border: 1px solid var(--dq-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(23, 63, 77, .06);
}

.v11-profile-identity-card {
    padding: 24px;
}

.v11-profile-avatar-shell {
    width: 94px;
    height: 94px;
    margin-bottom: 18px;
}

.v11-profile-avatar-shell img,
.v11-profile-avatar-fallback {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    border: 4px solid #eef5f4;
    box-shadow: 0 0 0 1px #d8e4e4;
}

.v11-profile-avatar-shell img {
    display: block;
    object-fit: cover;
    background: #eef3f4;
}

.v11-profile-avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #dff1ed, #edf7f5);
    color: var(--dq-green-dark);
    font-size: 30px;
    font-weight: 900;
}

.v11-profile-avatar-shell img[hidden],
.v11-profile-avatar-fallback[hidden] {
    display: none !important;
}

.v11-profile-identity-copy h2 {
    margin: 4px 0 3px;
    font-size: 22px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.v11-profile-identity-copy > p:not(.eyebrow) {
    margin: 0;
    color: var(--dq-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.v11-profile-role {
    display: inline-flex;
    margin-top: 11px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #e8f4f1;
    color: var(--dq-green-dark);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.v11-profile-account-details {
    display: grid;
    gap: 0;
    margin: 22px 0 0;
    border-top: 1px solid var(--dq-line);
}

.v11-profile-account-details > div {
    display: grid;
    gap: 3px;
    padding: 12px 0;
    border-bottom: 1px solid var(--dq-line);
}

.v11-profile-account-details dt {
    color: var(--dq-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.v11-profile-account-details dd {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
}

.v11-profile-privacy-note {
    margin: 16px 0 0;
    padding: 11px 12px;
    border-radius: 8px;
    background: #f6f9f9;
    color: var(--dq-muted);
    font-size: 10px;
    line-height: 1.5;
}

.v11-profile-editor {
    max-width: none;
    padding: 26px;
}

.v16-profile-security {
    grid-column: 2;
}

.v16-profile-security .v11-profile-editor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.v16-profile-security .secondary-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.v11-profile-editor-heading {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--dq-line);
}

.v11-profile-editor-heading h2 {
    margin: 4px 0 5px;
    font-size: 21px;
}

.v11-profile-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.v11-profile-dropzone {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 28px 18px;
    border: 1.5px dashed #b8cbce;
    border-radius: 12px;
    background: #f8fbfb;
    text-align: center;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.v11-profile-dropzone:hover,
.v11-profile-dropzone.is-dragging {
    border-color: var(--dq-green);
    background: #f0f8f6;
}

.v11-profile-dropzone.is-dragging {
    transform: translateY(-1px);
}

.v11-profile-upload-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e4f2ef;
    color: var(--dq-green-dark);
    font-size: 23px;
    font-weight: 700;
}

.v11-profile-dropzone strong {
    display: block;
    font-size: 13px;
}

.v11-profile-dropzone p {
    margin: 4px 0 0;
    color: var(--dq-muted);
    font-size: 10px;
}

.v11-profile-file-input {
    margin-top: 5px;
}

.v11-profile-file-input input[type="file"] {
    max-width: 100%;
    color: var(--dq-muted);
    font-size: 10px;
}

.v11-profile-file-input input[type="file"]::file-selector-button {
    margin-right: 8px;
    padding: 8px 12px;
    border: 1px solid #b9cbce;
    border-radius: 7px;
    background: #fff;
    color: #173f4d;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.v11-profile-file-input input[type="file"]::file-selector-button:hover {
    border-color: var(--dq-green);
    background: #f4faf8;
}

.v11-profile-file-name {
    color: var(--dq-muted);
    font-size: 9px;
}

.v11-profile-field-error {
    margin-top: -6px;
}

.v11-profile-remove-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #eadede;
    border-radius: 9px;
    background: #fffafa;
    cursor: pointer;
}

.v11-profile-remove-row input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

.v11-profile-remove-row > span {
    display: grid;
    gap: 3px;
}

.v11-profile-remove-row strong {
    font-size: 11px;
}

.v11-profile-remove-row small {
    color: var(--dq-muted);
    font-size: 9px;
    line-height: 1.45;
}

.v11-profile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 4px;
}

.v11-profile-actions p {
    margin: 0;
    color: var(--dq-muted);
    font-size: 9px;
}

.v11-profile-actions .primary-button {
    margin: 0;
    white-space: nowrap;
}

.m11-profile-preview,
.m11-employee-insights-identity {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    margin-bottom: 14px;
    border: 1px solid var(--dq-line);
    border-radius: 8px;
    background: #f8fbfb;
}

.m11-profile-preview img,
.m11-employee-insights-identity img,
.m11-profile-fallback {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
}

.m11-profile-fallback {
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dff1ed;
    color: var(--dq-green-dark);
    font-size: 18px;
    font-weight: 900;
}

.m11-profile-preview > div,
.m11-employee-insights-identity > div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.m11-profile-preview strong,
.m11-employee-insights-identity strong {
    font-size: 13px;
}

.m11-profile-preview span,
.m11-employee-insights-identity span {
    color: var(--dq-muted);
    font-size: 9px;
}

.m11-employee-insights-identity > .status-pill {
    margin-left: auto;
}

.m11-inline-check {
    display: flex;
    align-items: center;
    gap: 7px;
}

.m11-inline-check input {
    width: 16px;
    height: 16px;
}

.m11-row-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.m11-attention-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 10px;
}

.m11-attention-metrics > div {
    display: grid;
    gap: 2px;
    padding: 9px 10px;
    border: 1px solid var(--dq-line);
    border-radius: 7px;
    background: #fafcfc;
}

.m11-attention-metrics span {
    color: var(--dq-muted);
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.m11-attention-metrics strong {
    font-size: 18px;
}

@media (max-width: 900px) {
    .v11-profile-layout {
        grid-template-columns: 1fr;
    }

    .v11-profile-identity-card,
    .v11-profile-editor {
        max-width: 760px;
    }

    .v16-profile-security {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .v11-profile-identity-card,
    .v11-profile-editor {
        padding: 18px;
    }

    .v11-profile-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .v16-profile-security .v11-profile-editor-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .v16-profile-security .secondary-button {
        width: 100%;
        text-align: center;
    }

    .v11-profile-actions .primary-button {
        width: 100%;
    }

    .m11-attention-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .m11-employee-insights-identity {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .m11-employee-insights-identity > .status-pill {
        margin-left: 0;
    }
}


/* Self-service profile details */
.v20-profile-details-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.v20-profile-details-grid>label,
.v20-profile-readonly-field{
    display:grid;
    gap:6px;
    min-width:0;
}
.v20-profile-details-grid>label>span,
.v20-profile-readonly-field>span{
    color:#53666f;
    font-size:9px;
    font-weight:900;
    letter-spacing:.045em;
    text-transform:uppercase;
}
.v20-profile-details-grid input[type="text"]{
    width:100%;
    min-height:40px;
    padding:9px 11px;
    border:1px solid #c7d4d7;
    border-radius:8px;
    background:#fff;
    color:#173f4d;
}
.v20-profile-details-grid input[type="text"]:focus{
    outline:2px solid rgba(43,156,141,.18);
    border-color:var(--dq-green);
}
.v20-profile-readonly-field{
    padding:10px 11px;
    border:1px solid #dbe4e6;
    border-radius:8px;
    background:#f7f9fa;
}
.v20-profile-readonly-field strong{
    min-width:0;
    overflow-wrap:anywhere;
    font-size:11px;
}
.v20-profile-readonly-field small{
    color:var(--dq-muted);
    font-size:8px;
}
.v20-profile-photo-heading{
    display:grid;
    gap:2px;
    margin-top:4px;
    padding-top:16px;
    border-top:1px solid var(--dq-line);
}
.v20-profile-photo-heading strong{
    font-size:12px;
}
.v20-profile-photo-heading small{
    color:var(--dq-muted);
    font-size:9px;
}
@media(max-width:620px){
    .v20-profile-details-grid{grid-template-columns:1fr}
}


/* Employee Activity · attention and correction history */
.v20-attention-section-heading{
    align-items:end;
}
.v20-attention-section-heading>p{
    max-width:640px;
}
.v20-attention-summary-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:0 0 14px;
}
.v20-attention-summary-card{
    min-height:118px;
    display:grid;
    align-content:start;
    gap:5px;
    padding:15px 16px;
    border:1px solid var(--dq-line);
    border-radius:12px;
    background:#fff;
    box-shadow:0 5px 18px rgba(23,63,77,.04);
}
.v20-attention-summary-card>span{
    color:#66757c;
    font-size:9px;
    font-weight:900;
    letter-spacing:.055em;
    text-transform:uppercase;
}
.v20-attention-summary-card>strong{
    margin-top:2px;
    color:#1e343e;
    font-size:28px;
    line-height:1;
}
.v20-attention-summary-card>small{
    margin-top:3px;
    color:#6c797f;
    font-size:9px;
    line-height:1.45;
}
.v20-attention-summary-card.is-open{border-top:3px solid #d8842d}
.v20-attention-summary-card.is-support{border-top:3px solid #2b9c8d}
.v20-attention-summary-card.is-escalation{border-top:3px solid #d94f5c}
.v20-attention-summary-card.is-resolved{border-top:3px solid #496a9d}

.v20-attention-history-grid{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
    gap:14px;
    align-items:start;
}
.v20-history-panel{
    padding:0;
    overflow:hidden;
}
.v20-history-panel-heading{
    margin:0;
    padding:15px 16px 13px;
    border-bottom:1px solid var(--dq-line);
    background:#fbfcfc;
}
.v20-history-panel-heading h2{
    margin:2px 0 3px;
    font-size:16px;
}
.v20-history-panel-heading small{
    display:block;
    color:#6d7a80;
    font-size:9px;
    line-height:1.4;
}
.v20-history-list{
    display:grid;
}
.v20-history-item{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:16px;
    padding:14px 16px;
    border-bottom:1px solid #edf0f2;
    background:#fff;
}
.v20-history-item:last-child{
    border-bottom:0;
}
.v20-history-item:hover{
    background:#fcfdfd;
}
.v20-history-item-main{
    min-width:0;
}
.v20-history-item-topline{
    display:flex;
    align-items:center;
    gap:7px;
    flex-wrap:wrap;
    margin-bottom:7px;
}
.v20-request-type,
.v20-history-status{
    display:inline-flex;
    align-items:center;
    min-height:22px;
    padding:3px 7px;
    border-radius:999px;
    font-size:8px;
    font-weight:900;
    line-height:1;
    white-space:nowrap;
}
.v20-request-type.is-support{
    background:#eaf6f3;
    color:#26786d;
}
.v20-request-type.is-escalation{
    background:#fdecee;
    color:#a33a46;
}
.v20-history-status{
    background:#eef1f3;
    color:#5d6a70;
}
.v20-history-status.is-open,
.v20-history-status.is-pending{
    background:#fff2d9;
    color:#805918;
}
.v20-history-status.is-resolved,
.v20-history-status.is-approved{
    background:#e8f5f1;
    color:#246d63;
}
.v20-history-status.is-withdrawn,
.v20-history-status.is-rejected{
    background:#f1f2f3;
    color:#69747a;
}
.v20-history-task-link{
    display:block;
    width:max-content;
    max-width:100%;
    color:#134097;
    font-size:11px;
    font-weight:850;
    line-height:1.35;
    text-decoration:none;
}
.v20-history-task-link:hover{
    text-decoration:underline;
    text-underline-offset:2px;
}
.v20-history-context{
    display:block;
    margin-top:2px;
    color:#77848a;
    font-size:8px;
    line-height:1.35;
}
.v20-history-copy{
    display:grid;
    gap:5px;
    margin-top:9px;
}
.v20-history-copy p{
    display:grid;
    gap:2px;
    margin:0;
    color:#5f6d74;
    font-size:9px;
    line-height:1.45;
}
.v20-history-copy strong{
    color:#334952;
    font-size:8px;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.v20-history-item-side{
    min-width:92px;
    display:grid;
    align-content:start;
    justify-items:end;
    gap:8px;
}
.v20-history-item-side time{
    color:#53636a;
    font-size:9px;
    font-weight:800;
    white-space:nowrap;
}
.v20-history-item-side .secondary-link{
    font-size:9px;
    font-weight:800;
    white-space:nowrap;
}
.v20-correction-summary{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:0;
    border-bottom:1px solid var(--dq-line);
    background:#fff;
}
.v20-correction-summary>span{
    display:grid;
    gap:1px;
    padding:10px 12px;
    border-right:1px solid var(--dq-line);
}
.v20-correction-summary>span:last-child{
    border-right:0;
}
.v20-correction-summary b{
    color:#223a44;
    font-size:15px;
}
.v20-correction-summary small{
    color:#78858b;
    font-size:8px;
}
.v20-adjustment-duration{
    margin-left:auto;
    font-size:10px;
    font-variant-numeric:tabular-nums;
}
.v20-adjustment-duration.is-positive{color:#247466}
.v20-adjustment-duration.is-negative{color:#9b4850}

@media(max-width:1100px){
    .v20-attention-summary-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .v20-attention-history-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:650px){
    .v20-attention-summary-grid{
        grid-template-columns:1fr 1fr;
    }
    .v20-history-item{
        grid-template-columns:1fr;
        gap:9px;
    }
    .v20-history-item-side{
        min-width:0;
        grid-template-columns:auto auto;
        justify-content:space-between;
        justify-items:start;
    }
}
