/* Visual layer only. All form IDs and authentication handlers are retained. */
.side{width:232px;padding:24px 14px 18px;background:linear-gradient(180deg,#0b2a54,#10386c);display:flex;flex-direction:column}
.side .brand{padding:6px 12px 20px;margin:0 0 10px;border-bottom:1px solid #ffffff19;min-height:70px}
.side .brand-logo{background:transparent;border-radius:0;padding:0;max-width:174px;filter:brightness(0) invert(1)}
.side #navigation{flex:1}
.side .navcap{font-size:9px;letter-spacing:1.6px;color:#91acd0;margin:24px 14px 9px}
.side .navbtn{gap:12px;font-size:12px;font-weight:500;padding:12px 14px;border-radius:9px;color:#cddcf0;min-height:42px}
.side .navbtn:hover{background:#ffffff0c;color:#fff}
.side .navbtn.active{background:#2361a5;color:#fff;box-shadow:inset 3px 0 #89bcff}
.workspace-icon{width:18px;height:18px;flex:none}
.side .mv-sidebar-brand{background:transparent;padding:0;margin:22px auto 0;border:0;border-radius:0}
.side .mv-sidebar-brand img{height:90px;width:125px;max-width:125px;filter:brightness(0) invert(1)}
.side .sidefoot:empty{display:none}
.top{height:68px;padding:0 26px;gap:18px;border-bottom:1px solid #e0e8f2;box-shadow:none}
.top>button{width:36px;height:36px;padding:8px;border:0;background:transparent;color:#52677f}
.top-location{display:flex;align-items:center;gap:12px;font-size:11px;white-space:nowrap;color:#8090a5}
.top-location strong{font-size:12px;font-weight:600;color:#193b67;border-left:1px solid #d9e3ef;padding-left:12px}
.top .right{gap:9px}
.top .right>button{height:36px;border-radius:7px;padding:8px 11px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
.top .right>button:not(.primary){border:1px solid #e2e8f1;background:#fff;color:#46617e}
.top .right>button:not(.primary) .action-label{display:none}
.top .right>button:not(.primary) .app-icon{display:block;width:16px;height:16px}
.top .right .primary .app-icon{display:block;width:15px;height:15px}
.top #signOutBtn{order:100}
.workspace-identity{display:flex;align-items:center;gap:9px;padding-left:15px;margin-left:6px;border-left:1px solid #e2e9f2;order:90}
.workspace-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e9f1fc;color:#214e88;font-size:11px;font-weight:700;flex:none}
.workspace-person{display:flex;flex-direction:column;gap:3px;max-width:150px}
.workspace-person b{font-size:11px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#263e5c}
.workspace-person small{font-size:10px;color:#8491a4}
.wrap{padding:28px 30px;max-width:1520px}
.heading h1{font-size:24px;letter-spacing:-.5px;color:#15345f}
.group{border-radius:12px;box-shadow:0 3px 14px #16365e03}
table th{font-size:10px;letter-spacing:.6px;color:#74849a;background:#f8fafd}
table td{font-size:12px}
.project-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:18px 0 24px}
.project-choice-grid label{display:flex;gap:10px;align-items:center;border:1px solid #e0e8f2;border-radius:8px;background:#f8fafd;padding:12px;font-size:12px}
.project-choice-grid input{width:15px;height:15px;accent-color:#2363a8}
.project-area-row{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 30px;gap:9px;align-items:end;padding:13px;background:#f6f9fd;border:1px solid #e1e9f2;border-radius:9px;margin-bottom:12px}
.project-area-row .field{margin:0;min-width:0}.project-area-row input,.project-area-row select{width:100%}
.project-area-remove{height:36px;padding:6px;color:#a74f59;border-color:#eadde0;background:#fff}
.scope-preserved{padding:12px 14px;color:#65768d;font-size:12px;background:#f2f5fa;border-radius:8px;margin-top:20px}
/* Login, forgot password and password recovery share the reference layout. */
#authGate{padding:0;background:#f4f7fc;overflow-y:auto;border:0;border-radius:0}
#authGate .auth-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(440px,.95fr);width:100%;min-height:100vh;min-height:100dvh;flex:1}
#authGate .auth-visual{position:relative;display:flex;align-items:center;padding:6.5vw;color:#fff;overflow:hidden;background:linear-gradient(145deg,#0a2b59 0%,#103f7c 52%,#1559a7 100%)}
#authGate .auth-visual:before{content:"";position:absolute;width:520px;height:520px;right:-210px;top:-150px;border-radius:50%;border:1px solid #ffffff16;box-shadow:0 0 0 72px #ffffff06,0 0 0 145px #ffffff04}
#authGate .auth-visual:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;background:#ffffff09;left:-110px;bottom:-100px}
#authGate .auth-visual-content{position:relative;z-index:1;max-width:550px;width:100%}
#authGate .auth-corporate{display:block;width:140px;height:140px;object-fit:contain;filter:brightness(0) invert(1);margin:0 0 22px -14px;background:transparent}
#authGate .auth-eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:1.8px;font-weight:600;color:#c6dcf5;margin-bottom:18px}
#authGate .auth-eyebrow:before{content:"";width:26px;height:2px;background:#86b6f1}
#authGate .auth-product{display:block;width:min(330px,100%);height:auto;filter:brightness(0) invert(1);margin:0 0 23px -8px;background:transparent}
#authGate .auth-visual h2{color:#fff;font-size:clamp(34px,3.3vw,56px);line-height:1.08;font-weight:650;letter-spacing:-1.5px;margin:0 0 24px}
#authGate .auth-visual p{color:#bed5f1;font-size:14px;line-height:1.8;max-width:390px;margin:0}
#authGate .auth-form-side{display:flex;align-items:center;justify-content:center;padding:40px;background:radial-gradient(circle at 60% 30%,#e6eefb,transparent 65%),#f4f7fc;min-width:0}
#authGate .auth-page{width:100%;max-width:440px;padding:38px 34px 28px;margin:0;background:#fff;border:1px solid #e2e8f0;border-radius:18px;box-shadow:0 26px 70px #0f2f6321}
#authGate .auth-heading{text-align:left;margin-bottom:28px}
#authGate .auth-heading h1{font-size:29px;font-weight:650;letter-spacing:-.7px;color:#152a45;margin-bottom:8px}
#authGate .auth-heading p{font-size:12px;color:#7b879a}
#authGate label{font-size:11px;font-weight:600;color:#243851}
#authGate input{height:44px;border:1px solid #d7dfeb;border-radius:8px;background:#fbfcfe;font-size:13px}
#authGate #authBtn,#authGate .auth-reset-save{height:44px;border-radius:8px;background:#1f6feb;color:white;font-size:13px;box-shadow:none}
#authGate #authBtn:hover,#authGate .auth-reset-save:hover{background:#1b5fc8}
#authGate .auth-text-button{font-size:12px;font-weight:500;margin-top:16px}
#authGate .auth-security{margin-top:24px;padding-top:18px;border-top:1px solid #edf1f6;color:#8b98aa;font-size:10px;line-height:1.6}
@media(min-width:901px){body.sidebar-condensed .side{width:76px;padding-inline:10px}body.sidebar-condensed .side .nav-label,body.sidebar-condensed .side .navcap,body.sidebar-condensed .side .brand{display:none}body.sidebar-condensed .side .navbtn{justify-content:center;padding-inline:10px;margin:7px 0}body.sidebar-condensed .side #navigation{padding-top:8px}body.sidebar-condensed .side .mv-sidebar-brand img{width:55px;height:70px}body.sidebar-condensed .side .mv-sidebar-brand{margin-inline:0}}
@media(max-width:1100px){.workspace-person{display:none}.top-location>span{display:none}.top-location strong{border:0;padding:0}.top{padding-inline:18px;gap:12px}#authGate .auth-form-side{padding:30px}}
@media(max-width:900px){.side{width:var(--mobile-sidebar-width);display:flex}.top-location{display:none}.top{height:62px;overflow:visible}.top .right{gap:7px}.workspace-identity{padding-left:9px;margin-left:0}.workspace-avatar{width:29px;height:29px}#authGate .auth-layout{grid-template-columns:1fr}#authGate .auth-visual{padding:24px 28px;min-height:0}#authGate .auth-visual-content{display:grid;grid-template-columns:70px 1fr;gap:0 16px;align-items:center;max-width:none}#authGate .auth-corporate{width:70px;height:70px;margin:0;grid-row:1/3}#authGate .auth-eyebrow{font-size:8px;letter-spacing:1px;margin:0}#authGate .auth-eyebrow:before{display:none}#authGate .auth-product{width:210px;margin:0;grid-column:2}#authGate .auth-visual h2,#authGate .auth-visual p{display:none}#authGate .auth-form-side{padding:28px 18px 40px}#authGate .auth-page{padding:30px 26px;max-width:440px}.project-area-row{grid-template-columns:1fr 1fr}.project-area-remove{width:36px}.project-choice-grid{grid-template-columns:1fr}}
@media(max-width:430px){.top{padding-inline:12px;gap:6px}.top .right>button{padding:8px}.workspace-identity{display:none}.top .right .primary .action-label{display:none}.top .right .primary .app-icon{width:18px;height:18px}.wrap{padding:22px 16px}#authGate .auth-heading h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){.side{transition:none}}
/* Upload Center - PDO Theme */

.pdo-upload-options {
    margin-bottom: 18px;
    align-items: start;
}

.pdo-upload-choicebox {
    margin: 10px 0 14px;
    padding: 20px;

    border: 1px dashed #c5d7ea;
    border-radius: 13px;

    background: #f8fbff;
}

.pdo-upload-template {
    align-self: end;
}

.pdo-upload-template button {
    width: max-content;
    max-width: 100%;
}

#upPanel {
    margin-top: 14px;
}

#upPanel .grid3 {
    align-items: start;
}

#upPanel .field > small {
    margin-top: 4px;
}

#upPreview {
    margin-top: 14px;
}

/* Mobile Responsive */

@media (max-width: 850px) {

    .pdo-upload-options,
    #upPanel .grid3 {
        grid-template-columns: 1fr !important;
    }

}
/* ==========================================
   PDO Upload Center — Professional Refinement
========================================== */

.pdo-upload-options {
    margin-bottom: 20px;
    align-items: start;
}

.pdo-upload-choicebox {
    background: #f8fafd;
    border: 1px dashed #c5d7ea;
    border-radius: 12px;
    padding: 24px;
    margin-top: 16px;
}

.pdo-csv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pdo-csv-file {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 240px;
    flex: 1;
}

.pdo-csv-file strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.pdo-file-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pdo-choose-file,
.pdo-template-btn,
.pdo-history-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5e0ec;
    background: #fff;
    border-radius: 9px;
    padding: 11px 16px;
    color: var(--navy);
    font-weight: 500;
    cursor: pointer;
}

.pdo-choose-file:hover,
.pdo-template-btn:hover,
.pdo-history-details:hover {
    background: #f0f6fd;
    border-color: #9ebbe2;
}

.pdo-file-name {
    font-size: 12px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.pdo-upload-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.pdo-upload-submit .primary {
    border-radius: 9px;
    padding: 11px 22px;
}

/* Upload History */

.pdo-upload-history {
    margin-top: 22px;
}

.pdo-history-table {
    width: 100%;
}

.pdo-history-table th {
    background: #f7f9fc;
    color: #8193ab;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.pdo-history-table td {
    padding: 17px 14px;
    vertical-align: middle;
}

.pdo-history-table td strong {
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
}

.pdo-history-subtitle {
    font-size: 12px;
    color: #8092a9;
    margin-top: 8px;
}

.pdo-import-badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 7px;
    background: #e7f5ed;
    color: #25865a;
    font-size: 12px;
    font-weight: 600;
}

/* Upload Details */

.pdo-upload-detail {
    padding: 8px 0;
}

.pdo-upload-detail-info {
    border: 1px solid #e0e8f2;
    border-radius: 12px;
    padding: 22px;
    background: #f8fafc;
}

.pdo-upload-detail-info > strong {
    font-size: 15px;
    color: var(--navy);
    font-weight: 600;
}

.pdo-detail-meta {
    font-size: 12px;
    color: #7890a9;
    margin-top: 8px;
}

.pdo-detail-stats {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdo-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    color: #36516d;
}

.pdo-detail-row strong {
    color: var(--navy);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Responsive */

@media (max-width: 850px) {
    .pdo-csv-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pdo-template-btn {
        width: 100%;
    }

    .pdo-upload-submit .primary {
        width: 100%;
    }
}
/* Upload History Navigation */

.pdo-history-navigation {
    display: flex;
    justify-content: flex-end;
    margin: 12px 0 18px;
}

.pdo-history-navigation button {
    border: 1px solid #d5e0ec;
    background: #ffffff;
    color: #214B9B;
    border-radius: 9px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.pdo-history-navigation button:hover {
    background: #f0f6fd;
}