*{
    box-sizing:border-box;
}

html, body{
    margin:0;
    padding:0;
}

body{
    font-family:Arial,sans-serif;
    background:#f4f6fb;
    color:#1f2937;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

.app-shell{
    max-width:1200px;
    margin:0 auto;
    padding:16px;
}

.topbar{
    background:#0f172a;
    color:#fff;
    border-radius:18px;
    padding:18px 20px;
    margin-bottom:16px;
    box-shadow:0 10px 30px rgba(15,23,42,.18);
}

.topbar-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.topbar-title{
    font-size:28px;
    font-weight:700;
    margin:0;
}

.topbar-subtitle{
    font-size:14px;
    opacity:.85;
    margin-top:6px;
}

.app-menu{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.menu-btn{
    background:#fff;
    color:#0f172a;
    border:1px solid #dbe3f0;
    border-radius:14px;
    padding:10px 14px;
    font-weight:700;
    font-size:14px;
    box-shadow:0 4px 12px rgba(15,23,42,.05);
    transition:.2s ease;
}

.menu-btn:hover{
    transform:translateY(-1px);
}

.menu-btn.active{
    background:#0f172a;
    color:#fff;
    border-color:#0f172a;
}

.page-actions{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.page-title{
    margin:0;
    font-size:28px;
    font-weight:700;
}

.page-back{
    color:#475569;
    font-weight:700;
}

.page-back a{
    color:#475569;
}

.card{
    background:#fff;
    border-radius:18px;
    box-shadow:0 6px 18px rgba(15,23,42,.06);
    border:1px solid #e8edf5;
    padding:18px;
    margin-bottom:18px;
}

.cards-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:16px;
}

.stat-card{
    background:#fff;
    border-radius:16px;
    padding:18px;
    border:1px solid #e8edf5;
    box-shadow:0 6px 18px rgba(15,23,42,.05);
}

.stat-card .label{
    color:#64748b;
    font-size:14px;
    font-weight:700;
    margin-bottom:8px;
}

.stat-card .value{
    font-size:30px;
    font-weight:800;
    color:#0f172a;
}

.table-wrap{
    overflow-x:auto;
    overflow-y:hidden;
    border-radius:16px;
    -webkit-overflow-scrolling:touch;
}

.app-table{
    width:100%;
    min-width:900px;
    border-collapse:collapse;
    background:#fff;
}

.app-table th{
    background:#f8fafc;
    color:#334155;
    font-size:13px;
    text-align:left;
    padding:12px 10px;
    border-bottom:1px solid #e5e7eb;
    white-space:nowrap;
}

.app-table td{
    padding:12px 10px;
    border-bottom:1px solid #edf2f7;
    font-size:14px;
    vertical-align:middle;
}

.app-table tr:hover td{
    background:#fafcff;
}

.avatar{
    width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #e5e7eb;
    background:#fff;
}

.badge{
    display:inline-block;
    padding:7px 11px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    white-space:nowrap;
}

.badge-success{
    background:#dcfce7;
    color:#166534;
}

.badge-warning{
    background:#fef3c7;
    color:#92400e;
}

.badge-danger{
    background:#fee2e2;
    color:#b91c1c;
}

.badge-info{
    background:#dbeafe;
    color:#1d4ed8;
}

.badge-green{
    background:#dcfce7;
    color:#166534;
}

.badge-red{
    background:#fee2e2;
    color:#b91c1c;
}

.badge-yellow{
    background:#fef3c7;
    color:#92400e;
}

.action-group{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    border:none;
    border-radius:12px;
    padding:10px 14px;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    text-decoration:none;
    transition:.2s ease;
    line-height:1.2;
}

.btn:hover{
    transform:translateY(-1px);
}

.btn-primary{
    background:#0f172a;
    color:#fff;
}

.btn-secondary{
    background:#e2e8f0;
    color:#0f172a;
}

.btn-success{
    background:#16a34a;
    color:#fff;
}

.btn-danger{
    background:#dc2626;
    color:#fff;
}

.btn-warning{
    background:#f59e0b;
    color:#fff;
}

.btn-info{
    background:#2563eb;
    color:#fff;
}

.btn-sm{
    padding:8px 10px;
    font-size:12px;
    border-radius:10px;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group.full{
    grid-column:1 / -1;
}

label{
    font-size:14px;
    font-weight:700;
    margin-bottom:7px;
    color:#334155;
}

input[type=text],
input[type=password],
input[type=time],
input[type=email],
input[type=number],
input[type=file],
select,
textarea{
    width:100%;
    border:1px solid #dbe3f0;
    border-radius:14px;
    padding:12px 14px;
    background:#fff;
    font-size:14px;
    color:#111827;
}

textarea{
    min-height:110px;
    resize:vertical;
}

.checkbox-list label{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:600;
    margin:8px 0;
}

.alert{
    border-radius:14px;
    padding:14px 16px;
    font-weight:700;
    margin-bottom:14px;
}

.alert-success{
    background:#dcfce7;
    color:#166534;
}

.alert-danger{
    background:#fee2e2;
    color:#b91c1c;
}

.footer-note{
    margin-top:20px;
    text-align:center;
    color:#64748b;
    font-size:13px;
}

.empty-state{
    text-align:center;
    padding:30px 20px;
    color:#64748b;
    font-weight:700;
}

.desktop-table{
    display:block;
}

.responsive-cards{
    display:none;
}

.mobile-card{
    background:#fff;
    border:1px solid #e8edf5;
    border-radius:16px;
    padding:14px;
    box-shadow:0 6px 18px rgba(15,23,42,.05);
    margin-bottom:14px;
}

.mobile-card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
}

.mobile-card-title{
    font-size:18px;
    font-weight:800;
    color:#0f172a;
    margin:0;
}

.mobile-card-subtitle{
    color:#64748b;
    font-size:13px;
    margin-top:4px;
}

.mobile-list{
    display:grid;
    gap:10px;
    margin-top:8px;
}

.mobile-list-item{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
    border-bottom:1px dashed #e5e7eb;
    padding-bottom:8px;
}

.mobile-list-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.mobile-label{
    font-size:12px;
    font-weight:800;
    color:#64748b;
    min-width:110px;
}

.mobile-value{
    font-size:14px;
    font-weight:600;
    color:#111827;
    text-align:right;
    flex:1;
}

@media(max-width:980px){
    .cards-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .form-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){
    .desktop-table{
        display:none;
    }

    .responsive-cards{
        display:block;
    }

    .mobile-card .action-group{
        margin-top:14px;
    }

    .mobile-card .btn{
        flex:1;
    }
}

@media(max-width:640px){
    .topbar-title{
        font-size:22px;
    }

    .page-title{
        font-size:22px;
    }

    .cards-grid{
        grid-template-columns:1fr;
    }

    .app-shell{
        padding:12px;
    }

    .card,
    .topbar{
        border-radius:16px;
    }

    .action-group{
        width:100%;
    }

    .page-actions .action-group .btn,
    .page-actions .btn{
        width:100%;
    }
}

/* =========================================================
   CENTRAL ÚNICA MOBILIDADE - PAINEL ADMINISTRATIVO
   Menu lateral no desktop e gaveta responsiva no celular.
   ========================================================= */
.admin-body{
    background:#f3f6fb;
    color:#1e293b;
    overflow-x:hidden;
}

.admin-body.admin-nav-open{
    overflow:hidden;
}

.admin-shell{
    min-height:100vh;
}

.admin-icon{
    width:22px;
    height:22px;
    display:block;
    flex:0 0 auto;
}

.admin-sidebar{
    position:fixed;
    inset:0 auto 0 0;
    z-index:1000;
    width:280px;
    padding:22px 16px 18px;
    display:flex;
    flex-direction:column;
    color:#e2e8f0;
    background:
        radial-gradient(circle at 0 0, rgba(124,58,237,.24), transparent 34%),
        #0f172a;
    box-shadow:12px 0 32px rgba(15,23,42,.13);
}

.admin-sidebar-brand{
    display:flex;
    align-items:center;
    gap:12px;
    padding:0 8px 20px;
    margin-bottom:13px;
    border-bottom:1px solid rgba(255,255,255,.1);
}

.admin-sidebar-mark{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    border-radius:14px;
    color:#fff;
    background:linear-gradient(135deg,#7c3aed,#4f46e5);
    box-shadow:0 8px 20px rgba(79,70,229,.34);
    font-size:21px;
    font-weight:900;
}

.admin-sidebar-brand strong,
.admin-sidebar-brand span{
    display:block;
}

.admin-sidebar-brand strong{
    color:#fff;
    font-size:17px;
    letter-spacing:.08em;
}

.admin-sidebar-brand div > span{
    margin-top:3px;
    color:#94a3b8;
    font-size:11px;
    font-weight:700;
}

.admin-sidebar-close{
    display:none;
    width:38px;
    height:38px;
    padding:0;
    margin-left:auto;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    border:1px solid rgba(255,255,255,.1);
    border-radius:11px;
    color:#cbd5e1;
    background:rgba(255,255,255,.06);
    cursor:pointer;
}

.admin-sidebar-close .admin-icon{
    width:20px;
    height:20px;
}

.admin-sidebar-nav{
    flex:1;
    min-height:0;
    padding:0 3px 8px;
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,255,255,.2) transparent;
}

.admin-nav-group + .admin-nav-group{
    margin-top:17px;
}

.admin-nav-label{
    padding:0 11px 7px;
    color:#64748b;
    font-size:10px;
    font-weight:900;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.admin-nav-link{
    min-height:43px;
    margin:3px 0;
    padding:9px 11px;
    display:flex;
    align-items:center;
    gap:11px;
    border:1px solid transparent;
    border-radius:12px;
    color:#cbd5e1;
    font-size:14px;
    font-weight:750;
    transition:background .18s ease,color .18s ease,transform .18s ease;
}

.admin-nav-link:hover{
    color:#fff;
    background:rgba(255,255,255,.07);
    transform:translateX(2px);
}

.admin-nav-link.active{
    color:#fff;
    background:linear-gradient(135deg,rgba(124,58,237,.95),rgba(79,70,229,.95));
    box-shadow:0 8px 18px rgba(79,70,229,.2);
}

.admin-nav-icon{
    width:23px;
    height:23px;
    display:grid;
    place-items:center;
    color:#94a3b8;
}

.admin-nav-link.active .admin-nav-icon,
.admin-nav-link:hover .admin-nav-icon{
    color:currentColor;
}

.admin-sidebar-bottom{
    padding:13px 3px 0;
    border-top:1px solid rgba(255,255,255,.1);
}

.admin-sidebar-user{
    display:flex;
    align-items:center;
    gap:10px;
    padding:2px 9px 9px;
    min-width:0;
}

.admin-user-avatar{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:11px;
    color:#c4b5fd;
    background:rgba(124,58,237,.16);
}

.admin-user-avatar .admin-icon{
    width:19px;
    height:19px;
}

.admin-sidebar-user div{
    min-width:0;
}

.admin-sidebar-user small,
.admin-sidebar-user strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.admin-sidebar-user small{
    color:#64748b;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
}

.admin-sidebar-user strong{
    margin-top:2px;
    color:#f8fafc;
    font-size:13px;
}

.admin-logout{
    color:#fca5a5;
}

.admin-logout:hover{
    color:#fff;
    background:rgba(220,38,38,.18);
}

.admin-main{
    min-width:0;
    min-height:100vh;
    margin-left:280px;
    display:flex;
    flex-direction:column;
}

.admin-toolbar{
    position:sticky;
    top:0;
    z-index:800;
    min-height:72px;
    padding:12px clamp(20px,3vw,42px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-bottom:1px solid rgba(226,232,240,.9);
    background:rgba(255,255,255,.9);
    box-shadow:0 4px 18px rgba(15,23,42,.04);
    backdrop-filter:blur(12px);
}

.admin-menu-toggle{
    display:none;
    width:44px;
    height:44px;
    padding:0;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    border:0;
    border-radius:13px;
    color:#fff;
    background:#0f172a;
    box-shadow:0 6px 14px rgba(15,23,42,.16);
    cursor:pointer;
}

.admin-toolbar-title span,
.admin-toolbar-title strong{
    display:block;
}

.admin-toolbar-title span{
    margin-bottom:2px;
    color:#64748b;
    font-size:11px;
    font-weight:800;
    letter-spacing:.05em;
    text-transform:uppercase;
}

.admin-toolbar-title strong{
    color:#0f172a;
    font-size:19px;
}

.admin-toolbar-user{
    display:flex;
    align-items:baseline;
    gap:5px;
    color:#64748b;
    font-size:13px;
}

.admin-toolbar-user strong{
    color:#334155;
}

.admin-content{
    width:100%;
    min-width:0;
    max-width:1580px;
    margin:0 auto;
    padding:28px clamp(20px,3vw,42px) 34px;
    flex:1;
    overflow-x:hidden;
}

.admin-content > *{
    min-width:0;
    max-width:100%;
}

.admin-content .card,
.admin-content .table-wrap{
    min-width:0;
    max-width:100%;
}

.admin-footer{
    padding:16px 20px 23px;
    color:#94a3b8;
    font-size:12px;
    font-weight:700;
    text-align:center;
}

.admin-sidebar-overlay{
    display:none;
    padding:0;
    border:0;
}

.admin-back-to-top{
    position:fixed;
    right:18px;
    bottom:calc(18px + env(safe-area-inset-bottom));
    z-index:850;
    width:48px;
    height:48px;
    padding:0;
    display:grid;
    place-items:center;
    border:0;
    border-radius:15px;
    color:#fff;
    background:linear-gradient(135deg,#7c3aed,#4f46e5);
    box-shadow:0 10px 24px rgba(79,70,229,.3);
    opacity:0;
    pointer-events:none;
    transform:translateY(14px);
    transition:opacity .18s ease,transform .18s ease;
    cursor:pointer;
}

.admin-back-to-top.visible{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
}

.admin-back-to-top .admin-icon{
    width:23px;
    height:23px;
}

.dashboard-shortcuts{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin:18px 0 2px;
}

.dashboard-shortcut{
    position:relative;
    min-width:0;
    min-height:92px;
    padding:16px;
    display:flex;
    align-items:center;
    gap:13px;
    overflow:hidden;
    border:1px solid #e2e8f0;
    border-radius:18px;
    color:#0f172a;
    background:#fff;
    box-shadow:0 8px 22px rgba(15,23,42,.06);
    transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}

.dashboard-shortcut::after{
    content:"";
    position:absolute;
    right:-24px;
    bottom:-35px;
    width:92px;
    height:92px;
    border-radius:50%;
    background:currentColor;
    opacity:.035;
}

.dashboard-shortcut:hover{
    transform:translateY(-2px);
    border-color:#cbd5e1;
    box-shadow:0 12px 28px rgba(15,23,42,.1);
}

.dashboard-shortcut-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:15px;
}

.dashboard-shortcut-icon .admin-icon{
    width:25px;
    height:25px;
}

.dashboard-shortcut-requests .dashboard-shortcut-icon{
    color:#2563eb;
    background:#dbeafe;
}

.dashboard-shortcut-alerts .dashboard-shortcut-icon{
    color:#b45309;
    background:#fef3c7;
}

.dashboard-shortcut-financial .dashboard-shortcut-icon{
    color:#047857;
    background:#d1fae5;
}

.dashboard-shortcut-copy{
    min-width:0;
    flex:1;
}

.dashboard-shortcut-copy strong,
.dashboard-shortcut-copy small{
    display:block;
}

.dashboard-shortcut-copy strong{
    color:#0f172a;
    font-size:16px;
    font-weight:900;
}

.dashboard-shortcut-copy small{
    margin-top:5px;
    overflow:hidden;
    color:#64748b;
    font-size:12px;
    font-weight:700;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.dashboard-shortcut-arrow{
    position:relative;
    z-index:1;
    color:#94a3b8;
    font-size:20px;
    font-weight:900;
}

@media(max-width:1100px) and (min-width:901px){
    .admin-sidebar{
        width:250px;
    }

    .admin-main{
        margin-left:250px;
    }

    .dashboard-shortcut{
        padding:14px;
        gap:10px;
    }

    .dashboard-shortcut-arrow{
        display:none;
    }
}

@media(max-width:900px){
    .admin-sidebar{
        width:min(86vw,300px);
        transform:translateX(-105%);
        transition:transform .22s ease;
    }

    .admin-main{
        margin-left:0;
    }

    .admin-menu-toggle{
        display:flex;
    }

    .admin-sidebar-close{
        display:flex;
    }

    .admin-nav-open .admin-sidebar{
        transform:translateX(0);
    }

    .admin-nav-open .admin-sidebar-overlay{
        position:fixed;
        inset:0;
        z-index:950;
        display:block;
        background:rgba(15,23,42,.56);
        backdrop-filter:blur(2px);
    }

    .admin-toolbar{
        min-height:68px;
        padding:10px 14px;
        justify-content:flex-start;
    }

    .admin-toolbar-title{
        min-width:0;
        flex:1;
    }

    .admin-toolbar-title span,
    .admin-toolbar-title strong{
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .admin-toolbar-title strong{
        font-size:16px;
    }

    .admin-toolbar-user{
        display:none;
    }

    .admin-content{
        padding:20px 14px 28px;
    }
}

@media(max-width:640px){
    .dashboard-shortcuts{
        gap:8px;
        margin-top:14px;
    }

    .dashboard-shortcut{
        min-height:102px;
        padding:11px 7px;
        flex-direction:column;
        justify-content:center;
        gap:8px;
        border-radius:15px;
        text-align:center;
    }

    .dashboard-shortcut-icon{
        width:42px;
        height:42px;
        border-radius:13px;
    }

    .dashboard-shortcut-icon .admin-icon{
        width:22px;
        height:22px;
    }

    .dashboard-shortcut-copy strong{
        font-size:12px;
    }

    .dashboard-shortcut-copy small,
    .dashboard-shortcut-arrow{
        display:none;
    }

    .admin-content .page-actions{
        align-items:flex-start;
    }

    .admin-content .page-back{
        margin-top:5px;
        font-size:13px;
        line-height:1.35;
    }
}

/* =========================================================
   CENTRAL ÚNICA MOBILIDADE - MENU LATERAL DO PARCEIRO
   Navegação somente. Botões funcionais dos cards permanecem.
   ========================================================= */
.partner-sidebar{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    width:250px;
    background:#0f172a;
    color:#fff;
    z-index:1000;
    padding:22px 14px;
    box-shadow:10px 0 30px rgba(15,23,42,.12);
    overflow-y:auto;
}
.partner-sidebar-brand{
    padding:4px 12px 22px;
    border-bottom:1px solid rgba(255,255,255,.12);
    margin-bottom:14px;
}
.partner-sidebar-brand-title{
    font-size:22px;
    font-weight:800;
    letter-spacing:.08em;
}
.partner-sidebar-brand-subtitle{
    margin-top:4px;
    font-size:12px;
    opacity:.72;
}
.partner-sidebar-nav{
    display:flex;
    flex-direction:column;
    gap:7px;
}
.partner-sidebar-nav a{
    display:flex;
    align-items:center;
    gap:11px;
    min-height:46px;
    padding:11px 13px;
    border-radius:12px;
    color:#e2e8f0;
    font-size:14px;
    font-weight:700;
    transition:.2s ease;
}
.partner-sidebar-nav a:hover{
    background:rgba(255,255,255,.09);
    color:#fff;
}
.partner-sidebar-nav a.active{
    background:#fff;
    color:#0f172a;
}
.partner-sidebar-nav .partner-sidebar-logout{
    margin-top:14px;
    color:#fecaca;
}
.partner-menu-toggle{
    display:none;
    position:fixed;
    top:12px;
    left:12px;
    z-index:1100;
    width:46px;
    height:46px;
    border:0;
    border-radius:13px;
    background:#0f172a;
    color:#fff;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 6px 18px rgba(15,23,42,.22);
}
.partner-sidebar-overlay{
    display:none;
}
body:has(.partner-sidebar) .app-shell{
    max-width:none;
    margin-left:250px;
    padding-left:24px;
    padding-right:24px;
}
@media(max-width:900px){
    .partner-sidebar{
        transform:translateX(-105%);
        transition:transform .22s ease;
        width:min(82vw,280px);
    }
    .partner-menu-toggle{
        display:block;
    }
    body.partner-menu-open .partner-sidebar{
        transform:translateX(0);
    }
    body.partner-menu-open .partner-sidebar-overlay{
        display:block;
        position:fixed;
        inset:0;
        background:rgba(15,23,42,.48);
        z-index:950;
    }
    body.partner-menu-open{
        overflow:hidden;
    }
    body:has(.partner-sidebar) .app-shell{
        margin-left:0;
        padding-top:70px;
        padding-left:12px;
        padding-right:12px;
    }
}

/* =========================================================
   REVISÃO COMERCIAL 2026-08-14
   Responsividade real, uploads com feedback e identidade.
   ========================================================= */
:root{
    --brand-accent:#6d28d9;
}

.brand-logo{
    width:44px;
    height:44px;
    object-fit:contain;
    border-radius:12px;
    background:#fff;
    border:1px solid rgba(148,163,184,.28);
    padding:4px;
}

.brand-logo-large{
    width:min(180px,48vw);
    max-height:88px;
    object-fit:contain;
    margin-bottom:18px;
}

.file-feedback{
    margin-top:9px;
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    color:#64748b;
    font-size:12px;
    font-weight:700;
}

.file-feedback-selected{
    color:#166534;
}

.file-preview{
    width:72px;
    height:72px;
    object-fit:cover;
    border-radius:14px;
    border:1px solid #dbe3f0;
    background:#fff;
}

.current-image-preview{
    display:flex;
    gap:10px;
    align-items:center;
    margin-top:10px;
    color:#64748b;
    font-size:12px;
    font-weight:700;
}

.current-image-preview img{
    width:72px;
    height:72px;
    object-fit:contain;
    border-radius:14px;
    border:1px solid #dbe3f0;
    background:#fff;
    padding:4px;
}

.btn:disabled,
.btn[aria-disabled="true"]{
    opacity:.48;
    cursor:not-allowed;
    transform:none!important;
}

.quote-box{
    background:#f8fafc;
    border:1px solid #dbe3f0;
    border-radius:16px;
    padding:14px 16px;
    margin:14px 0;
}

.quote-box strong{
    color:#0f172a;
}

.quote-price{
    font-size:24px;
    font-weight:900;
    color:#166534;
    margin-top:4px;
}

.request-confirm-dialog{
    width:min(560px,calc(100vw - 28px));
    border:0;
    border-radius:20px;
    padding:0;
    box-shadow:0 30px 80px rgba(15,23,42,.32);
}

.request-confirm-dialog::backdrop{
    background:rgba(15,23,42,.56);
}

.request-confirm-body{
    padding:22px;
}

.request-confirm-list{
    display:grid;
    gap:10px;
    margin:16px 0 20px;
}

.request-confirm-row{
    display:grid;
    grid-template-columns:145px 1fr;
    gap:12px;
    padding-bottom:9px;
    border-bottom:1px dashed #e2e8f0;
}

.request-confirm-row span:first-child{
    color:#64748b;
    font-weight:800;
    font-size:13px;
}

.request-confirm-row span:last-child{
    color:#0f172a;
    font-weight:700;
    overflow-wrap:anywhere;
}

@media(max-width:768px){
    .table-wrap{
        overflow:visible;
        border-radius:0;
    }

    .app-table{
        display:block;
        min-width:0!important;
        width:100%;
        background:transparent;
    }

    .app-table thead{
        position:absolute;
        width:1px;
        height:1px;
        padding:0;
        margin:-1px;
        overflow:hidden;
        clip:rect(0,0,0,0);
        white-space:nowrap;
        border:0;
    }

    .app-table tbody{
        display:grid;
        gap:12px;
        width:100%;
    }

    .app-table tbody tr{
        display:block;
        width:100%;
        padding:13px 14px;
        border:1px solid #e8edf5;
        border-radius:16px;
        background:#fff;
        box-shadow:0 5px 14px rgba(15,23,42,.045);
    }

    .app-table tbody td{
        display:grid;
        grid-template-columns:minmax(96px,38%) minmax(0,1fr);
        gap:10px;
        align-items:start;
        width:100%;
        padding:9px 0;
        border-bottom:1px dashed #e5e7eb;
        background:transparent!important;
        font-size:14px;
        overflow-wrap:anywhere;
    }

    .app-table tbody td:last-child{
        border-bottom:0;
    }

    .app-table tbody td::before{
        content:attr(data-label);
        color:#64748b;
        font-size:11px;
        font-weight:900;
        line-height:1.35;
        text-transform:uppercase;
        letter-spacing:.04em;
    }

    .app-table tbody tr.table-empty-row{
        padding:16px;
    }

    .app-table tbody tr.table-empty-row td{
        display:block;
        padding:0;
        border:0;
        color:#64748b;
    }

    .app-table tbody tr.table-empty-row td::before{
        display:none;
    }

    .app-table td .action-group,
    .app-table td form{
        width:100%;
    }

    .app-table td .btn{
        max-width:100%;
    }

    .request-confirm-row{
        grid-template-columns:1fr;
        gap:3px;
    }
}

input[type=checkbox],
input[type=radio]{
    accent-color:var(--brand-accent);
}

.admin-sidebar-mark,
.admin-nav-link.active{
    background:var(--brand-accent);
}

/* Revisão 2: seletor de imagem amigável no mobile */
.image-picker{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    gap:10px;
    margin-top:4px;
}
.image-file-input{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    clip-path:inset(50%)!important;
    white-space:nowrap!important;
}
.image-picker-button{
    width:auto;
    min-width:150px;
}
.image-picker .file-feedback{
    width:100%;
    margin-top:2px;
}
.file-feedback-error{
    color:#b91c1c;
}
.partner-profile-photo{
    width:96px;
    height:96px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #e2e8f0;
    background:#fff;
}
.profile-summary{
    display:flex;
    gap:16px;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:18px;
}
