/* =========================
   MY EXAMPLES STATS
========================= */

.hpc-examples-stats-page{
    margin:24px 0;
}

.hpc-examples-stats-page h2{
    margin:0 0 18px;
}

/* =========================
   OVERVIEW CARDS
========================= */

.hpc-examples-stats-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:14px;
}

.hpc-examples-stats-card{
    padding:18px;
    border:1px solid rgba(176,138,82,0.28);
    border-radius:10px;
    background:#FFFDF9;
    box-shadow:0 8px 20px rgba(0,0,0,0.03);
}

.hpc-examples-stats-card span{
    display:block;
    margin-bottom:8px;
    font-size:12px;
    color:#5E5A55;
}

.hpc-examples-stats-card strong{
    display:block;
    font-size:22px;
    line-height:1.2;
    color:#171411;
}

.hpc-examples-stats-card.positive{
    border-color:rgba(47,125,50,0.30);
    background:#F5FBF5;
}

.hpc-examples-stats-card.positive strong{
    color:#2F7D32;
}

.hpc-examples-stats-card.negative{
    border-color:rgba(179,38,30,0.30);
    background:#FFF5F3;
}

.hpc-examples-stats-card.negative strong{
    color:#B3261E;
}

/* =========================
   DROPDOWN BLOCKS
========================= */

.hpc-examples-stats-dropdown{
    margin-bottom:14px;
    border:1px solid rgba(176,138,82,0.22);
    border-radius:12px;
    background:#FFFDF9;
    box-shadow:0 10px 24px rgba(0,0,0,0.03);
    overflow:hidden;
}

.hpc-examples-stats-dropdown:first-of-type{
    margin-top:30px;
}

.hpc-examples-stats-dropdown summary{
    position:relative;
    cursor:pointer;
    list-style:none;
    padding:18px 105px 18px 20px;
    font-size:18px;
    font-weight:600;
    color:#171411;
    border-bottom:1px solid rgba(176,138,82,0.12);
}

.hpc-examples-stats-dropdown summary::-webkit-details-marker{
    display:none;
}

.hpc-examples-stats-dropdown[open] summary{
    background:#FFFCF7;
}

.hpc-examples-stats-dropdown summary::after{
    content:"▾";
    position:absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);
    color:#B08A52;
    font-size:16px;
    line-height:1;
}

.hpc-examples-stats-dropdown[open] summary::after{
    content:"▴";
}

.hpc-examples-stats-dropdown > div{
    padding:20px;
}

/* =========================
   INNER GRIDS
========================= */

.hpc-stats-two-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.hpc-stats-four-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.hpc-profit-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

/* =========================
   SECTIONS / LISTS
========================= */

.hpc-examples-stats-section{
    margin-top:0;
}

.hpc-examples-stats-section h3{
    margin:0 0 10px;
    font-size:16px;
}

.hpc-examples-stats-list{
    border:1px solid rgba(176,138,82,0.28);
    border-radius:10px;
    background:#fff;
    overflow:hidden;
}

.hpc-examples-stats-list-row{
    display:grid;
    grid-template-columns:1fr 110px;
    gap:12px;
    align-items:center;
    padding:10px 12px;
    border-bottom:1px solid rgba(176,138,82,0.16);
}

.hpc-examples-stats-list-row:last-child{
    border-bottom:none;
}

.hpc-examples-stats-list-row span{
    color:#171411;
    font-size:12px;
    line-height:1.25;
}

.hpc-examples-stats-list-row strong{
    color:#B08A52;
    text-align:right;
    font-size:15px;
    font-weight:700;
}

.hpc-examples-stats-list-row.positive strong{
    color:#2F7D32;
}

.hpc-examples-stats-list-row.negative strong{
    color:#B3261E;
}

/* =========================
   LINKS
========================= */

.hpc-examples-stats-list-row a,
.hpc-stats-mini-table-row a{
    color:#171411;
    text-decoration:none;
    border-bottom:1px solid rgba(176,138,82,0.35);
}

.hpc-examples-stats-list-row a:hover,
.hpc-stats-mini-table-row a:hover{
    color:#B08A52;
    border-bottom-color:#B08A52;
}

/* =========================
   MINI ANALYTICS TABLE
========================= */

.hpc-stats-mini-table{
    border:1px solid rgba(176,138,82,0.28);
    border-radius:10px;
    background:#fff;
    overflow:hidden;
}

.hpc-stats-mini-table-head,
.hpc-stats-mini-table-row{
    display:grid;
    grid-template-columns:3fr 45px 65px 65px 65px 65px 65px;
    gap:8px;
    align-items:center;
}

.hpc-stats-mini-table-head{
    padding:10px 12px;
    background:#F7F1E8;
    border-bottom:1px solid rgba(176,138,82,0.22);
    font-size:11px;
    font-weight:700;
    color:#5E5A55;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.hpc-stats-mini-table-row{
    padding:10px 12px;
    border-bottom:1px solid rgba(176,138,82,0.14);
    font-size:12px;
}

.hpc-stats-mini-table-row:last-child{
    border-bottom:none;
}

.hpc-stats-mini-table-head div:not(:first-child),
.hpc-stats-mini-table-row div:not(:first-child){
    text-align:right;
}

.hpc-stats-mini-table-row div:first-child{
    font-weight:600;
    color:#171411;
}

.hpc-stats-mini-table-row .positive{
    color:#2F7D32;
    font-weight:700;
}

.hpc-stats-mini-table-row .negative{
    color:#B3261E;
    font-weight:700;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1200px){

    .hpc-examples-stats-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .hpc-stats-four-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:900px){

    .hpc-stats-two-grid,
    .hpc-stats-four-grid,
    .hpc-profit-grid{
        grid-template-columns:1fr;
    }

    .hpc-stats-mini-table{
        overflow-x:auto;
    }

    .hpc-stats-mini-table-head,
    .hpc-stats-mini-table-row{
        min-width:680px;
    }

}

@media (max-width:768px){

    .hpc-examples-stats-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

/* =========================
   DROPDOWN ORDER CONTROLS
========================= */

.hpc-stats-order-controls{
    position:absolute;
    right:48px;
    top:50%;
    transform:translateY(-50%);
    display:inline-flex;
    gap:5px;
}

.hpc-stats-order-btn{
    width:24px;
    height:24px;
    padding:0;
    border:1px solid rgba(176,138,82,0.35);
    border-radius:4px;
    background:#fff;
    color:#5E5A55;
    font-size:12px;
    line-height:1;
    cursor:pointer;
}

.hpc-stats-order-btn:hover{
    border-color:#B08A52;
    background:#B08A52;
    color:#FDFBF8;
}

/* =========================
   EXAMPLES BREAKDOWN
========================= */

.hpc-examples-breakdown-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:14px;
    padding:20px;
}

.hpc-examples-breakdown-card{
    min-width:0;
    padding:16px;
    border:1px solid rgba(176,138,82,0.24);
    border-radius:10px;
    background:#fff;
}

.hpc-examples-breakdown-card h3{
    margin:0 0 12px;
    color:#171411;
    font-size:14px;
    line-height:1.25;
}

.hpc-examples-breakdown-list{
    border:1px solid rgba(176,138,82,0.18);
    border-radius:8px;
    overflow:hidden;
}

.hpc-examples-breakdown-list .hpc-examples-stats-list-row{
    display:grid;
    grid-template-columns:1fr auto;
    gap:10px;
    align-items:center;
    padding:9px 10px;
    border-bottom:1px solid rgba(176,138,82,0.12);
}

.hpc-examples-breakdown-list .hpc-examples-stats-list-row:last-child{
    border-bottom:none;
}

.hpc-examples-breakdown-list .hpc-examples-stats-list-row span{
    min-width:0;
    color:#5E5A55;
    font-size:12px;
    line-height:1.25;
}

.hpc-examples-breakdown-list .hpc-examples-stats-list-row strong{
    color:#B08A52;
    font-size:14px;
    font-weight:700;
    line-height:1;
}

.hpc-examples-breakdown-list .hpc-breakdown-extra{
    display:none;
}

.hpc-examples-breakdown-dropdown.is-expanded .hpc-breakdown-extra{
    display:grid;
}

.hpc-examples-breakdown-dropdown summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.hpc-examples-breakdown-toggle{
    position:relative;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:6px 10px;
    border:1px solid rgba(176,138,82,.35);
    border-radius:4px;
    background:#fff;
    color:#5E5A55;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}

.hpc-examples-breakdown-toggle:hover{
    border-color:#B08A52;
    background:#B08A52;
    color:#FDFBF8;
}

.hpc-examples-breakdown-toggle-icon{
    color:#B08A52;
    line-height:1;
}

.hpc-examples-breakdown-toggle:hover .hpc-examples-breakdown-toggle-icon{
    color:#FDFBF8;
}

.hpc-examples-breakdown-dropdown.is-expanded .hpc-examples-breakdown-toggle-icon{
    transform:rotate(180deg);
}

@media (max-width:1200px){
    .hpc-examples-breakdown-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width:760px){
    .hpc-examples-breakdown-grid{
        grid-template-columns:1fr;
    }
}


/* =========================
   EXAMPLES EXPLORER
========================= */

.hpc-examples-explorer-dropdown{
    overflow:hidden;
}

.hpc-examples-explorer,
.hpc-examples-explorer *{
    box-sizing:border-box;
}


.hpc-examples-explorer-top{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr);
    gap:14px;
    margin-bottom:14px;
}

.hpc-examples-explorer-column,
.hpc-examples-explorer-bottom{
    min-width:0;
    padding:14px;
    border:1px solid rgba(176,138,82,0.24);
    border-radius:10px;
    background:#fff;
}

.hpc-examples-explorer-column h3,
.hpc-examples-explorer-examples-head h3{
    margin:0 0 12px;
    color:#171411;
    font-size:14px;
    line-height:1.25;
}

.hpc-examples-explorer-list{
    max-height:360px;
    overflow-y:auto;
    overflow-x:hidden;
    border:1px solid rgba(176,138,82,0.18);
    border-radius:8px;
}

.hpc-examples-explorer-brand,
.hpc-examples-explorer-model,
.hpc-examples-explorer-pen{
    width:100%;
    min-width:0;
    display:grid;
    grid-template-columns:minmax(0,1fr) max-content;
    gap:8px;
    align-items:center;
    padding:9px 10px;
    border:0;
    border-bottom:1px solid rgba(176,138,82,0.12);
    background:#fff;
    color:#171411;
    text-align:left;
    cursor:pointer;
}

.hpc-examples-explorer-brand:last-child,
.hpc-examples-explorer-model:last-child,
.hpc-examples-explorer-pen:last-child{
    border-bottom:none;
}

.hpc-examples-explorer-brand span,
.hpc-examples-explorer-model span,
.hpc-examples-explorer-pen span{
    min-width:0;
    color:#5E5A55;
    font-size:12px;
    font-weight:700;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:anywhere;
}

.hpc-examples-explorer-brand strong,
.hpc-examples-explorer-model strong,
.hpc-examples-explorer-pen strong{
    color:#B08A52;
    font-size:14px;
    font-weight:700;
    line-height:1;
    white-space:nowrap;
    text-align:right;
}

.hpc-examples-explorer-brand:hover,
.hpc-examples-explorer-brand.is-active,
.hpc-examples-explorer-model:hover,
.hpc-examples-explorer-model.is-active,
.hpc-examples-explorer-pen:hover,
.hpc-examples-explorer-pen.is-active{
    background:#F7F1E8;
}

.hpc-examples-explorer-brand:hover span,
.hpc-examples-explorer-brand.is-active span,
.hpc-examples-explorer-model:hover span,
.hpc-examples-explorer-model.is-active span,
.hpc-examples-explorer-pen:hover span,
.hpc-examples-explorer-pen.is-active span{
    color:#171411;
}

.hpc-examples-explorer-model-panel,
.hpc-examples-explorer-pen-panel,
.hpc-examples-explorer-examples-panel{
    display:none;
}

.hpc-examples-explorer-model-panel.is-active,
.hpc-examples-explorer-pen-panel.is-active,
.hpc-examples-explorer-examples-panel.is-active{
    display:block;
}

.hpc-examples-explorer-examples-head{
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:flex-start;
    margin-bottom:14px;
}

.hpc-examples-explorer-examples-head a{
    color:#171411;
    text-decoration:none;
    border-bottom:1px solid rgba(176,138,82,.35);
}

.hpc-examples-explorer-examples-head a:hover{
    color:#B08A52;
    border-bottom-color:#B08A52;
}

.hpc-examples-explorer-examples-head span{
    color:#B08A52;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}

.hpc-examples-explorer-example-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.hpc-examples-explorer-example{
    display:grid;
    grid-template-columns:
        2fr   /* ID */
        1fr   /* Condition */
        .8fr    /* Nib */
        .8fr     /* Source */
        .8fr     /* Status */
        .8fr    /* Date */
        .8fr    /* Paid */
        .8fr    /* Value */
        .8fr    /* Sold */
        .8fr    /* Gain */
        .8fr;   /* Approx */
    gap:8px;
    padding:12px;
    border:1px solid rgba(176,138,82,0.18);
    border-radius:10px;
    background:#FFFDF9;
}

.hpc-examples-explorer-example div{
    min-width:0;
}

.hpc-examples-explorer-example span{
    display:block;
    margin-bottom:5px;
    color:#5E5A55;
    font-size:9px;
    font-weight:700;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.hpc-examples-explorer-example strong{
    display:block;
    color:#171411;
    font-size:12px;
    line-height:1.25;
    white-space:normal;
    overflow-wrap:anywhere;
}

.hpc-examples-explorer-example .positive strong{
    color:#2F7D32;
}

.hpc-examples-explorer-example .negative strong{
    color:#B3261E;
}

.hpc-examples-explorer-note{
    grid-column:1 / -1;
    padding-top:10px;
    border-top:1px solid rgba(176,138,82,0.14);
}

@media (max-width:1300px){
    .hpc-examples-explorer-example{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media (max-width:1100px){
    .hpc-examples-explorer-top{
        grid-template-columns:1fr;
    }
}

@media (max-width:700px){
    .hpc-examples-explorer-example{
        grid-template-columns:1fr;
    }
}

/* =========================
   EXAMPLES STRUCTURE
========================= */

.hpc-examples-structure,
.hpc-examples-structure *{
    box-sizing:border-box;
}

.hpc-examples-structure{
    padding:20px;
    background:#fff;
}

.hpc-examples-structure-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.hpc-examples-structure-card{
    min-width:0;
}

.hpc-examples-structure-card h3{
    margin:0 0 12px;
    color:#171411;
    font-size:14px;
}

.hpc-examples-structure-table{
    max-height:430px;
    overflow-y:auto;
    overflow-x:hidden;
    border:1px solid rgba(176,138,82,0.18);
    border-radius:8px;
    background:#fff;
}

.hpc-examples-structure-head,
.hpc-examples-structure-row{
    display:grid;
    grid-template-columns:minmax(95px,1.45fr) 58px 68px 68px 68px 68px 68px;
    gap:6px;
    align-items:center;
}

.hpc-examples-structure-head{
    position:sticky;
    top:0;
    z-index:2;
    padding:10px 12px;
    background:#F7F1E8;
    border-bottom:1px solid rgba(176,138,82,0.22);
}

.hpc-examples-structure-head button{
    width:100%;
    padding:0;
    border:0;
    background:transparent !important;
    box-shadow:none !important;
    color:#5E5A55 !important;
    font-size:10px;
    font-weight:700;
    line-height:1.2;
    letter-spacing:.04em;
    text-transform:uppercase;
    cursor:pointer;
    text-align:right;
}

.hpc-examples-structure-head div:first-child button{
    text-align:left;
}

.hpc-examples-structure-head button:hover,
.hpc-examples-structure-head button:focus,
.hpc-examples-structure-head button.is-active{
    background:transparent !important;
    box-shadow:none !important;
    outline:none;
    color:#B08A52 !important;
}

.hpc-examples-structure-row{
    width:100%;
    padding:9px 10px;
    border:0;
    border-bottom:1px solid rgba(176,138,82,0.12);
    background:#fff;
    color:#171411;
    font-size:12px;
    text-align:inherit;
    transition:background .16s ease;
}

.hpc-examples-structure-row:last-child{
    border-bottom:none;
}

.hpc-examples-structure-row div{
    min-width:0;
    color:#171411;
}

.hpc-examples-structure-row div:first-child{
    font-weight:700;
    overflow-wrap:anywhere;
}

.hpc-examples-structure-row div:not(:first-child){
    text-align:right;
    white-space:nowrap;
}

.hpc-es-brand-row{
    cursor:pointer;
}

.hpc-es-brand-row:hover{
    background:#FFF8EC;
}

.hpc-es-brand-row.is-active{
    background:#F7F1E8;
}

.hpc-es-brand-row:hover div:first-child,
.hpc-es-brand-row.is-active div:first-child{
    color:#171411;
}

.hpc-examples-structure-row .positive{
    color:#2F7D32 !important;
    font-weight:700;
}

.hpc-examples-structure-row .negative{
    color:#B3261E !important;
    font-weight:700;
}

.hpc-examples-structure-model-panel{
    display:none;
}

.hpc-examples-structure-model-panel.is-active{
    display:block;
}

@media (max-width:1100px){
    .hpc-examples-structure-grid{
        grid-template-columns:1fr;
    }
}

/* =========================
   EXAMPLES LOCKED ANALYTICS
========================= */

.hpc-examples-locked-box{
    padding:20px;
}

.hpc-examples-locked-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px;
    margin-bottom:18px;
}

.hpc-examples-locked-card{
    min-width:0;
    padding:16px;
    border:1px dashed rgba(176,138,82,0.35);
    border-radius:10px;
    background:#FFFDF9;
}

.hpc-examples-locked-card h3{
    margin:0 0 8px;
    color:#171411;
    font-size:15px;
    line-height:1.25;
}

.hpc-examples-locked-card p{
    margin:0;
    color:#8A8178;
    font-size:13px;
    line-height:1.45;
}

.hpc-examples-locked-action{
    padding:16px;
    border:1px solid rgba(176,138,82,0.22);
    border-radius:10px;
    background:#FDFBF8;
    text-align:center;
}

.hpc-examples-locked-action p{
    margin:0 0 12px;
    color:#5E5A55;
    font-size:14px;
    line-height:1.45;
}

.hpc-examples-locked-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 14px;
    border:1px solid #B08A52;
    border-radius:6px;
    background:#B08A52;
    color:#FDFBF8;
    font-size:13px;
    font-weight:700;
    line-height:1;
    text-decoration:none;
}

.hpc-examples-locked-button:hover{
    background:#171411;
    border-color:#171411;
    color:#FDFBF8;
}

@media (max-width:760px){
    .hpc-examples-locked-grid{
        grid-template-columns:1fr;
    }
}