 
.breadcrumb-bar { 
    background: var(--bg); 
    border-bottom: 1px solid var(--border); 
    padding: 12px 24px; 
    font-size: .8rem; 
    color: var(--textcolor); 
}
.breadcrumb-bar a { color: #00AAFE; text-decoration: none; }
.breadcrumb-bar a:hover { text-decoration: underline; }

.page-wrap { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 36px 20px 60px; 
    display: grid; 
    grid-template-columns: 1fr 280px; 
    gap: 28px; 
    align-items: start; 
}
@media(max-width:900px){ 
    .page-wrap{ grid-template-columns: 1fr; } 
    .sidebar{ order: 2; } 
}

.page-title { font-size: 1.5rem; font-weight: 700; color: var(--heading); margin: 0 0 4px; }
.page-subtitle { font-size: .875rem; color: var(--textcolor); margin: 0 0 24px; }
.card-dark { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 24px; }

.form-label-dark { font-size: .82rem; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; display: block; }
.input-group-dark { 
    display: flex; 
    align-items: center; 
    background: var(--bg); 
    border: 1px solid var(--input-border); 
    border-radius: 8px; 
    overflow: hidden; 
    transition: border-color .15s, box-shadow .15s; 
}
.input-group-dark:focus-within { border-color: #00AAFE; box-shadow: 0 0 0 3px rgba(0,170,254,.15); }
.input-prefix, .input-suffix { padding: 10px 12px; font-size: .88rem; font-weight: 600; color: var(--textcolor); background: var(--bg2); border: none; flex-shrink: 0; user-select: none; }
.form-input-dark { 
    flex: 1; 
    padding: 10px 12px; 
    font-size: .9rem; 
    font-family: 'Inter',sans-serif; 
    color: var(--input-color); 
    background: transparent; 
    border: none; 
    outline: none; 
    min-width: 0; 
}
.form-input-dark::placeholder { color: #4b5563; }
select.form-input-dark { cursor: pointer; }
select.form-input-dark option { background: var(--bg2); }

.range-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.range-slider { 
    flex: 1; 
    -webkit-appearance: none; 
    appearance: none; 
    height: 4px; 
    border-radius: 2px; 
    background: linear-gradient(to right, #00AAFE var(--pct,20%), var(--card-hover-border) var(--pct,20%)); 
    outline: none; 
    cursor: pointer; 
}
.range-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #00AAFE; border: 2px solid var(--bg); cursor: pointer; box-shadow: 0 0 0 3px rgba(0,170,254,.2); }
.range-slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #00AAFE; border: 2px solid var(--bg); cursor: pointer; }
.range-label { font-size: .78rem; color: var(--textcolor); width: 36px; text-align: right; flex-shrink: 0; }

.dp-toggle { display: flex; border: 1px solid var(--input-border); border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.dp-toggle button { flex: 1; padding: 8px 0; font-size: .82rem; font-weight: 600; background: none; border: none; color: var(--textcolor); cursor: pointer; transition: all .14s; }
.dp-toggle button.active { background: linear-gradient(90deg, #00AAFE, #005CFB); color: #fff; }

.section-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.optional-toggle { background: none; border: none; color: #00AAFE; font-size: .82rem; font-weight: 600; cursor: pointer; padding: 0; display: flex; align-items: center; gap: 6px; }
.optional-toggle:hover { color: #33bfff; }

.calc-btn { width: 100%; padding: 13px; font-size: .95rem; font-weight: 700; color: #fff; background: linear-gradient(90deg, #00AAFE, #005CFB); border: none; border-radius: 10px; cursor: pointer; transition: opacity .15s; margin-top: 4px; }
.calc-btn:hover { opacity: .9; }

.results-section { margin-top: 28px; }
.monthly-summary { background: linear-gradient(90deg, rgba(0,170,254,.12), rgba(0,92,251,.08)); border: 1px solid rgba(0,170,254,.25); border-radius: 12px; padding: 24px; text-align: center; margin-bottom: 20px; }
.monthly-label { font-size: .8rem; color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.monthly-amount { font-size: 2.8rem; font-weight: 700; color: var(--heading); letter-spacing: -1px; }
.monthly-period { font-size: .85rem; color: var(--textcolor); margin-top: 2px; }

.chart-row { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.donut-wrap { flex-shrink: 0; position: relative; width: 140px; height: 140px; }
.donut-wrap canvas { display: block; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.donut-center-val { font-size: .95rem; font-weight: 700; color: var(--heading); }
.donut-center-lbl { font-size: .65rem; color: var(--textcolor); }
.breakdown-list { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 180px; }
.breakdown-item { display: flex; align-items: center; gap: 10px; }
.breakdown-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.breakdown-label { font-size: .82rem; color: #9ca3af; flex: 1; }
.breakdown-val { font-size: .9rem; font-weight: 600; color: var(--input-color); }
.breakdown-pct { font-size: .75rem; color: var(--textcolor); margin-left: 4px; }

.summary-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.summary-box { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.summary-box-label { font-size: .73rem; color: var(--textcolor); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.summary-box-val { font-size: 1.1rem; font-weight: 700; color: var(--heading); }
.summary-box-sub { font-size: .72rem; color: #4b5563; margin-top: 2px; }

.amort-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.amort-title { font-size: .95rem; font-weight: 700; color: var(--heading); }
.amort-toggle { background: none; border: 1px solid var(--input-border); border-radius: 6px; color: #9ca3af; font-size: .78rem; padding: 5px 10px; cursor: pointer; transition: border-color .14s,color .14s; }
.amort-toggle:hover { border-color: #00AAFE; color: #005CFB; }
.amort-table-wrap { overflow-x: auto; }
.amort-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.amort-table th { padding: 8px 12px; text-align: right; color: var(--textcolor); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); }
.amort-table th:first-child { text-align: left; }
.amort-table td { padding: 9px 12px; text-align: right; border-bottom: 1px solid var(--bg); color: var(--open-btn-color); }
.amort-table td:first-child { text-align: left; color: #9ca3af; font-weight: 600; }
.amort-table tr:hover td { background: var(--bg); }

.sidebar-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.sidebar-title { font-size: .78rem; font-weight: 700; color: var(--textcolor); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.related-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none; cursor: pointer; }
.related-item:last-child { border-bottom: none; padding-bottom: 0; }
.related-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.related-name { font-size: .85rem; font-weight: 600; color: var(--input-color); line-height: 1.2; }
.related-desc { font-size: .75rem; color: var(--textcolor); margin-top: 2px; }
.info-block { margin-bottom: 10px; }
.info-label { font-size: .72rem; font-weight: 700; color: var(--textcolor); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px; }
.info-val { font-size: .88rem; color: var(--input-color); }

/* ── Blog / FAQ Section ── */
.blog-section { max-width: 1200px; margin: 0 auto; padding: 0 16px 72px; }

.blog-section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; padding-top: 8px; }
.blog-section-badge { font-size: 0.68rem; font-weight: 700; color: #00AAFE; text-transform: uppercase; letter-spacing: .1em; background: rgba(0,170,254,.1); border: 1px solid rgba(0,170,254,.22); border-radius: 20px; padding: 4px 12px; }
.blog-section-title { font-size: 1.2rem; font-weight: 700; color: var(--heading); margin: 0; }

.blog-intro { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; margin-bottom: 24px; font-size: 0.9rem; color: #9ca3af; line-height: 1.75; }
.blog-intro strong { color: var(--input-color); }
.blog-intro p { margin: 0 0 12px; }
.blog-intro p:last-child { margin-bottom: 0; }

.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }

.blog-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 20px 22px; }
.blog-card-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(0,170,254,.13); border: 1px solid rgba(0,170,254,.2); display: flex; align-items: center; justify-content: center; font-size: 17px; margin-bottom: 13px; }
.blog-card h3 { font-size: 0.92rem; font-weight: 700; color: var(--heading); margin: 0 0 8px; }
.blog-card p { font-size: 0.82rem; color: var(--textcolor); line-height: 1.7; margin: 0; }
.blog-card ul { font-size: 0.82rem; color: var(--textcolor); line-height: 1.7; margin: 8px 0 0; padding-left: 18px; }
.blog-card ul li { margin-bottom: 4px; }
.blog-card ul li strong { color: #9ca3af; }

.faq-section-label { font-size: 0.72rem; font-weight: 700; color: var(--textcolor); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }

.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; overflow: hidden; background: var(--bg2); transition: border-color .18s; }
.faq-item.open { border-color: rgba(0,170,254,.3); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; cursor: pointer; user-select: none; }
.faq-q-text { font-size: 0.88rem; font-weight: 600; color: var(--input-color); line-height: 1.4; }
.faq-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: rgba(0,170,254,.1); border: 1px solid rgba(0,170,254,.2); display: flex; align-items: center; justify-content: center; transition: background .18s, transform .22s; }
.faq-icon svg { width: 10px; height: 10px; stroke: #00AAFE; stroke-width: 2.5; fill: none; transition: transform .22s; }
.faq-item.open .faq-icon { background: rgba(0,170,254,.2); }
.faq-item.open .faq-icon svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease, padding .22s ease; }
.faq-a-inner { padding: 0 18px 15px; font-size: 0.84rem; color: var(--textcolor); line-height: 1.75; border-top: 1px solid var(--border); padding-top: 13px; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner strong { color: #9ca3af; }
.faq-a-inner ul { margin: 8px 0 0; padding-left: 18px; }
.faq-a-inner ul li { margin-bottom: 4px; }

/* Share Bar */
.share-bar { max-width: 1200px; margin: 0 auto; }
.share-inner { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.share-text-wrap { display: flex; flex-direction: column; gap: 2px; }
.share-heading { font-size: 0.88rem; font-weight: 700; color: var(--input-color); }
.share-sub { font-size: 0.76rem; color: var(--textcolor); }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: opacity .15s, transform .12s; white-space: nowrap; }
.share-btn:hover { opacity: .88; transform: translateY(-1px); }
.share-btn-tw { background: #000; color: #fff; }
.share-btn-fb { background: #1877f2; color: #fff; }
.share-btn-wa { background: #25d366; color: #fff; }
.share-btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }

@media(max-width:767px){
    .page-wrap { width: 100% !important; display: block; }
    .blog-section-header { flex-direction: column !important; align-items: baseline !important; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-section { padding: 0 14px 56px; }
}
.hidden { display: none !important; }