/*
Theme Name: Pocalc Nexus
Theme URI: https://pocalc.com
Author: Pocalc
Description: A lightning-fast, highly optimized theme designed exclusively for tools, calculators, and data utilities. Built for AdSense compliance and high conversion.
Version: 1.0.0
Text Domain: pocalc-nexus
*/

/* --- 1. UTILITY & FINANCE VARIABLES & RESET --- */
:root { 
    /* Core Brand Colors - Shifted to Trust/Tech Blues */
    --ink: #0f172a;               /* Deep Navy-Black for authority */
    --charcoal: #334155;          /* High contrast grey for text */
    --primary-accent: #2563eb;    /* Trust Blue for primary actions */
    --secondary-accent: #1e40af;  /* Deep Blue for hovers */
    
    /* The "Isolation Effect" Conversion Colors */
    --gradient-start: #3b82f6;    /* Vibrant Blue */
    --gradient-end: #1d4ed8;      /* Deep Royal Blue */
    --emerald: #10b981;           /* Semantic Success/Numbers */
    --ruby: #ef4444;              /* Semantic Destructive/Error */
    
    /* Canvas & Surfaces */
    --border-soft: rgba(15, 23, 42, 0.06); 
    --border-hard: #e2e8f0;       
    --border: #e2e8f0;            
    --bg: #f8fafc;                /* Eye-soothing light grey for calculator backgrounds */
    --surface: #ffffff;           /* Pure white for floating tool cards */
    --white: #ffffff;             
    
    /* Typography System */
    --ui-font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --reading-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --editorial-font: 'Merriweather', Georgia, serif; /* Kept for article headings, gives authority */
    
    /* Physics & Micro-Interactions */
    --spring: cubic-bezier(0.16, 1, 0.3, 1); 
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.03);
    --shadow-md: 0 15px 35px rgba(0,0,0,0.04);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    background-color: var(--bg); 
    color: var(--charcoal); 
    font-family: var(--ui-font); 
    line-height: 1.8; 
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

/* AdSense & Calculator requirement: Force tabular numbers for data/calculators to stop jumping layouts */
.tabular-data, .pc-res-val, .pc-calc-output {
    font-variant-numeric: tabular-nums;
}

/* --- 2. LAYOUT WRAPPERS --- */
.boxed-wrap { 
    width: 100%;
    max-width: 100%; 
    margin: 0 auto; 
    background: var(--bg); 
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* --- 3. CONVERSION BUTTON SYSTEM --- */
.pc-cta-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: #ffffff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: var(--ui-font);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    transition: transform 0.3s var(--spring), box-shadow 0.3s var(--spring), filter 0.3s;
}
.pc-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
    filter: brightness(1.05);
}

.pc-cta-secondary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent;
    color: var(--charcoal) !important;
    border: 2px solid var(--border-hard);
    padding: 12px 28px;
    border-radius: 10px;
    font-family: var(--ui-font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s var(--spring);
}
.pc-cta-secondary:hover {
    background: var(--surface);
    border-color: var(--charcoal);
    color: var(--ink) !important;
    transform: translateY(-2px);
}

/* --- 4. HEADER & NAV --- */
header { 
    border-bottom: 1px solid rgba(226, 232, 240, 0.8); 
    padding: 6px 0; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    position: sticky; 
    top: 0;
    z-index: 1000; 
    transition: all 0.3s ease;
}

main.container, .content-layout { position: relative; z-index: 1; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }

/* BRANDING */
.logo a {
    font-family: var(--ui-font);
    font-weight: 900; 
    font-size: 32px; 
    letter-spacing: -1px; 
    color: var(--ink);
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    -webkit-font-smoothing: antialiased;
}

.logo-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--primary-accent);
    margin-left: 4px;
    margin-bottom: 4px; 
    border-radius: 50%; 
}

/* DESKTOP MENU */
.main-nav { display: block; position: relative; z-index: 101; }
.main-nav ul { list-style: none; display: flex; gap: 36px; margin: 0; padding: 0; align-items: center; }

.main-nav a { 
    text-decoration: none; color: var(--ink); 
    font-weight: 800; font-size: 14px; 
    text-transform: uppercase; letter-spacing: 0.5px; 
    transition: color 0.2s; 
    position: relative;
    padding: 6px 0; 
    font-family: var(--ui-font);
}

.main-nav a::after {
    content: ''; position: absolute; width: 0; height: 3px; 
    bottom: 0; left: 0; background-color: var(--primary-accent);
    transition: width 0.3s var(--spring); border-radius: 2px;
}
.main-nav a:hover { color: var(--primary-accent); }
.main-nav a:hover::after { width: 100%; }
.main-nav li { position: relative; margin-bottom: 0px;}

/* DESKTOP SUBMENU */
.main-nav li ul { 
    display: block; position: absolute; top: 100%; left: 0; 
    background: var(--surface); border: 1px solid var(--border); 
    border-radius: 12px; width: 250px; padding: 10px 0; 
    visibility: hidden; opacity: 0; transform: translateY(10px); 
    transition: all 0.2s var(--spring); box-shadow: var(--shadow-md); z-index: 1000; 
}
.main-nav li:hover > ul { visibility: visible; opacity: 1; transform: translateY(0); }
.main-nav li ul li { display: block; border-bottom: 1px solid #f1f5f9; }
.main-nav li ul li:last-child { border-bottom: none; }
.main-nav li ul a { padding: 12px 20px; text-transform: none; font-size: 14px; font-weight: 600; display: block; color: var(--charcoal); }
.main-nav li ul a::after { display: none; }
.main-nav li ul a:hover { background: #f8fafc; color: var(--primary-accent); }

/* --- 5. MOBILE SEARCH & SIDEPANEL --- */
.mobile-toggle { 
    display: none; background: none; border: none; cursor: pointer; 
    padding: 8px; z-index: 100; flex-direction: column; justify-content: center;
    height: 40px; width: 40px;
}
.mobile-toggle span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 2px 0; border-radius: 2px; }

.sidepanel {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100%;
    background: var(--white); z-index: 2000001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: 0.3s ease; display: flex; flex-direction: column;
}
.sidepanel.open { right: 0; }
.sidepanel-header { padding: 25px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.sidepanel-logo { font-family: var(--ui-font); font-size: 24px; font-weight: 900; }
.sidepanel-close { background: none; border: none; font-size: 28px; cursor: pointer; }
.sidepanel-content { padding: 0; overflow-y: auto; }

.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu li { border-bottom: 1px solid var(--border); position: relative; }
.mobile-menu a { display: block; padding: 16px 25px; font-family: var(--ui-font); font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; width: 80%; }
.mobile-menu .sub-menu { display: none; background: #f8fafc; border-top: 1px solid var(--border); }
.mobile-menu .sub-menu li { border-bottom: 1px solid #e2e8f0; }
.mobile-menu .sub-menu a { font-size: 14px; padding: 12px 25px; font-weight: 600; width: 100%; color: var(--charcoal); }

.sidepanel-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 2000000;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.sidepanel-overlay.active { opacity: 1; visibility: visible; }

/* --- 6. SINGLE POST & TOOL CONTENT --- */
.content-layout { display: flex; justify-content: center; margin-top: 40px; padding-bottom: 20px; }
.reading-area { width: 100% !important; max-width: 980px !important; margin:0 auto; } 

/* Constrain the reading text so it doesn't cause eye fatigue */
.pc-guide-content p, 
.pc-guide-content ul, 
.pc-guide-content ol, 
.pc-guide-content blockquote {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Keep headings aligned left but within the reading zone */
.pc-guide-content h2, 
.pc-guide-content h3 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
} 

.post-content {
    font-family: var(--reading-font); /* Uses Inter for perfect readability */
    font-size: 18px;
    line-height: 1.8; 
    color: #1f1f1f; 
    font-weight: 400; /* Dropped to 400 as Inter reads best at standard weight */
}
.post-content a { text-decoration: underline; text-decoration-color: var(--border-hard); text-underline-offset: 4px; color: var(--primary-accent); font-weight: 600; }
.post-content a:hover { color: var(--secondary-accent); text-decoration-color: var(--secondary-accent); }
.post-content p { margin-bottom: 28px; }
.post-content h2 { font-family: var(--ui-font); font-size: 28px; color: var(--ink); margin: 45px 0 20px; font-weight: 900; letter-spacing: -0.5px; }
.post-content h3 { font-family: var(--ui-font); font-size: 24px; color: var(--ink); margin: 35px 0 15px; font-weight: 800; }

.post-content ul { margin: 25px 0 25px 20px; padding: 0; list-style: none; }
.post-content ul li { margin-bottom: 12px; padding-left: 25px; position: relative; }
.post-content ul li::before {
    content: "•"; color: var(--primary-accent); font-weight: 900; font-size: 22px;
    position: absolute; left: 0; top: 0px; line-height: 1;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-accent); margin: 35px 0; padding: 15px 30px;
    background: var(--bg); font-family: var(--editorial-font);
    font-style: italic; color: var(--charcoal); font-size: 20px; border-radius: 0 12px 12px 0;
}

/* --- 7. FOOTER --- */
footer { 
    background: var(--ink); color: #fff; padding: 60px 0; 
    margin-top: 80px; border-top: 5px solid var(--primary-accent);
}
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { text-align: left; }
.copyright { font-family: var(--ui-font); font-size: 13px; color: #94a3b8; line-height: 1.5; margin-top: 10px; font-weight: 500;}

.footer-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.footer-nav a { 
    color: #cbd5e1; text-decoration: none; 
    font-family: var(--ui-font); font-size: 13px; 
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    transition: color 0.2s;
}
.footer-nav a:hover { color: var(--primary-accent); }

/* --- 8. PAGINATION --- */
.pc-pagination ul { display: flex; justify-content: center; gap: 10px; list-style: none; margin: 40px 0; padding: 0; flex-wrap: wrap; }
.pc-pagination a, .pc-pagination span { 
    padding: 10px 16px; border: 1px solid var(--border); text-decoration: none; 
    color: var(--ink); font-weight: 700; background: #fff; 
    font-family: var(--ui-font); font-size: 14px; transition: all 0.2s var(--spring); border-radius: 8px;
}
.pc-pagination a:hover { border-color: var(--primary-accent); color: var(--primary-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm);}
.pc-pagination .current { background: var(--primary-accent); color: #fff; border-color: var(--primary-accent); box-shadow: var(--shadow-sm);}

/* --- 9. GLOBAL FORM & CALCULATOR STYLING --- */
input[type="text"], input[type="email"], input[type="number"], input[type="url"], input[type="tel"], input[type="search"], input[type="password"], textarea, select {
    width: 100%; max-width: 100%; background: #ffffff; border: 1px solid var(--border-hard); border-radius: 10px; padding: 16px 20px; font-size: 16px; color: var(--ink); outline: none; transition: all 0.2s var(--spring); font-family: var(--ui-font); font-weight: 600; margin-bottom: 20px; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, select:focus {
    background: #ffffff; border-color: var(--primary-accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

label { display: block; font-weight: 800; margin-bottom: 8px; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--ui-font); }

input[type="submit"], button[type="submit"], .pc-calc-btn {
    display: inline-block; background: var(--ink); color: #fff; border: none; padding: 16px 32px; font-family: var(--ui-font); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; border-radius: 10px; cursor: pointer; transition: all 0.3s var(--spring); width: 100%; box-shadow: 0 6px 15px rgba(15,23,42,0.15); text-align: center;
}

input[type="submit"]:hover, button[type="submit"]:hover, .pc-calc-btn:hover {
    background: var(--primary-accent); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* --- 10. APP-LIKE TOOL CARDS --- */
.pc-tool-card { 
    display: flex; align-items: center; padding: 18px; background: #ffffff; 
    border: 1px solid #e2e8f0; border-radius: 16px; text-decoration: none; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.015); outline: none; cursor: pointer;
    width: 100%;
}
.pc-tool-card:hover { 
    border-color: var(--primary-accent); 
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08); 
    transform: translateY(-3px); 
}

.pc-tm-icon { 
    width: 50px; height: 50px; flex-shrink: 0; background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%); 
    border: 1px solid rgba(0,0,0,0.02); border-radius: 12px; display: flex; align-items: center; 
    justify-content: center; color: var(--primary-accent); margin-right: 14px; font-size: 22px;
}

.pc-tm-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding-right: 5px;}
.pc-tm-title { font-family: var(--ui-font); font-size: 15px; font-weight: 800; color: #0f172a; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; transition: color 0.2s;}
.pc-tool-card:hover .pc-tm-title { color: var(--primary-accent); }
.pc-tm-desc { font-family: var(--ui-font); font-size: 12px; color: #64748b; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500;}

/* --- 11. ADSENSE DYNAMIC CONTAINERS --- */

/* Real AdSense Live Container */
.pc-real-ad-container {
    width: 100%;
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevents ads from breaking mobile width */
    min-height: 90px; /* Reserves space to prevent Layout Shift (CLS) */
}

/* AdSense Admin Placeholder */
.pc-ad-slot { 
    width: 100%; text-align: center; margin: 40px 0; padding: 20px; 
    background: #f1f5f9; border: 1px dashed #cbd5e1; color: #94a3b8; 
    font-size: 12px; font-family: var(--ui-font); text-transform: uppercase; 
    letter-spacing: 1px; border-radius: 8px;
}

/* --- 12. RESPONSIVE DESIGN & EDGE-TO-EDGE PERFECTION --- */

/* Neutralize the hidden double container bug from header.php causing desktop right-lean */
#pc-pjax-container > .container { padding: 0 !important; max-width: 100% !important; width: 100% !important; }

@media (max-width: 1024px) {
    .main-nav, .search-ui { display: none; }
    .mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
    /* 1. Global edge-to-edge wrap (1-2px border gap) */
    .container, .boxed-wrap { 
        padding-left: 2px !important; 
        padding-right: 2px !important; 
        overflow-x: hidden;
    }
    
    /* 2. Make tool workspaces bleed perfectly to the edge */
    .pc-tool-workspace, .pc-article-workspace, .pc-guide-content {
        padding: 24px 14px !important;
        margin-left: -2px !important; /* Pulls out exactly 2px to eat the container gap */
        margin-right: -2px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        border-top: 1px solid var(--border-hard) !important;
        border-bottom: 1px solid var(--border-hard) !important;
    }

    /* 3. Fix the massive titles globally */
    .pc-page-header-simple {
        margin-top: 15px !important;
        padding: 0 12px !important;
    }
    h1, .pc-page-title-simple, .pc-article-title { 
        font-size: 26px !important; 
        line-height: 1.3 !important; 
        letter-spacing: -0.3px !important; 
        margin-bottom: 10px !important;
    }

    /* 4. Dashboard Card Adjustments */
    .pc-tool-card { padding: 14px; border-radius: 12px; }
    .pc-tm-icon { width: 44px; height: 44px; font-size: 20px; margin-right: 12px; }
    .pc-tm-title { font-size: 15px; }
    .pc-tm-desc { font-size: 13px; }

    /* 5. Mobile Ad Container Adjustments */
    .pc-real-ad-container, .pc-ad-slot {
        margin: 25px 0;
    }

    .footer-flex { flex-direction: column; text-align: center; gap: 30px; }
    .footer-nav ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 24px; padding: 0 4px; }
    
    .post-content h2 { font-size: 22px; margin: 30px 0 15px; }
    .post-content { font-size: 15px; }
}

/* --- 13. UTILITIES --- */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.hidden { display: none !important; }
input[type="text"], input[type="email"], input[type="number"], input[type="url"], input[type="tel"], input[type="search"], input[type="password"], textarea, select {
    margin-bottom: 0px !important;
}
/* --- 14. POCALC CORE SUITE TOOLS (GLOBAL CALCULATOR UI) --- */

.pc-tool-wrapper { 
    max-width: 800px; 
    margin: 0 auto; 
}

/* Base Container */
.pc-calc-container { 
    background: var(--surface); 
    border: 1px solid var(--border-hard); 
    border-radius: 12px; 
    padding: 24px; 
    font-family: var(--ui-font); 
}

/* Grids & Inputs */
.pc-calc-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-bottom: 24px; 
}
.pc-input-group { display: flex; flex-direction: column; position: relative; }
.pc-input-group label { 
    font-weight: 800; color: var(--ink); margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* Input Prefixes (e.g. $) */
.pc-input-prefix { position: relative; display: flex; align-items: center; }
.pc-input-prefix span { position: absolute; left: 16px; color: var(--charcoal); font-weight: 800; z-index: 10; }
.pc-input-prefix input { padding-left: 32px !important; }
.pc-input-prefix {
    position: absolute;
    margin-top: 13px;
    display: flex;
    align-items: center;
}

/* Buttons */
.pc-btn { 
    background: var(--primary-accent); color: #fff; border: none; padding: 16px 32px; font-size: 15px; font-weight: 800; border-radius: 10px; cursor: pointer; width: 100%; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s var(--spring); box-shadow: 0 6px 15px rgba(37, 99, 235, 0.2);
}
.pc-btn:hover { background: var(--secondary-accent); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }
.pc-btn:active { transform: scale(0.98); }

/* Auto-Save Notice */
.pc-auto-save-notice { font-size: 12px; color: #94a3b8; text-align: center; margin-top: 15px; font-style: italic; }

/* Results Card Base */
.pc-results-card { 
    background: var(--bg); border-radius: 12px; padding: 24px; margin-top: 24px; display: none; border: 1px solid var(--border-hard); animation: pcFadeIn 0.4s ease-out;
}
@keyframes pcFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Shared Result Typography & Grids */
.pc-metrics-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; text-align: left; margin-top: 20px;
}
.pc-metrics-grid div { display: flex; flex-direction: column; background: var(--surface); padding: 16px; border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.pc-metrics-grid span:first-child { font-size: 12px; color: var(--charcoal); text-transform: uppercase; font-weight: 800; }
.pc-metrics-grid span:last-child { font-size: 22px; font-weight: 900; color: var(--ink); margin-top: 4px; font-variant-numeric: tabular-nums; }

/* Insight / Alert Boxes */
.pc-insight-box { padding: 16px; border-radius: 8px; text-align: center; font-size: 15px; font-weight: 600; line-height: 1.5; margin-top: 20px;}
.pc-insight-danger, .pc-alert-danger { background: #fef2f2; color: var(--ruby); border: 1px solid #fecaca; }
.pc-insight-safe, .pc-alert-success { background: #f0fdf4; color: var(--emerald); border: 1px solid #bbf7d0; }
.pc-insight-neutral { background: #eff6ff; color: var(--primary-accent); border: 1px solid #bfdbfe; }

/* Visual Progress Bars */
.pc-progress-container { width: 100%; background-color: var(--border); border-radius: 999px; height: 16px; margin: 15px 0 25px 0; overflow: hidden; position: relative; }
.pc-progress-bar { height: 100%; border-radius: 999px; transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* --- 15. MOBILE EDGE-TO-EDGE OVERRIDES --- */
@media (max-width: 768px) {
    /* Break the calculator container out of the parent padding */
    .pc-calc-container {
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        margin-left: -16px !important; /* Adjust these negative margins if your theme container padding differs */
        margin-right: -16px !important;
        padding: 24px 15px !important;
        width: calc(100% + 32px) !important;
        box-shadow: none !important;
        border-top: 1px solid var(--border-hard);
        border-bottom: 1px solid var(--border-hard);
    }

    /* Break the result card out of the calculator container padding */
    .pc-results-card {
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        margin-left: -15px !important; 
        margin-right: -15px !important;
        padding: 24px 15px !important;
        width: calc(100% + 30px) !important;
    }

    /* Stack inputs tightly */
    .pc-calc-grid, .pc-metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.pm-gps-btn {
    display: none !important;
}
.pc-tm-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 1.5;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.pm-pdf-action-bar {
    display: none !important;
}
.post-content h1, h2, h3, h4, h5, h6 {
    margin-left: auto !important;
    margin-right: auto !important;
}