/* TaxAI Ver.130.4 safe top compact - no clipping */

/* transform系の押し上げを完全禁止 */
.taxai-os-page,
.taxai-page,
.taxai-pro-page,
.taxai-ds-page,
.taxai-wrapper,
.taxai-container,
.taxai-dashboard,
.taxai-admin-page,
.taxai-v86-page,
.taxai-v86-main{
    transform:none !important;
}

/* 本文の上余白を最小化 */
.taxai-shell{
    padding-top:0 !important;
}

.taxai-main,
main.taxai-main,
.taxai-content,
.taxai-page-content,
.taxai-admin-main{
    padding-top:0 !important;
    margin-top:0 !important;
}

/* ページラッパーの上paddingだけ削る */
.taxai-os-page,
.taxai-page,
.taxai-pro-page,
.taxai-ds-page,
.taxai-wrapper,
.taxai-container,
.taxai-dashboard,
.taxai-admin-page,
.taxai-v86-page,
.taxai-v86-main{
    padding-top:0 !important;
    margin-top:0 !important;
}

/* hero/card自体は切らずに自然表示 */
.taxai-page-header,
.page-header,
.taxai-hero,
.hero,
.page-hero,
.taxai-ds-hero,
.taxai-pro-hero,
.taxai-os-hero,
.taxai-auto-hero{
    transform:none !important;
    margin-top:0 !important;
    margin-bottom:18px !important;
}

/* heroの内側余白は維持して、見出しが切れないようにする */
.taxai-page-header,
.taxai-hero,
.taxai-pro-hero,
.taxai-ds-hero{
    padding-top:22px !important;
}

/* グリッド上の余白を少し圧縮 */
.taxai-grid,
.taxai-pro-grid,
.taxai-card-grid,
.taxai-dashboard-grid,
.taxai-kpi-grid,
.taxai-stat-grid,
.taxai-metric-grid{
    margin-top:0 !important;
}
