/* Formatura Manager — Portal do Responsável V0.6.17
 * Intentionally scoped to .fm-formatura-account and FM account components.
 * It does not redefine WooCommerce checkout/cart/shop styles.
 */
/* Theme-independent safety scope. The portal wrapper is emitted by the plugin
 * and therefore does not depend on Hello Elementor or any future theme. */
.fm-portal-responsavel{
    width:100%;
    box-sizing:border-box;
}
body.fm-formatura-account .woocommerce-MyAccount-navigation,
body.fm-formatura-account .woocommerce-MyAccount-content{
    box-sizing:border-box;
}

body.fm-formatura-account, .fm-portal-responsavel{
    --fm-primary:#6d4aff;
    --fm-primary-dark:#5637d6;
    --fm-text:#263042;
    --fm-muted:#6f7888;
    --fm-border:#e7eaf0;
    --fm-bg:#f7f8fb;
    --fm-card:#ffffff;
    --fm-success:#18794e;
    --fm-warning:#9a6700;
    --fm-danger:#b42318;
    --fm-radius:12px;
}
body.fm-formatura-account .woocommerce-MyAccount-content, .fm-portal-responsavel .woocommerce-MyAccount-content{
    color:var(--fm-text);
}
body.fm-formatura-account .woocommerce-MyAccount-navigation, .fm-portal-responsavel .woocommerce-MyAccount-navigation{
    background:var(--fm-card);
    border:1px solid var(--fm-border);
    border-radius:var(--fm-radius);
    padding:8px;
    margin-bottom:22px;
    box-shadow:0 4px 18px rgba(25,35,55,.05);
}
body.fm-formatura-account .woocommerce-MyAccount-navigation ul, .fm-portal-responsavel .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px}
body.fm-formatura-account .woocommerce-MyAccount-navigation li, .fm-portal-responsavel .woocommerce-MyAccount-navigation li{margin:0;padding:0}
body.fm-formatura-account .woocommerce-MyAccount-navigation a, .fm-portal-responsavel .woocommerce-MyAccount-navigation a{
    display:block;
    padding:9px 13px;
    border-radius:8px;
    color:var(--fm-text);
    text-decoration:none;
    font-size:14px;
    line-height:1.25;
}
.fm-formatura-account .woocommerce-MyAccount-navigation a:hover,
body.fm-formatura-account .woocommerce-MyAccount-navigation .is-active a, .fm-portal-responsavel .woocommerce-MyAccount-navigation .is-active a{
    background:#f0edff;
    color:var(--fm-primary-dark);
}
body.fm-formatura-account .woocommerce-MyAccount-navigation .is-active a, .fm-portal-responsavel .woocommerce-MyAccount-navigation .is-active a{font-weight:600}
.fm-formatura-account .fm-minha-formatura,
body.fm-formatura-account .fm-extrato, .fm-portal-responsavel .fm-extrato{
    width:100%;max-width:1100px;margin:0 auto;box-sizing:border-box;
    color:var(--fm-text);font-size:15px;line-height:1.55;
}
.fm-formatura-account .fm-minha-formatura h2,
body.fm-formatura-account .fm-extrato h2, .fm-portal-responsavel .fm-extrato h2{font-size:28px;line-height:1.2;margin:0 0 8px;color:#1f2937}
body.fm-formatura-account .fm-minha-formatura h3, .fm-portal-responsavel .fm-minha-formatura h3{font-size:20px;line-height:1.3;margin:0 0 8px;color:#1f2937}
.fm-formatura-account .fm-minha-formatura p,
body.fm-formatura-account .fm-extrato p, .fm-portal-responsavel .fm-extrato p{margin:0 0 12px}
body.fm-formatura-account .fm-summary, .fm-portal-responsavel .fm-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}
body.fm-formatura-account .fm-summary>div, .fm-portal-responsavel .fm-summary>div{
    min-height:76px;box-sizing:border-box;padding:15px 16px;background:var(--fm-card);
    border:1px solid var(--fm-border);border-radius:var(--fm-radius);box-shadow:0 4px 16px rgba(25,35,55,.045)
}
body.fm-formatura-account .fm-summary small, .fm-portal-responsavel .fm-summary small{display:block;color:var(--fm-muted);font-size:12px;margin-bottom:3px}
body.fm-formatura-account .fm-summary strong, .fm-portal-responsavel .fm-summary strong{font-size:19px;color:#1f2937}
body.fm-formatura-account .fm-filtros, .fm-portal-responsavel .fm-filtros{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin:18px 0 22px;padding:14px;background:#fbfbfd;border:1px solid var(--fm-border);border-radius:10px}
body.fm-formatura-account .fm-filtros label, .fm-portal-responsavel .fm-filtros label{font-size:12px;font-weight:600;color:var(--fm-muted)}
body.fm-formatura-account .fm-filtros select, .fm-portal-responsavel .fm-filtros select{min-width:150px;margin-top:4px}
.fm-formatura-account .fm-filtros select,
.fm-formatura-account .fm-filtros button,
.fm-formatura-account .button,
body.fm-formatura-account button.button, .fm-portal-responsavel button.button{
    min-height:38px;padding:8px 13px;border-radius:8px;box-sizing:border-box;
}
.fm-formatura-account .fm-filtros button,
.fm-formatura-account .button,
body.fm-formatura-account button.button, .fm-portal-responsavel button.button{
    background:var(--fm-primary);border:1px solid var(--fm-primary);color:#fff;text-decoration:none;font-weight:600;cursor:pointer;
}
.fm-formatura-account .fm-filtros button:hover,
.fm-formatura-account .button:hover,
body.fm-formatura-account button.button:hover, .fm-portal-responsavel button.button:hover{background:var(--fm-primary-dark);border-color:var(--fm-primary-dark);color:#fff}
body.fm-formatura-account .fm-contrato-card, .fm-portal-responsavel .fm-contrato-card{
    margin:16px 0;padding:18px;background:var(--fm-card);border:1px solid var(--fm-border);
    border-radius:var(--fm-radius);box-shadow:0 4px 18px rgba(25,35,55,.05)
}
body.fm-formatura-account .fm-contrato-card>p strong, .fm-portal-responsavel .fm-contrato-card>p strong{color:#1f2937}
.fm-formatura-account .fm-table-wrap,
body.fm-formatura-account .fm-extrato-table-wrap, .fm-portal-responsavel .fm-extrato-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.fm-formatura-account .fm-parcelas-table,
body.fm-formatura-account .fm-extrato-table, .fm-portal-responsavel .fm-extrato-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;background:#fff}
body.fm-formatura-account .fm-parcelas-table, .fm-portal-responsavel .fm-parcelas-table{min-width:700px}
body.fm-formatura-account .fm-extrato-table, .fm-portal-responsavel .fm-extrato-table{min-width:900px}
.fm-formatura-account .fm-parcelas-table th,
.fm-formatura-account .fm-parcelas-table td,
.fm-formatura-account .fm-extrato-table th,
body.fm-formatura-account .fm-extrato-table td, .fm-portal-responsavel .fm-extrato-table td{padding:10px 9px;border-bottom:1px solid var(--fm-border);text-align:left;vertical-align:middle}
.fm-formatura-account .fm-parcelas-table th,
body.fm-formatura-account .fm-extrato-table th, .fm-portal-responsavel .fm-extrato-table th{background:#f8f9fc;color:#566074;font-size:12px;font-weight:700;white-space:nowrap}
.fm-formatura-account .fm-parcelas-table tbody tr:last-child td,
body.fm-formatura-account .fm-extrato-table tbody tr:last-child td, .fm-portal-responsavel .fm-extrato-table tbody tr:last-child td{border-bottom:0}
.fm-formatura-account .fm-parcelas-table tbody tr:hover,
body.fm-formatura-account .fm-extrato-table tbody tr:hover, .fm-portal-responsavel .fm-extrato-table tbody tr:hover{background:#fbfcff}
body.fm-formatura-account .fm-charge-form, .fm-portal-responsavel .fm-charge-form{margin:0}
body.fm-formatura-account .fm-charge-form button, .fm-portal-responsavel .fm-charge-form button{white-space:nowrap}
body.fm-formatura-account .fm-extrato-head, .fm-portal-responsavel .fm-extrato-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}
body.fm-formatura-account .fm-extrato-head p, .fm-portal-responsavel .fm-extrato-head p{color:var(--fm-muted)}
body.fm-formatura-account .fm-extrato-back, .fm-portal-responsavel .fm-extrato-back{white-space:nowrap;font-weight:600;color:var(--fm-primary-dark);text-decoration:none}
body.fm-formatura-account .fm-extrato-summary, .fm-portal-responsavel .fm-extrato-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
body.fm-formatura-account .fm-extrato-summary>div, .fm-portal-responsavel .fm-extrato-summary>div{padding:15px;background:#fff;border:1px solid var(--fm-border);border-radius:var(--fm-radius);box-shadow:0 4px 16px rgba(25,35,55,.045)}
body.fm-formatura-account .fm-extrato-summary small, .fm-portal-responsavel .fm-extrato-summary small{display:block;color:var(--fm-muted);font-size:12px;margin-bottom:3px}
body.fm-formatura-account .fm-extrato-summary strong, .fm-portal-responsavel .fm-extrato-summary strong{font-size:18px;color:#1f2937}
.fm-formatura-account .fm-extrato-empty,
body.fm-formatura-account .fm-account-box, .fm-portal-responsavel .fm-account-box{padding:20px;background:#fff;border:1px solid var(--fm-border);border-radius:var(--fm-radius)}
body.fm-formatura-account .fm-extrato-note, .fm-portal-responsavel .fm-extrato-note{font-size:13px;color:var(--fm-muted);margin-top:14px}
body.fm-formatura-account .fm-valor-positivo, .fm-portal-responsavel .fm-valor-positivo{font-weight:700;color:var(--fm-success)}
body.fm-formatura-account .fm-valor-negativo, .fm-portal-responsavel .fm-valor-negativo{font-weight:700;color:var(--fm-danger)}
body.fm-formatura-account .woocommerce-MyAccount-content a:not(.button), .fm-portal-responsavel .woocommerce-MyAccount-content a:not(.button){color:var(--fm-primary-dark)}
@media(max-width:900px){
body.fm-formatura-account .fm-extrato-summary, .fm-portal-responsavel .fm-extrato-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
body.fm-formatura-account .woocommerce-MyAccount-navigation ul, .fm-portal-responsavel .woocommerce-MyAccount-navigation ul{display:block}
body.fm-formatura-account .woocommerce-MyAccount-navigation li+li, .fm-portal-responsavel .woocommerce-MyAccount-navigation li+li{border-top:1px solid #f0f1f4}
body.fm-formatura-account .woocommerce-MyAccount-navigation a, .fm-portal-responsavel .woocommerce-MyAccount-navigation a{padding:10px 11px}
body.fm-formatura-account .fm-summary, .fm-portal-responsavel .fm-summary{grid-template-columns:1fr}
body.fm-formatura-account .fm-extrato-summary, .fm-portal-responsavel .fm-extrato-summary{grid-template-columns:1fr}
body.fm-formatura-account .fm-extrato-head, .fm-portal-responsavel .fm-extrato-head{display:block}
body.fm-formatura-account .fm-extrato-back, .fm-portal-responsavel .fm-extrato-back{display:inline-block;margin-top:8px}
    .fm-formatura-account .fm-minha-formatura h2,
body.fm-formatura-account .fm-extrato h2, .fm-portal-responsavel .fm-extrato h2{font-size:24px}
body.fm-formatura-account .fm-contrato-card, .fm-portal-responsavel .fm-contrato-card{padding:14px}
}

/* Extrato V0.6.14 — colunas financeiras com leitura estável. */
body.fm-formatura-account .fm-extrato-table th:nth-child(1), .fm-portal-responsavel .fm-extrato-table th:nth-child(1),
body.fm-formatura-account .fm-extrato-table td:nth-child(1), .fm-portal-responsavel .fm-extrato-table td:nth-child(1){min-width:105px}
body.fm-formatura-account .fm-extrato-table th:nth-child(2), .fm-portal-responsavel .fm-extrato-table th:nth-child(2),
body.fm-formatura-account .fm-extrato-table td:nth-child(2), .fm-portal-responsavel .fm-extrato-table td:nth-child(2){min-width:95px}
body.fm-formatura-account .fm-extrato-table th:nth-child(3), .fm-portal-responsavel .fm-extrato-table th:nth-child(3),
body.fm-formatura-account .fm-extrato-table td:nth-child(3), .fm-portal-responsavel .fm-extrato-table td:nth-child(3){min-width:100px}
body.fm-formatura-account .fm-extrato-table th:nth-child(4), .fm-portal-responsavel .fm-extrato-table th:nth-child(4),
body.fm-formatura-account .fm-extrato-table td:nth-child(4), .fm-portal-responsavel .fm-extrato-table td:nth-child(4){min-width:65px}
body.fm-formatura-account .fm-extrato-table th:nth-child(5), .fm-portal-responsavel .fm-extrato-table th:nth-child(5),
body.fm-formatura-account .fm-extrato-table td:nth-child(5), .fm-portal-responsavel .fm-extrato-table td:nth-child(5){min-width:150px}
body.fm-formatura-account .fm-extrato-table th:nth-child(6), .fm-portal-responsavel .fm-extrato-table th:nth-child(6),
body.fm-formatura-account .fm-extrato-table td:nth-child(6), .fm-portal-responsavel .fm-extrato-table td:nth-child(6){min-width:105px}
body.fm-formatura-account .fm-extrato-table th:nth-child(7), .fm-portal-responsavel .fm-extrato-table th:nth-child(7),
body.fm-formatura-account .fm-extrato-table td:nth-child(7), .fm-portal-responsavel .fm-extrato-table td:nth-child(7){min-width:70px}
body.fm-formatura-account .fm-extrato-table th:nth-child(8), .fm-portal-responsavel .fm-extrato-table th:nth-child(8),
body.fm-formatura-account .fm-extrato-table td:nth-child(8), .fm-portal-responsavel .fm-extrato-table td:nth-child(8){min-width:120px;white-space:nowrap}
body.fm-formatura-account .fm-extrato-table th:nth-child(9), .fm-portal-responsavel .fm-extrato-table th:nth-child(9),
body.fm-formatura-account .fm-extrato-table td:nth-child(9), .fm-portal-responsavel .fm-extrato-table td:nth-child(9){min-width:95px;white-space:nowrap}
body.fm-formatura-account .fm-extrato-table td:nth-child(5) small, .fm-portal-responsavel .fm-extrato-table td:nth-child(5) small{display:block;margin-top:3px;color:var(--fm-muted);font-size:12px;line-height:1.35}

/* Portal V0.6.17 — compact account navigation to give the financial extract more room.
 * Scoped exclusively to the Formatura Manager portal; does not alter WooCommerce globally.
 */
@media (min-width: 901px){
    body.fm-formatura-account .woocommerce-MyAccount-navigation,
    .fm-portal-responsavel .woocommerce-MyAccount-navigation{
        width:220px;
        max-width:220px;
        float:left;
        margin-right:20px;
        margin-bottom:22px;
    }
    body.fm-formatura-account .woocommerce-MyAccount-content,
    .fm-portal-responsavel .woocommerce-MyAccount-content{
        width:calc(100% - 240px);
        float:right;
        min-width:0;
    }
    body.fm-formatura-account .woocommerce-MyAccount-navigation ul,
    .fm-portal-responsavel .woocommerce-MyAccount-navigation ul{
        gap:2px;
    }
    body.fm-formatura-account .woocommerce-MyAccount-navigation a,
    .fm-portal-responsavel .woocommerce-MyAccount-navigation a{
        padding:8px 10px;
        font-size:13px;
    }
    body.fm-formatura-account .woocommerce-MyAccount-navigation::after,
    body.fm-formatura-account .woocommerce-MyAccount-content::after,
    .fm-portal-responsavel .woocommerce-MyAccount-navigation::after,
    .fm-portal-responsavel .woocommerce-MyAccount-content::after{
        content:"";
        display:block;
        clear:both;
    }
}

@media (max-width:900px){
    body.fm-formatura-account .woocommerce-MyAccount-navigation,
    body.fm-formatura-account .woocommerce-MyAccount-content,
    .fm-portal-responsavel .woocommerce-MyAccount-navigation,
    .fm-portal-responsavel .woocommerce-MyAccount-content{
        width:100%;
        max-width:none;
        float:none;
        margin-right:0;
    }
}

/* Portal V0.6.17 — painel próprio do responsável, independente do tema. */
body.fm-formatura-account .fm-portal-dashboard,
.fm-portal-responsavel.fm-portal-dashboard{max-width:1100px;margin:0 auto;color:var(--fm-text);box-sizing:border-box}
body.fm-formatura-account .fm-dashboard-welcome h2,
.fm-portal-responsavel .fm-dashboard-welcome h2{font-size:28px;line-height:1.2;margin:0 0 7px;color:#1f2937}
body.fm-formatura-account .fm-dashboard-welcome p,
.fm-portal-responsavel .fm-dashboard-welcome p{margin:0;color:var(--fm-muted);font-size:15px}
body.fm-formatura-account .fm-dashboard-actions,
.fm-portal-responsavel .fm-dashboard-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
body.fm-formatura-account .fm-dashboard-action,
.fm-portal-responsavel .fm-dashboard-action{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 15px;border:1px solid var(--fm-border);border-radius:8px;background:#fff;color:var(--fm-text);text-decoration:none;font-weight:600;box-sizing:border-box}
body.fm-formatura-account .fm-dashboard-action:hover,
.fm-portal-responsavel .fm-dashboard-action:hover{border-color:#d7d1ff;color:var(--fm-primary-dark);background:#fbfaff}
body.fm-formatura-account .fm-dashboard-action-primary,
.fm-portal-responsavel .fm-dashboard-action-primary{background:var(--fm-primary);border-color:var(--fm-primary);color:#fff}
body.fm-formatura-account .fm-dashboard-action-primary:hover,
.fm-portal-responsavel .fm-dashboard-action-primary:hover{background:var(--fm-primary-dark);border-color:var(--fm-primary-dark);color:#fff}
body.fm-formatura-account .fm-dashboard-summary,
.fm-portal-responsavel .fm-dashboard-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 24px}
body.fm-formatura-account .fm-dashboard-summary>div,
.fm-portal-responsavel .fm-dashboard-summary>div{min-height:80px;padding:15px 16px;background:#fff;border:1px solid var(--fm-border);border-radius:var(--fm-radius);box-shadow:0 4px 16px rgba(25,35,55,.045);box-sizing:border-box}
body.fm-formatura-account .fm-dashboard-summary small,
.fm-portal-responsavel .fm-dashboard-summary small{display:block;color:var(--fm-muted);font-size:12px;margin-bottom:4px}
body.fm-formatura-account .fm-dashboard-summary strong,
.fm-portal-responsavel .fm-dashboard-summary strong{font-size:20px;color:#1f2937}
body.fm-formatura-account .fm-dashboard-section,
.fm-portal-responsavel .fm-dashboard-section{background:#fff;border:1px solid var(--fm-border);border-radius:var(--fm-radius);box-shadow:0 4px 18px rgba(25,35,55,.05);padding:18px;margin:0 0 16px}
body.fm-formatura-account .fm-dashboard-section-head,
.fm-portal-responsavel .fm-dashboard-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:14px}
body.fm-formatura-account .fm-dashboard-section-head h3,
.fm-portal-responsavel .fm-dashboard-section-head h3{margin:0;font-size:18px;color:#1f2937}
body.fm-formatura-account .fm-dashboard-section-head a,
.fm-portal-responsavel .fm-dashboard-section-head a{font-size:13px;font-weight:600;color:var(--fm-primary-dark);text-decoration:none;white-space:nowrap}
body.fm-formatura-account .fm-dashboard-installments,
.fm-portal-responsavel .fm-dashboard-installments{display:grid;gap:8px}
body.fm-formatura-account .fm-dashboard-installment,
.fm-portal-responsavel .fm-dashboard-installment{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 14px;border:1px solid var(--fm-border);border-radius:9px;background:#fbfcff;box-sizing:border-box}
body.fm-formatura-account .fm-dashboard-installment>div:first-child,
.fm-portal-responsavel .fm-dashboard-installment>div:first-child{min-width:0}
body.fm-formatura-account .fm-dashboard-installment strong,
.fm-portal-responsavel .fm-dashboard-installment strong{display:block;color:#1f2937}
body.fm-formatura-account .fm-dashboard-installment span,
.fm-portal-responsavel .fm-dashboard-installment span{display:block;color:var(--fm-muted);font-size:13px;margin-top:2px}
body.fm-formatura-account .fm-dashboard-installment-meta,
.fm-portal-responsavel .fm-dashboard-installment-meta{display:flex;align-items:center;gap:20px;flex-shrink:0;text-align:right}
body.fm-formatura-account .fm-dashboard-installment-meta span,
.fm-portal-responsavel .fm-dashboard-installment-meta span{font-size:13px;color:var(--fm-muted)}
body.fm-formatura-account .fm-dashboard-installment.is-overdue,
.fm-portal-responsavel .fm-dashboard-installment.is-overdue{border-color:#f0d4d1;background:#fffafa}
body.fm-formatura-account .fm-dashboard-empty,
.fm-portal-responsavel .fm-dashboard-empty{padding:14px;border:1px dashed var(--fm-border);border-radius:8px;color:var(--fm-muted)}
body.fm-formatura-account .fm-dashboard-help,
.fm-portal-responsavel .fm-dashboard-help{display:flex;flex-direction:column;gap:3px;padding:15px 16px;border:1px solid var(--fm-border);border-radius:10px;background:#fbfbfd;color:var(--fm-text)}
body.fm-formatura-account .fm-dashboard-help span,
.fm-portal-responsavel .fm-dashboard-help span{font-size:13px;color:var(--fm-muted)}
@media(max-width:900px){
 body.fm-formatura-account .fm-dashboard-summary,.fm-portal-responsavel .fm-dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body.fm-formatura-account .fm-dashboard-summary,.fm-portal-responsavel .fm-dashboard-summary{grid-template-columns:1fr}
 body.fm-formatura-account .fm-dashboard-section-head,.fm-portal-responsavel .fm-dashboard-section-head{display:block}
 body.fm-formatura-account .fm-dashboard-section-head a,.fm-portal-responsavel .fm-dashboard-section-head a{display:inline-block;margin-top:7px}
 body.fm-formatura-account .fm-dashboard-installment,.fm-portal-responsavel .fm-dashboard-installment{display:block}
 body.fm-formatura-account .fm-dashboard-installment-meta,.fm-portal-responsavel .fm-dashboard-installment-meta{justify-content:space-between;text-align:left;margin-top:8px}
}


/* Portal V0.6.18 — pedidos: apresentação amigável sem alterar o WooCommerce. */
body.fm-formatura-account .woocommerce-orders-table,
.fm-portal-responsavel .woocommerce-orders-table{font-size:13px}
body.fm-formatura-account .woocommerce-orders-table th,
body.fm-formatura-account .woocommerce-orders-table td,
.fm-portal-responsavel .woocommerce-orders-table th,
.fm-portal-responsavel .woocommerce-orders-table td{vertical-align:middle}
body.fm-formatura-account .woocommerce-orders-table td small,
.fm-portal-responsavel .woocommerce-orders-table td small{display:block;margin-top:3px;color:var(--fm-muted);font-size:11px;line-height:1.35}
body.fm-formatura-account .woocommerce-orders-table .fm-order-status,
.fm-portal-responsavel .woocommerce-orders-table .fm-order-status{font-weight:600;white-space:normal}
body.fm-formatura-account .woocommerce-orders-table .fm-order-status-completed,
.fm-portal-responsavel .woocommerce-orders-table .fm-order-status-completed{color:var(--fm-success)}
body.fm-formatura-account .woocommerce-orders-table .fm-order-status-cancelled,
body.fm-formatura-account .woocommerce-orders-table .fm-order-status-failed,
body.fm-formatura-account .woocommerce-orders-table .fm-order-status-refunded,
.fm-portal-responsavel .woocommerce-orders-table .fm-order-status-cancelled,
.fm-portal-responsavel .woocommerce-orders-table .fm-order-status-failed,
.fm-portal-responsavel .woocommerce-orders-table .fm-order-status-refunded{color:var(--fm-danger)}
body.fm-formatura-account .woocommerce-orders-table td.woocommerce-orders-table__cell-order-total,
.fm-portal-responsavel .woocommerce-orders-table td.woocommerce-orders-table__cell-order-total{white-space:nowrap}
@media(max-width:900px){
 body.fm-formatura-account .woocommerce-orders-table,.fm-portal-responsavel .woocommerce-orders-table{min-width:820px}
}


/* Portal V0.6.21 — dados do responsável. */
body.fm-formatura-account .fm-responsavel-profile,
.fm-portal-responsavel.fm-responsavel-profile{box-sizing:border-box}
body.fm-formatura-account .fm-profile-head h2,
.fm-portal-responsavel .fm-profile-head h2{margin:0 0 5px;font-size:24px;color:#1f2937}
body.fm-formatura-account .fm-profile-head p,
.fm-portal-responsavel .fm-profile-head p{margin:0;color:var(--fm-muted)}
body.fm-formatura-account .fm-profile-card,
.fm-portal-responsavel .fm-profile-card{margin-top:16px;padding:18px;background:#fff;border:1px solid var(--fm-border);border-radius:var(--fm-radius);box-shadow:0 4px 18px rgba(25,35,55,.045)}
body.fm-formatura-account .fm-profile-card h3,
.fm-portal-responsavel .fm-profile-card h3{margin:0 0 14px;font-size:18px;color:#1f2937}
body.fm-formatura-account .fm-profile-grid,
.fm-portal-responsavel .fm-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
body.fm-formatura-account .fm-profile-grid p,
.fm-portal-responsavel .fm-profile-grid p{margin:0}
body.fm-formatura-account .fm-profile-grid label,
.fm-portal-responsavel .fm-profile-grid label{display:block;font-weight:600;font-size:13px;color:#374151}
body.fm-formatura-account .fm-profile-grid input,
.fm-portal-responsavel .fm-profile-grid input{display:block;width:100%;margin-top:5px;box-sizing:border-box;padding:10px 11px;border:1px solid #d8dbe2;border-radius:7px;background:#fff;color:#1f2937}
body.fm-formatura-account .fm-profile-grid input:disabled,
.fm-portal-responsavel .fm-profile-grid input:disabled{background:#f4f5f7;color:#6b7280;cursor:not-allowed}
body.fm-formatura-account .fm-profile-help,
.fm-portal-responsavel .fm-profile-help{display:block;margin-top:5px;font-size:11px;line-height:1.4;color:var(--fm-muted);font-weight:400}
body.fm-formatura-account .fm-profile-help-block,
.fm-portal-responsavel .fm-profile-help-block{margin:0 0 13px}
body.fm-formatura-account .fm-profile-notice,
.fm-portal-responsavel .fm-profile-notice{margin-top:15px;padding:11px 13px;border-radius:7px;font-size:13px}
body.fm-formatura-account .fm-profile-notice.is-success,
.fm-portal-responsavel .fm-profile-notice.is-success{background:#eefaf1;border:1px solid #ccebd3;color:#176b2d}
body.fm-formatura-account .fm-profile-notice.is-error,
.fm-portal-responsavel .fm-profile-notice.is-error{background:#fff5f5;border:1px solid #f0d2d2;color:#a12b2b}
body.fm-formatura-account .fm-profile-links,
.fm-portal-responsavel .fm-profile-links{display:grid;gap:8px}
body.fm-formatura-account .fm-profile-link-item,
.fm-portal-responsavel .fm-profile-link-item{padding:12px 13px;border:1px solid var(--fm-border);border-radius:8px;background:#fbfcff}
body.fm-formatura-account .fm-profile-link-item strong,
.fm-portal-responsavel .fm-profile-link-item strong{display:block;color:#1f2937}
body.fm-formatura-account .fm-profile-link-item span,
.fm-portal-responsavel .fm-profile-link-item span{display:block;margin-top:3px;font-size:12px;color:var(--fm-muted)}
body.fm-formatura-account .fm-profile-link-item small,
.fm-portal-responsavel .fm-profile-link-item small{display:block;margin-top:4px;font-size:11px;color:#596273}
body.fm-formatura-account .fm-profile-empty,
.fm-portal-responsavel .fm-profile-empty{padding:12px;border:1px dashed var(--fm-border);border-radius:8px;color:var(--fm-muted)}
body.fm-formatura-account .fm-profile-actions,
.fm-portal-responsavel .fm-profile-actions{margin-top:16px;text-align:right}
body.fm-formatura-account .fm-profile-actions .button,
.fm-portal-responsavel .fm-profile-actions .button{padding:10px 18px;border:0;border-radius:7px;background:var(--fm-primary);color:#fff;font-weight:600;cursor:pointer}
@media(max-width:700px){
 body.fm-formatura-account .fm-profile-grid,.fm-portal-responsavel .fm-profile-grid{grid-template-columns:1fr}
 body.fm-formatura-account .fm-profile-actions,.fm-portal-responsavel .fm-profile-actions{text-align:left}
}

/* Portal V0.6.22 — profile/address cleanup. */
body.fm-formatura-account .fm-profile-address-grid,
.fm-portal-responsavel .fm-profile-address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.fm-formatura-account .fm-profile-address-grid p:nth-child(1),
.fm-portal-responsavel .fm-profile-address-grid p:nth-child(1){max-width:260px}
@media(max-width:700px){
 body.fm-formatura-account .fm-profile-address-grid,.fm-portal-responsavel .fm-profile-address-grid{grid-template-columns:1fr}
 body.fm-formatura-account .fm-profile-address-grid p:nth-child(1),.fm-portal-responsavel .fm-profile-address-grid p:nth-child(1){max-width:none}
}
