/* ==== inline-block-1 (extracted from fbr-tax.php inline <style>) ==== */
body{background:linear-gradient(180deg,#f8fbff,#eef4ff)}
.tax-shell{padding:18px 0 48px}
.tax-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.tax-brand{display:flex;align-items:center;gap:13px;color:inherit;text-decoration:none}
.tax-logo,.tax-fallback{width:66px;height:66px;border-radius:20px;object-fit:cover;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 28px rgba(15,23,42,.08)}
.tax-fallback{display:grid;place-items:center;color:#fff;font-weight:1000;background:linear-gradient(135deg,#0f172a,#2563eb,#7c3aed)}
.tax-title h1{margin:0;font-size:30px;letter-spacing:-.03em;color:#0f172a}
.tax-title p{margin:5px 0 0;color:#64748b;font-weight:800}
.tax-actions{display:flex;gap:8px;flex-wrap:wrap}
.tax-panel{background:#fff;border:1px solid #e5e7eb;border-radius:26px;padding:16px;box-shadow:0 14px 36px rgba(15,23,42,.07);margin-bottom:14px}
.tax-filter{display:grid;grid-template-columns:150px minmax(150px,1fr) minmax(120px,1fr) auto auto;gap:10px;align-items:end}
.tax-field label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.35px;color:#64748b;font-weight:1000;margin-bottom:6px}
.tax-field input,.tax-field select,.tax-field textarea{width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:14px;padding:0 11px;font:inherit;font-weight:850;background:#fff}
.tax-field textarea{padding:11px;min-height:90px;resize:vertical}
.tax-summary{display:grid;grid-template-columns:1.2fr repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.tax-big,.tax-stat{border-radius:22px;padding:15px;box-shadow:0 12px 30px rgba(15,23,42,.06)}
.tax-big{color:#fff;background:linear-gradient(135deg,#0f172a,#2563eb,#7c3aed)}
.tax-big small,.tax-stat small{display:block;text-transform:uppercase;letter-spacing:.45px;font-size:10px;font-weight:1000}
.tax-big strong{display:block;margin-top:8px;font-size:32px;line-height:1.05}
.tax-stat{border:1px solid #e5e7eb;background:#f8fafc}
.tax-stat:nth-child(2){background:#ecfdf5}.tax-stat:nth-child(3){background:#fff7ed}.tax-stat:nth-child(4){background:#eff6ff}.tax-stat:nth-child(5){background:#f5f3ff}
.tax-stat small{color:#64748b}.tax-stat strong{display:block;margin-top:7px;font-size:21px;color:#0f172a;line-height:1.15}
.tax-split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.tax-split-card{border-radius:22px;padding:14px;color:#0f172a;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 26px rgba(15,23,42,.05)}
.tax-split-card strong{display:block;font-size:22px;margin-top:6px}.tax-split-card small{color:#64748b;font-weight:900}
.tax-split-card.cash{background:#f8fafc}.tax-split-card.card{background:#ecfdf5}.tax-split-card.online{background:#eff6ff}
.tax-note{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:18px;padding:12px;font-weight:850;line-height:1.45;margin-bottom:14px}
.tax-grid-settings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tax-grid-settings .full{grid-column:1/-1}
.tax-table-wrap{overflow:auto;border:1px solid #e5e7eb;border-radius:20px;background:#fff}
.tax-table{width:100%;border-collapse:collapse;min-width:980px}
.tax-table th,.tax-table td{padding:11px 12px;border-bottom:1px solid #e5e7eb;text-align:left;font-size:13px;vertical-align:top}
.tax-table th{background:#f8fafc;color:#475569;text-transform:uppercase;letter-spacing:.35px;font-size:11px;font-weight:1000}
.tax-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#eff6ff;color:#1d4ed8;font-weight:1000;font-size:12px}
.tax-pill.recorded{background:#ecfdf5;color:#166534}.tax-pill.estimated{background:#fff7ed;color:#9a3412}
.tax-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}
.tax-pager{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.tax-pager .ghost-btn.disabled{opacity:.45;pointer-events:none}.tax-pager-info{font-weight:1000;color:#475569}
.tax-section-title h3{margin:0;font-size:21px;color:#0f172a}
.notice.success{margin-bottom:12px}
.notice.error{margin-bottom:12px}
@media(max-width:980px){.tax-filter,.tax-grid-settings{grid-template-columns:1fr 1fr}.tax-summary{grid-template-columns:1fr 1fr}.tax-big{grid-column:1/-1}.tax-split{grid-template-columns:1fr}}
@media(max-width:680px){
    .tax-shell{padding:12px 0 34px}
    .tax-head{display:grid;grid-template-columns:1fr;gap:10px}
    .tax-brand{background:linear-gradient(135deg,#0f172a,#2563eb,#7c3aed);color:#fff;border-radius:22px;padding:12px;box-shadow:0 16px 34px rgba(37,99,235,.22)}
    .tax-logo,.tax-fallback{width:56px;height:56px;border-radius:17px}
    .tax-title h1{font-size:23px;color:#fff}.tax-title p{font-size:12px;color:rgba(255,255,255,.82)}
    .tax-actions{display:grid;grid-template-columns:1fr 1fr}
    .tax-actions a{justify-content:center}
    .tax-filter,.tax-grid-settings{grid-template-columns:1fr}
    .tax-summary{grid-template-columns:1fr 1fr;gap:8px}
    .tax-big{grid-column:1/-1;border-radius:20px}.tax-big strong{font-size:27px}
    .tax-stat{border-radius:16px;padding:10px}.tax-stat strong{font-size:17px}
    .tax-panel{border-radius:22px;padding:13px}
}

/* ==== fbr-navhead-v1 (extracted from fbr-tax.php inline <style>) ==== */
/* ===== NAVHEAD: burger drawer with index.php page list (all screen sizes) ===== */
.navhead-hidden-status{display:none !important;}
.bill-navhead{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    margin:0 0 12px !important;
    min-height:0 !important;
}
.navhead-burger{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:5px;
    width:46px;height:46px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
    cursor:pointer;
    padding:0 12px;
    flex-shrink:0;
    box-shadow:0 8px 20px rgba(0,0,0,.05);
    transition:box-shadow .15s ease, transform .15s ease;
}
.navhead-burger:hover{box-shadow:0 10px 26px rgba(0,0,0,.10);transform:translateY(-1px);}
.navhead-burger span{display:block;height:2.5px;width:100%;border-radius:3px;background:#0f172a;}
.navhead-page-title{
    font-size:16px;
    font-weight:1000;
    color:#0f172a;
    letter-spacing:-.02em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    min-width:0;
}
.navhead-lead{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
@media(max-width:640px){
    .navhead-page-title{font-size:14px;}
    .navhead-lead{gap:9px;}
}
/* create-posts.php puts the burger on a dark gradient hero, so the dark
   default would be unreadable there. */
.cp-hero .navhead-page-title{color:#fff;}
@media print{.navhead-page-title,.navhead-lead{display:none !important;}}

/* Drawer: identical behaviour on desktop and mobile */
.navhead-links{
    position:fixed;
    top:0;left:0;bottom:0;
    width:min(300px,86vw);
    background:#fff;
    border-right:1px solid var(--line);
    box-shadow:0 0 60px rgba(0,0,0,.22);
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    flex-wrap:nowrap;
    gap:4px;
    padding:18px 12px;
    overflow-y:auto;
    z-index:99998;
    transform:translateX(-102%);
    transition:transform .22s ease;
}
.navhead-links.open{transform:translateX(0);}
.navhead-link{
    display:flex;
    align-items:center;
    gap:10px;
    padding:11px 12px;
    border-radius:12px;
    text-decoration:none;
    color:#334155;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
    transition:background .15s ease,color .15s ease;
}
.navhead-link:hover{background:#f1f5f9;color:#0f172a;}
.navhead-link.active{background:linear-gradient(135deg,#1e3a8a,#2563eb);color:#fff;}
.navhead-ico{font-size:17px;line-height:1;}
.navhead-backdrop{
    position:fixed;inset:0;
    background:rgba(15,23,42,.5);
    z-index:99997;
    opacity:0;pointer-events:none;
    transition:opacity .22s ease;
}
.navhead-backdrop.open{opacity:1;pointer-events:auto;}


/* Burger takes the place of the old logo + brand name on the left */
.tax-head{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:12px !important;
}
.navhead-burger{flex-shrink:0 !important;}
.tax-head .tax-actions{
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    flex-shrink:0 !important;
}
@media(max-width:640px){
    /* the base rule turns .tax-head into a single-column grid; the flex rule
       above overrides it, so just keep the CSV button from overflowing */
    .tax-head .tax-actions .solid-btn{
        white-space:nowrap !important;
        font-size:12px !important;
        padding:0 12px !important;
    }
}
