.pd2-page{--g1:#123d31;--g2:#1f6c54;--g3:#e8f4ef;--gold:#d2a33e;--bg:#f4f7f5;--line:#dfe8e3;--text:#14271f;--muted:#6b7973;min-height:100%;background:var(--bg);color:var(--text)}
.pd2-page *{box-sizing:border-box}.pd2-hero{padding:22px 24px 38px;color:#fff;background:linear-gradient(125deg,var(--g1),var(--g2))}
.pd2-hero__inner{display:flex;max-width:1360px;margin:auto;align-items:center;justify-content:space-between;gap:20px}.pd2-hero span{color:#e9cf8c;font-size:.72rem;font-weight:900}.pd2-hero h1{margin:6px 0 0;font-size:clamp(1.35rem,3vw,2.2rem)}
.pd2-hero__actions{display:flex;align-items:center;gap:10px}.pd2-hero__actions b{padding:10px 13px;border:1px solid #ffffff2b;border-radius:12px;background:#ffffff12}.pd2-hero button,.pd2-state button{min-height:40px;padding:8px 15px;border:0;border-radius:11px;font:inherit;font-weight:900;cursor:pointer}
.pd2-shell{position:relative;z-index:2;width:min(calc(100% - 28px),1360px);margin:-18px auto 45px}.pd2-tabs{display:flex;gap:8px;overflow-x:auto;padding:9px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 34px #123d3110}
.pd2-tab{display:flex;flex:0 0 auto;min-width:150px;align-items:center;gap:9px;padding:8px 10px;border:0;border-radius:13px;background:#f1f5f3;font:inherit;cursor:pointer}.pd2-tab>span{display:grid;width:36px;height:36px;place-items:center;border-radius:11px;color:#fff;background:var(--g2);font-weight:900}.pd2-tab b{font-size:.72rem}.pd2-tab.is-active{color:#fff;background:linear-gradient(135deg,var(--g1),var(--g2))}.pd2-tab.is-active>span{color:var(--g1);background:#fff}.pd2-tab--add{color:var(--g2);border:1px dashed #a8c7b9;background:#f3faf7}
.pd2-content{display:grid;gap:10px;margin-top:12px}.pd2-child-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border:1px solid var(--line);border-radius:17px;background:#fff}.pd2-identity{display:flex;align-items:center;gap:12px}.pd2-avatar{display:grid;width:50px;height:50px;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(135deg,var(--g1),var(--g2));font-weight:900}.pd2-name-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.pd2-name-line h2{margin:0;font-size:1rem}.pd2-name-line span{padding:4px 8px;border-radius:999px;color:var(--g2);background:var(--g3);font-size:.58rem;font-weight:900}.pd2-name-line .is-success{color:#16714f;background:#e4f6ee}.pd2-name-line .is-muted{color:#6d7672;background:#edf1ef}.pd2-identity p{margin:5px 0 0;color:var(--muted);font-size:.66rem}.pd2-last{text-align:left}.pd2-last small,.pd2-last b{display:block}.pd2-last small{color:var(--muted);font-size:.6rem}.pd2-last b{margin-top:4px;font-size:.68rem}
.pd2-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.pd2-metrics article{padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff}.pd2-metrics small,.pd2-metrics strong{display:block}.pd2-metrics small{color:var(--muted);font-size:.62rem}.pd2-metrics strong{margin-top:5px;color:var(--g1);font-size:1rem}
.pd2-attention{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;border:1px solid #d8e8df;border-radius:16px;background:#edf7f2}.pd2-attention.has-alerts{border-color:#eeddb7;background:#fff8e9}.pd2-attention span{color:var(--g2);font-size:.62rem;font-weight:900}.pd2-attention h3{margin:4px 0 0;font-size:.86rem}.pd2-attention ul{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}.pd2-attention li{padding:6px 9px;border-radius:999px;background:#fff;font-size:.62rem}.pd2-attention>b{font-size:.65rem}
.pd2-card{padding:14px;border:1px solid var(--line);border-radius:17px;background:#fff}.pd2-card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:11px}.pd2-card-head span{color:var(--g2);font-size:.6rem;font-weight:900}.pd2-card-head h3{margin:3px 0 0;font-size:.88rem}.pd2-filters{display:flex;gap:5px;overflow-x:auto}.pd2-filters button{flex:0 0 auto;padding:6px 9px;border:0;border-radius:9px;background:#eef3f0;font:inherit;font-size:.58rem;font-weight:900;cursor:pointer}.pd2-filters button.is-active{color:#fff;background:var(--g2)}
.pd2-timeline{position:relative;display:grid;gap:8px;padding-right:18px}.pd2-timeline:before{position:absolute;top:5px;right:5px;bottom:5px;width:2px;content:"";background:#dbe7e1}.pd2-event{position:relative;padding:10px 12px;border-radius:13px;background:#f7f9f8}.pd2-event__dot{position:absolute;top:16px;right:-18px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:var(--g2);box-shadow:0 0 0 2px #bcd4c8}.pd2-event--online .pd2-event__dot{background:#3274a5;box-shadow:0 0 0 2px #c9deed}.pd2-event__top{display:flex;justify-content:space-between;gap:10px}.pd2-event__top span{color:var(--g2);font-size:.56rem;font-weight:900}.pd2-event__top time{color:var(--muted);font-size:.56rem}.pd2-event h4{margin:5px 0 0;font-size:.72rem}.pd2-event p{margin:4px 0 0;color:var(--muted);font-size:.58rem}.pd2-event b{display:inline-block;margin-top:6px;padding:4px 7px;border-radius:999px;color:var(--g2);background:var(--g3);font-size:.56rem}
.pd2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pd2-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:11px;background:#f7f9f8}.pd2-row+ .pd2-row{margin-top:6px}.pd2-row b,.pd2-row small{display:block}.pd2-row b{font-size:.66rem}.pd2-row small{margin-top:3px;color:var(--muted);font-size:.55rem}.pd2-row>span{padding:5px 7px;border-radius:999px;color:#23648f;background:#eaf3fa;font-size:.58rem;font-weight:900}.pd2-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pd2-mini article{padding:12px;border-radius:11px;background:#f5f8f6}.pd2-mini span,.pd2-mini b{display:block}.pd2-mini span{color:var(--muted);font-size:.58rem}.pd2-mini b{margin-top:5px;font-size:.72rem}.pd2-sub{padding:12px;border:1px solid #eadfbe;border-radius:13px;background:#fffaf0}.pd2-sub>span{padding:4px 7px;border-radius:999px;color:#16714f;background:#e4f6ee;font-size:.56rem;font-weight:900}.pd2-sub h4{margin:9px 0 6px;font-size:.72rem}.pd2-sub p{margin:0;color:var(--muted);font-size:.6rem}.pd2-empty-inline{padding:18px;border:1px dashed #d6e1dc;border-radius:12px;color:var(--muted);background:#fafcfa;text-align:center;font-size:.64rem}
.pd2-backdrop{position:fixed;inset:0;z-index:10020;background:#09251d8c;backdrop-filter:blur(3px)}.pd2-backdrop[hidden]{display:none}.pd2-modal{position:fixed;top:50%;left:50%;z-index:10030;width:min(540px,calc(100% - 24px));max-height:88vh;overflow:auto;border-radius:20px;background:#fff;box-shadow:0 30px 80px #09251d45;opacity:0;pointer-events:none;transform:translate(-50%,-46%) scale(.98);transition:.18s}.pd2-modal.is-open{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}body.pd2-modal-open{overflow:hidden}.pd2-modal header,.pd2-modal footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid var(--line)}.pd2-modal footer{justify-content:flex-end;border-top:1px solid var(--line);border-bottom:0}.pd2-modal h2{margin:0;font-size:1rem}.pd2-modal header button{width:36px;height:36px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:1.2rem;cursor:pointer}.pd2-modal form{display:grid;grid-template-columns:1fr auto;gap:8px;padding:17px}.pd2-modal label span{display:block;margin-bottom:6px;font-size:.62rem;font-weight:900}.pd2-modal input{width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:.72rem}.pd2-modal form button,.pd2-modal footer button{align-self:end;min-height:42px;padding:9px 14px;border:0;border-radius:10px;color:#fff;background:var(--g2);font:inherit;font-size:.68rem;font-weight:900;cursor:pointer}.pd2-modal footer button:disabled{opacity:.45;cursor:not-allowed}.pd2-link-status{min-height:18px;padding:0 17px;color:var(--g2);font-size:.64rem}.pd2-link-results{display:grid;gap:7px;padding:10px 17px 17px}.pd2-candidate{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fff;font:inherit;text-align:right;cursor:pointer}.pd2-candidate.is-selected{border-color:var(--g2);background:var(--g3)}.pd2-candidate.is-disabled{opacity:.6;cursor:not-allowed}.pd2-candidate b,.pd2-candidate span{display:block}.pd2-candidate b{font-size:.68rem}.pd2-candidate span,.pd2-candidate small{margin-top:3px;color:var(--muted);font-size:.56rem}
.pd2-loading{display:grid;gap:9px;margin-top:12px}.pd2-loading span,.pd2-skeleton{height:70px;border-radius:14px;background:linear-gradient(90deg,#e8eeeb,#f7faf8,#e8eeeb);background-size:200% 100%;animation:pd2s 1.2s infinite}.pd2-state{display:grid;min-height:280px;margin-top:12px;place-items:center;align-content:center;gap:12px;padding:25px;border:1px solid var(--line);border-radius:18px;background:#fff;text-align:center}.pd2-state h2{margin:0;font-size:1rem}@keyframes pd2s{to{background-position:-200% 0}}
@media(max-width:800px){.pd2-grid{grid-template-columns:1fr}.pd2-attention{display:block}.pd2-attention ul{margin-top:10px}.pd2-card-head{align-items:flex-start;flex-direction:column}.pd2-filters{width:100%}}
@media(max-width:600px){.pd2-hero{padding:16px 10px 25px}.pd2-hero__actions b{display:none}.pd2-shell{width:calc(100% - 16px);margin-top:-9px}.pd2-tabs{position:sticky;top:0;z-index:30;padding:7px}.pd2-tab{min-width:125px}.pd2-child-head{display:block}.pd2-last{margin-top:9px;padding-top:8px;border-top:1px solid var(--line);text-align:right}.pd2-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pd2-modal{top:auto;bottom:0;left:0;width:100%;max-height:92vh;border-radius:20px 20px 0 0;transform:translateY(105%)}.pd2-modal.is-open{transform:translateY(0)}.pd2-modal form{grid-template-columns:1fr}.pd2-modal form button{width:100%}}

/* PARENT_OBLIGATIONS_TIMELINE_V2 */
.pd2-event--danger {
    border: 1px solid #efcccc;
    background: #fff4f4;
}

.pd2-event--danger .pd2-event__dot {
    background: #c83e3e;
    box-shadow: 0 0 0 2px #f0c4c4;
}

.pd2-event--warning {
    border: 1px solid #eed9ae;
    background: #fff9eb;
}

.pd2-event--warning .pd2-event__dot {
    background: #bd7a17;
    box-shadow: 0 0 0 2px #efd8aa;
}

.pd2-event--success {
    border: 1px solid #d6e8df;
    background: #f3faf7;
}

.pd2-event__statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.pd2-event__statuses b {
    margin: 0;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: .57rem;
    font-weight: 900;
}

.pd2-event__statuses .is-success {
    color: #13714c;
    background: #dff4e9;
}

.pd2-event__statuses .is-warning {
    color: #936013;
    background: #fff0cc;
}

.pd2-event__statuses .is-danger {
    color: #aa3030;
    background: #ffe1e1;
}

@media (max-width: 600px) {
    .pd2-event {
        padding: 10px;
    }

    .pd2-event__statuses b {
        font-size: .61rem;
    }
}

/* PARENT_LOGICAL_SESSION_VISUAL_V3 */
.pd2-card-head--timeline {
    align-items: flex-start;
}

.pd2-timeline-controls {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.pd2-range-filters {
    display: flex;
    gap: 5px;
    padding: 4px;
    border-radius: 11px;
    background: #edf3f0;
}

.pd2-range-filters button {
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    color: #63716b;
    background: transparent;
    font: inherit;
    font-size: .58rem;
    font-weight: 900;
    cursor: pointer;
}

.pd2-range-filters button.is-active {
    color: #fff;
    background: #1f6c54;
    box-shadow: 0 4px 10px #1f6c5428;
}

.pd2-timeline {
    gap: 7px;
}

.pd2-event {
    min-height: 0;
    padding: 10px 12px;
}

.pd2-event__body {
    min-width: 0;
}

.pd2-event__top {
    align-items: center;
}

.pd2-event__source {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pd2-event__source small {
    color: #75817c;
    font-size: .54rem;
}

.pd2-event__main {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(300px, auto);
    align-items: center;
    gap: 16px;
    margin-top: 7px;
}

.pd2-event__title h4 {
    margin: 0;
    font-size: .72rem;
    line-height: 1.55;
}

.pd2-event__title p {
    margin: 3px 0 0;
    color: #71807a;
    font-size: .54rem;
}

.pd2-event__statuses {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(82px, 1fr);
    gap: 6px;
    margin: 0;
}

.pd2-status-cell {
    min-width: 82px;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-align: center;
}

.pd2-status-cell small,
.pd2-status-cell b {
    display: block;
}

.pd2-status-cell small {
    margin-bottom: 3px;
    color: inherit;
    opacity: .72;
    font-size: .51rem;
}

.pd2-status-cell b {
    font-size: .6rem;
    font-weight: 900;
}

.pd2-status-cell.is-success {
    color: #13714c;
    border-color: #cfe7dc;
    background: #e8f7f0;
}

.pd2-status-cell.is-warning {
    color: #936013;
    border-color: #eed8a9;
    background: #fff4d8;
}

.pd2-status-cell.is-danger {
    color: #aa3030;
    border-color: #efc8c8;
    background: #ffe8e8;
}

.pd2-status-cell.is-neutral {
    color: #6d7974;
    border-color: #dfe6e2;
    background: #f4f7f5;
}

.pd2-event--warning {
    border-color: #ecd9ad;
    background: #fffaf0;
}

.pd2-event--danger {
    border-color: #ecc6c6;
    background: #fff5f5;
}

.pd2-event--success {
    border-color: #d5e7de;
    background: #f7fbf9;
}

@media (max-width: 920px) {
    .pd2-event__main {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .pd2-event__statuses {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pd2-card-head--timeline {
        display: block;
    }

    .pd2-timeline-controls {
        width: 100%;
        margin-top: 10px;
        justify-items: stretch;
    }

    .pd2-range-filters,
    .pd2-filters {
        width: 100%;
        overflow-x: auto;
    }

    .pd2-range-filters button,
    .pd2-filters button {
        flex: 0 0 auto;
    }

    .pd2-event {
        padding: 9px 10px;
    }

    .pd2-event__statuses {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pd2-status-cell {
        min-width: 0;
        padding: 7px 5px;
    }

    .pd2-status-cell small {
        font-size: .55rem;
    }

    .pd2-status-cell b {
        font-size: .62rem;
    }
}

/* PARENT_VISUAL_FUNCTIONAL_POLISH_V1 */
.pd2-page {
    font-size: 16px;
}

.pd2-name-line h2 {
    font-size: 1.08rem;
}

.pd2-identity p {
    font-size: .8rem;
    line-height: 1.7;
}

.pd2-last small,
.pd2-metrics small,
.pd2-attention span,
.pd2-card-head span {
    font-size: .75rem;
}

.pd2-last b,
.pd2-metrics strong,
.pd2-attention h3,
.pd2-card-head h3 {
    font-size: .95rem;
}

.pd2-filters button,
.pd2-range-filters button {
    min-height: 34px;
    padding: 7px 11px;
    font-size: .75rem;
}

.pd2-results-count {
    margin: 5px 0 0;
    color: #6c7a74;
    font-size: .77rem;
    font-weight: 700;
}

.pd2-timeline-actions {
    display: flex;
    justify-content: flex-end;
    margin: 8px 0 10px;
}

.pd2-timeline-actions button {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #cdded6;
    border-radius: 10px;
    color: #1f6c54;
    background: #f4faf7;
    font: inherit;
    font-size: .78rem;
    font-weight: 900;
    cursor: pointer;
}

.pd2-period-summary {
    margin: 2px 0 10px;
    padding: 13px;
    border: 1px solid #dce8e2;
    border-radius: 14px;
    background: #f8fbf9;
}

.pd2-period-summary__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.pd2-period-summary__head span {
    color: #1f6c54;
    font-size: .73rem;
    font-weight: 900;
}

.pd2-period-summary__head h4 {
    margin: 3px 0 0;
    font-size: .95rem;
}

.pd2-period-summary__head > b {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: .73rem;
}

.pd2-period-summary__head > b.has-issues {
    color: #9f3434;
    background: #ffe7e7;
}

.pd2-period-summary__head > b.is-good {
    color: #16714f;
    background: #e2f4eb;
}

.pd2-period-summary__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.pd2-period-summary__grid article {
    padding: 10px;
    border: 1px solid #e1e9e5;
    border-radius: 10px;
    background: #fff;
}

.pd2-period-summary__grid small,
.pd2-period-summary__grid strong {
    display: block;
}

.pd2-period-summary__grid small {
    color: #6c7974;
    font-size: .72rem;
}

.pd2-period-summary__grid strong {
    margin-top: 4px;
    color: #163f33;
    font-size: 1rem;
}

.pd2-event {
    padding: 0;
    overflow: hidden;
}

.pd2-event__toggle {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
    padding: 13px 14px;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: right;
    cursor: pointer;
}

.pd2-event__body {
    width: 100%;
}

.pd2-event__top span {
    font-size: .75rem;
}

.pd2-event__source small,
.pd2-event__top time {
    font-size: .7rem;
}

.pd2-event__title h4 {
    font-size: .96rem;
    line-height: 1.55;
}

.pd2-event__title p {
    font-size: .72rem;
    line-height: 1.65;
}

.pd2-status-cell small {
    font-size: .7rem;
}

.pd2-status-cell b {
    font-size: .82rem;
    line-height: 1.4;
}

.pd2-event__chevron {
    align-self: center;
    margin-right: 10px;
    color: #5f6d67;
    font-size: 1rem;
    transition: transform .18s ease;
}

.pd2-event.is-open .pd2-event__chevron {
    transform: rotate(180deg);
}

.pd2-event__details {
    padding: 0 14px 13px;
    border-top: 1px solid #e2e9e5;
}

.pd2-event__details[hidden] {
    display: none;
}

.pd2-event__details dl {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 11px 0 0;
}

.pd2-event__details dl > div {
    padding: 9px;
    border-radius: 9px;
    background: #ffffffa6;
}

.pd2-event__details dt {
    color: #6c7974;
    font-size: .7rem;
}

.pd2-event__details dd {
    margin: 4px 0 0;
    font-size: .8rem;
    font-weight: 800;
}

@media (max-width: 800px) {
    .pd2-period-summary__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pd2-event__details dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pd2-page {
        font-size: 16px;
    }

    .pd2-event__toggle {
        grid-template-columns: 1fr;
        padding: 12px 10px;
    }

    .pd2-event__chevron {
        position: absolute;
        top: 12px;
        left: 10px;
    }

    .pd2-event__title h4 {
        font-size: 1rem;
    }

    .pd2-event__source small,
    .pd2-event__top time,
    .pd2-event__title p,
    .pd2-status-cell small,
    .pd2-results-count {
        font-size: .76rem;
    }

    .pd2-status-cell b {
        font-size: .86rem;
    }

    .pd2-period-summary__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .pd2-timeline-actions button {
        width: 100%;
    }
}

@media print {
    body * {
        visibility: hidden !important;
    }

    .pd2-page,
    .pd2-page * {
        visibility: visible !important;
    }

    .pd2-page {
        position: absolute;
        inset: 0;
        background: #fff !important;
    }

    .dashboard-sidebar,
    .pd2-hero__actions,
    .pd2-tabs,
    .pd2-timeline-controls,
    .pd2-timeline-actions,
    .pd2-event__chevron {
        display: none !important;
    }

    .pd2-shell {
        width: 100% !important;
        margin: 0 !important;
    }

    .pd2-event {
        break-inside: avoid;
    }
}
