/*
Theme Name: fangdai
Description: Non-card calculator theme for Z-BlogPHP
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i,
center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu,
nav, section {
    display: block;
}

body {
    background: #f4f1ea;
    color: #1e1d1a;
    font: 14px/1.7 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

a {
    color: #1b4b7a;
    text-decoration: none;
}

a:hover {
    color: #8b3a1c;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font: inherit;
}

.container {
    width: 1080px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

.page-shell {
    min-height: 60vh;
}

.nav-shell {
    background: linear-gradient(to bottom, #1592d3 0%, #0f87c6 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.nav-row {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 54px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    flex: 0 0 auto;
}

.nav-brand:hover {
    color: #fff;
}

.nav-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-brand-logo img {
    max-height: 38px;
    width: auto;
    display: block;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.nav-brand-text strong {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    min-height: 54px;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 16px;
    border-bottom: 0;
    background: transparent;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    transition: background .15s ease, color .15s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.main-nav a.is-current {
    background: rgba(0, 0, 0, .1);
    color: #fff;
}

.hero-band,
.tool-matrix,
.calculator-panel,
.content-shell,
.inner-banner {
    padding: 34px 0;
}

.hero-band {
    border-bottom: 1px solid #d7d0c4;
    background: linear-gradient(to bottom, #f5efe2 0%, #f0eadf 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.hero-kicker {
    color: #8b3a1c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-copy h1,
.inner-banner h1 {
    margin-top: 10px;
    font-size: 44px;
    line-height: 1.2;
    color: #141411;
}

.hero-summary,
.inner-meta {
    margin-top: 14px;
    max-width: 720px;
    color: #585247;
    font-size: 16px;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.action-primary,
.action-secondary,
.calc-tab,
#run-calculator {
    display: inline-block;
    border: 1px solid #2e2a24;
    background: #efe6d5;
    color: #221f19;
    padding: 11px 18px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.action-primary:hover,
.action-secondary:hover,
.calc-tab:hover,
#run-calculator:hover {
    background: #2e2a24;
    color: #fff;
}

.hero-table,
.content-layout,
.content-main.only-main,
.side-line,
.stream-item,
.article-main,
#divCommentPost,
.msg,
.pager-line,
.tool-matrix-grid div,
.tool-matrix-link {
    border: 1px solid #c9bfaf;
    background: #f9f5ed;
}

.hero-table table th,
.hero-table table td,
.result-summary th,
.result-summary td,
.result-detail th,
.result-detail td {
    border: 1px solid #cfc4b4;
    padding: 12px 14px;
    text-align: left;
}

.hero-table table thead th,
.result-detail thead th {
    background: #e9dfcf;
    color: #2e2a24;
}

.formula-sheet table th,
.formula-sheet table td {
    border: 1px solid #cfc4b4;
    padding: 12px 14px;
    text-align: left;
}

.formula-sheet table thead th {
    background: #e9dfcf;
}

.section-head {
    margin-bottom: 18px;
}

.section-head h2 {
    font-size: 28px;
    color: #181713;
}

.section-head p {
    margin-top: 8px;
    color: #645d51;
}

.tool-matrix {
    border-bottom: 1px solid #ddd3c3;
}

.tool-matrix-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid #c9bfaf;
    border-left: 1px solid #c9bfaf;
}

.tool-matrix-grid div,
.tool-matrix-link {
    border-width: 0 1px 1px 0;
    padding: 18px;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-matrix-link {
    color: #1e1d1a;
}

.tool-matrix-link:hover {
    background: #efe6d5;
    color: #1e1d1a;
}

.tool-matrix-grid strong {
    color: #8b3a1c;
    font-size: 13px;
    text-transform: uppercase;
}

.tool-matrix-grid span {
    font-size: 20px;
    font-weight: 700;
}

.tool-matrix-grid em {
    color: #6d6559;
    font-style: normal;
}

.home-floating-tools {
    position: fixed;
    top: 50%;
    left: max(18px, calc((100vw - 1080px) / 2 - 158px));
    transform: translateY(-50%);
    width: 172px;
    z-index: 40;
}

.home-floating-tools-inner {
    border: 1px solid #c9bfaf;
    background: rgba(249, 245, 237, .96);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(47, 38, 23, .12);
    padding: 12px 10px;
    max-height: calc(100vh - 148px);
    overflow-y: auto;
}

.home-floating-tools-list {
    display: block;
}

.home-floating-tools-list li + li {
    border-top: 1px solid #ddd3c3;
}

.home-floating-tool-link {
    display: block;
    padding: 10px 8px;
    color: #1e1d1a;
    transition: background .15s ease, color .15s ease;
}

.home-floating-tool-link:hover {
    background: #f3ebdd;
    color: #1e1d1a;
}

.home-floating-tool-link.is-current {
    background: #efe2cb;
}

.home-floating-tool-link span,
.home-floating-tool-link em {
    display: block;
}

.home-floating-tool-link span {
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}

.home-floating-tool-link em {
    margin-top: 4px;
    color: #6d6559;
    font-size: 12px;
    line-height: 1.45;
    font-style: normal;
}

.site-floating-actions {
    position: fixed;
    right: max(8px, calc((100vw - 1080px) / 2 - 104px));
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 58;
}

.site-floating-actions-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 104px;
}

.site-floating-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-floating-card-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-floating-card {
    border: 1px solid #c9bfaf;
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 20px rgba(47, 38, 23, .12);
    overflow: hidden;
}

.site-floating-card-title {
    padding: 8px 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.35;
}

.site-floating-card-image {
    margin-top: 8px;
    padding: 0 8px;
}

.site-floating-card-image img {
    display: block;
    width: 74px;
    height: 74px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e3d9ca;
}

.site-floating-card-tip {
    margin: 6px 0 0;
    padding: 0 8px;
    color: #6b6256;
    font-size: 10px;
    line-height: 1.5;
    text-align: center;
}

.site-floating-card-contact {
    margin-top: 8px;
    padding: 7px 8px 8px;
    border-top: 1px dashed #d7ccbd;
    text-align: center;
    background: rgba(245, 239, 231, .8);
}

.site-floating-card-contact strong,
.site-floating-card-contact span {
    display: block;
}

.site-floating-card-contact strong {
    color: #4a3f31;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
}

.site-floating-card-contact span {
    margin-top: 4px;
    color: #6d6559;
    font-size: 10px;
    line-height: 1.5;
    word-break: break-all;
}

.site-floating-panel-foot {
    display: flex;
    justify-content: center;
    border: 1px solid #d9cfbf;
    border-radius: 12px;
    background: rgba(244, 235, 222, .95);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.site-floating-back-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 10px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.site-floating-back-top:hover {
    background: rgba(255, 255, 255, .08);
}

.site-floating-back-top strong,
.site-floating-back-top span {
    display: block;
}

.site-floating-back-top strong {
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.site-floating-back-top span {
    color: rgba(255, 255, 255, .92);
    font-size: 10px;
    line-height: 1.45;
}

.site-floating-actions.is-back-top-visible .site-floating-panel-foot {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.calculator-panel {
    background: #f3ecdf;
    border-top: 1px solid #ddd4c6;
    border-bottom: 1px solid #ddd4c6;
}

.calc-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border: 1px solid #bdb19d;
    border-bottom: 0;
}

.result-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.result-toolbar-main,
.result-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.result-share-box {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #cfc4b4;
    background: #f7f1e6;
    border-radius: 12px;
}

.result-share-box label {
    display: block;
    margin-bottom: 8px;
    color: #6a604f;
    font-weight: 700;
}

.result-share-box textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #c9bfaf;
    background: #fbf7ef;
    color: #2e2a24;
    padding: 12px;
    resize: vertical;
    box-sizing: border-box;
    border-radius: 10px;
}

.calc-tab {
    border-width: 0 1px 1px 0;
    background: #e8dfcf;
    min-width: 130px;
}

.calc-tab.is-active {
    background: #2e2a24;
    color: #fff;
}

.calc-frame {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.58fr);
    gap: 0;
    padding: 0 12px;
    border: 0;
    background: transparent;
}

.calc-heading {
    margin-bottom: 16px;
}

.fangdai-region-bar {
    margin: 24px 24px 16px 36px;
    padding: 20px 24px;
    border: 1px solid #ddd6ca;
    border-radius: 12px;
    background: #fffdf9;
    box-shadow: none;
    box-sizing: border-box;
}

.fangdai-region-bar-head {
    display: block;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e8e0d3;
    line-height: 1.5;
}

.fangdai-region-bar-head strong {
    font-size: 22px;
    font-weight: 600;
    color: #2f2a22;
}

.fangdai-region-initial-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.fangdai-region-initial-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border: 1px solid #86b84b;
    border-radius: 3px;
    background: #86b84b;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
}

.fangdai-region-initial-link:hover {
    border-color: #6ca133;
    background: #6ca133;
    color: #fff;
}

.fangdai-region-directory {
    border-top: 0;
}

.fangdai-region-letter-group {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid #edf1f6;
}

.fangdai-region-letter-group:first-child {
    border-top: 0;
}

.fangdai-region-letter-head {
    color: #7d7467;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.1;
}

.fangdai-region-letter-body {
    min-width: 0;
}

.fangdai-region-province-block + .fangdai-region-province-block {
    margin-top: 14px;
}

.fangdai-region-province-name {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3a3228;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.fangdai-region-province-name:hover,
.fangdai-region-province-name.is-active {
    color: #1d4f96;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fangdai-region-city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 6px;
}

.fangdai-region-city-link {
    display: inline-block;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4e473e;
    font-size: 13px;
    line-height: 1.7;
    cursor: pointer;
}

.fangdai-region-city-link:hover,
.fangdai-region-city-link.is-active {
    color: #1d4f96;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fangdai-region-select-hidden {
    display: none;
}

.fangdai-region-item select {
    width: 100%;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #c9d6e6;
    background: #fff;
    box-sizing: border-box;
}

.fangdai-region-item select:disabled {
    background: #f3f5f8;
    color: #8c97a4;
}

.fangdai-region-tip {
    margin: 14px 0 0;
    color: #7a7064;
    font-size: 12px;
    line-height: 1.7;
}

.calc-heading h3 {
    font-size: 24px;
    line-height: 1.2;
}

.calc-title-with-icon {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 36px;
}

.calc-title-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 36px 36px;
}

.calc-title-icon-commercial {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%235e95f3'/%3E%3Cpath d='M6 7.5h4M8 5.5v4M13 7.5h3M6.3 14.3l2.8 2.8M9.1 14.3l-2.8 2.8M13 14.8h4M13 16.8h4' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.calc-title-icon-fund {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%2321b573'/%3E%3Cpath d='M11 5.5v11M6 9.5h10M7.2 16.2h7.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.calc-title-icon-combo {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%23756cf5'/%3E%3Cpath d='M6 8.2h10M6 13.8h10M9 5.8v10.4M13 5.8v10.4' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.calc-title-icon-renovation {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%23f39b33'/%3E%3Cpath d='M7 14.8l5.6-5.6 1.4 1.4-5.6 5.6H7v-1.4zm5.9-6.5l1-1a1.2 1.2 0 0 1 1.7 0l.1.1a1.2 1.2 0 0 1 0 1.7l-1 1' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.calc-title-icon-prepayment {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%23ef6666'/%3E%3Cpath d='M6.5 11h9M12 6l4 5-4 5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.calc-title-icon-rate {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%233c8df0'/%3E%3Cpath d='M6 14l3.2-3.6 2.5 2.1L16 8' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.calc-title-icon-assess {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%2328a8b8'/%3E%3Cpath d='M6.5 15.5h9M8.2 12.2l2.1-2.1 1.7 1.4 2.8-3' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.calc-title-icon-tax {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%23d7a545'/%3E%3Cpath d='M7 7.5h8M7 11h8M7 14.5h5.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.calc-title-icon-reverse {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%238a6ff0'/%3E%3Cpath d='M7 8h8M7 14h8M7.5 8l-1.5 1.5L7.5 11M14.5 11l1.5 1.5-1.5 1.5' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.calc-title-icon-car {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22'%3E%3Crect x='1' y='1' width='20' height='20' rx='5' fill='%235e95f3'/%3E%3Cpath d='M6.5 12.8l1.1-3h6.8l1.1 3M7.5 14.2h.1M14.4 14.2h.1M6.4 12.8h9.2v2.4H6.4z' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.calc-heading p {
    margin-top: 8px;
    color: #6b6458;
}

.calc-main {
    padding: 0;
}

.calc-result {
    padding: 0;
    background: transparent;
}

.calc-pane {
    display: none;
}

.calc-pane.is-active {
    display: block;
}

.commercial-input-block {
    margin: 0 24px;
    padding: 20px 24px 24px;
    border: 1px solid #c9bfaf;
    background: #fffdf8;
    border-radius: 12px;
}

.commercial-section-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e4dacb;
}

.commercial-section-head h3 {
    font-size: 24px;
    line-height: 1.3;
    color: #1f1d18;
}

.commercial-section-head p {
    margin-top: 8px;
    color: #6b6458;
    line-height: 1.8;
}

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

.form-grid label {
    display: block;
}

.commercial-form-grid,
.fund-form-grid,
.combo-form-grid,
.renovation-form-grid,
.prepayment-form-grid,
.rate-form-grid,
.reverse-form-grid,
.assess-form-grid,
.tax-form-grid,
.car-form-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 760px;
}

.commercial-form-row {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    gap: 10px 14px;
}

.commercial-row-title {
    color: #666;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    padding-left: 14px;
}

.assess-form-grid .commercial-row-title {
    padding-left: 0;
    width: calc(100% + 22px);
    margin-left: -22px;
    text-align: right;
}

.assess-form-grid .commercial-form-row {
    gap: 10px 8px;
}

.commercial-form-row-options > .commercial-row-title {
    font-weight: 700;
}

.commercial-row-body {
    min-width: 0;
}

.commercial-form-row-options .commercial-row-body {
    padding: 8px 12px;
    border: 1px solid #e2e2e2;
    background: #f5f5f5;
}

.commercial-option-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.commercial-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}

.commercial-option input {
    margin: 0;
    width: 14px;
    height: 14px;
    accent-color: #1890d8;
    flex: 0 0 14px;
}

.commercial-option span {
    display: inline-block;
    margin: 0;
    color: #333;
    font-weight: 400;
    white-space: nowrap;
}

.commercial-option.is-current span {
    color: #333;
}

.fund-policy-label {
    color: #666;
    white-space: nowrap;
    margin-right: 2px;
}

.combo-section-title {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid #e2e2e2;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.commercial-inline-input {
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 360px;
    border: 1px solid #d7d7d7;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.commercial-inline-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.commercial-input-block .commercial-inline-input {
    max-width: 180px;
    position: relative;
    overflow: visible;
}

.commercial-input-block .commercial-inline-group {
    width: auto;
    max-width: none;
}

.commercial-inline-input input {
    width: 100%;
    padding: 4px 7px;
    border: 0;
    background: transparent;
    color: #222;
    box-sizing: border-box;
}

.commercial-inline-input input:focus {
    outline: 0;
}

.commercial-input-unit {
    flex: 0 0 auto;
    padding: 0 8px 0 0;
    color: #777;
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
}

.commercial-input-unit-outside {
    padding: 0;
}

.commercial-input-block .commercial-inline-input > .commercial-input-unit {
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    padding: 0;
    transform: translateY(-50%);
}

.commercial-amount-uppercase {
    margin-top: 6px;
    color: #8f877b;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}

.commercial-term-body {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.commercial-term-body select {
    width: 200px;
}

.commercial-term-body input {
    width: 180px;
}

.commercial-form-row select,
.commercial-form-row > .commercial-row-body > input,
.commercial-form-row > .commercial-row-body > select {
    box-sizing: border-box;
    padding: 4px 7px;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #222;
    border-radius: 6px;
}

.commercial-form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 110px;
    padding-top: 4px;
}

.commercial-submit,
.commercial-reset {
    min-width: 88px;
    padding: 3px 12px;
    border: 1px solid #d2d2d2;
    cursor: pointer;
    border-radius: 5px;
}

.commercial-submit {
    background: #178fdb;
    border-color: #178fdb;
    color: #fff;
}

.commercial-reset {
    background: #f3f3f3;
    color: #444;
}

.commercial-mode-field {
    transition: opacity .15s ease;
}

.commercial-mode-field.is-hidden,
.fund-mode-field.is-hidden,
.reverse-mode-field.is-hidden,
.tax-new-row.is-hidden,
.tax-second-row.is-hidden,
.prepayment-extra-row.is-hidden,
.prepayment-mode-row.is-hidden,
.prepayment-new-rate-row.is-hidden,
.prepayment-new-method-row.is-hidden {
    display: none;
}

.commercial-mode-field.is-related .commercial-row-title,
.fund-mode-field.is-related .commercial-row-title {
    color: #7c7467;
}

.commercial-mode-field.is-active .commercial-row-title,
.fund-mode-field.is-active .commercial-row-title,
.reverse-mode-field.is-active .commercial-row-title {
    color: #178fdb;
}

.commercial-mode-field.is-active .commercial-inline-input,
.commercial-mode-field.is-active .commercial-row-body > input,
.commercial-mode-field.is-active .commercial-row-body > select,
.fund-mode-field.is-active .commercial-inline-input,
.fund-mode-field.is-active .commercial-row-body > input,
.fund-mode-field.is-active .commercial-row-body > select,
.reverse-mode-field.is-active .commercial-inline-input,
.reverse-mode-field.is-active .commercial-row-body > input,
.reverse-mode-field.is-active .commercial-row-body > select {
    border-color: #178fdb;
    box-shadow: 0 0 0 2px rgba(23, 143, 219, .08);
}

.form-grid span {
    display: block;
    margin-bottom: 8px;
    color: #564f44;
    font-weight: 700;
}

.form-grid input,
.form-grid select,
#frmSumbit .text,
#txaArticle {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px;
    border: 1px solid #bfb29e;
    background: #fffdf8;
    color: #1e1b16;
    border-radius: 6px;
}

.result-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px solid #d8cdbd;
}

#active-calc-name {
    color: #7a3f24;
    font-size: 18px;
    font-weight: 700;
}

.result-summary {
    margin-bottom: 14px;
}

.result-summary th {
    width: 38%;
    background: #efe6d7;
}

.result-note {
    margin-bottom: 14px;
    color: #5e574b;
}

.result-table-wrap {
    max-height: 420px;
    overflow: auto;
    border: 1px solid #d4c8b8;
}

.calc-result.is-commercial-sidebar .result-core {
    display: none;
}

.calc-result.is-commercial-sidebar.show-detail-panel .result-core {
    display: block;
    margin-bottom: 14px;
}

.calc-result.is-commercial-sidebar #global-rate-info-wrap {
    margin-top: 0;
    width: 100%;
    margin-left: -10px;
}

.calc-result.is-commercial-sidebar .commercial-result-sidebar {
    width: 100%;
    margin-top: 14px;
    margin-right: 0;
    margin-left: -10px;
}

.commercial-side #global-rate-info-wrap {
    width: 100%;
}

.calc-result.is-commercial-sidebar .rate-info-block {
    margin-top: 0;
}

.calc-result.is-commercial-sidebar {
    margin-top: -25px;
}

.commercial-compare-block {
    margin-top: 2px;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.commercial-compare-block.is-hidden {
    display: none;
}

.commercial-compare-head {
    padding: 20px 24px 0;
}

.commercial-compare-head h3 {
    font-size: 20px;
    line-height: 1.3;
    color: #1f1d18;
    font-weight: 700;
}

.commercial-compare-head p {
    margin-top: 8px;
    color: #5f594d;
    min-height: 21px;
    line-height: 1.5;
}

.commercial-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 18px 24px 24px;
}

.commercial-compare-grid.is-single-card {
    grid-template-columns: minmax(0, 1fr);
}

.prepayment-compare-card.is-hidden {
    display: none;
}

.prepayment-summary-card,
.rate-summary-card {
    margin: 16px 24px 0;
    border: 1px solid #e3e5e8;
    border-radius: 8px;
    background: #f7f8fa;
    overflow: hidden;
}

.prepayment-summary-grid,
.rate-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 16px 16px 0;
}

.prepayment-summary-item,
.rate-summary-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 8px;
}

.prepayment-summary-item span,
.rate-summary-item span {
    color: #4f6278;
    text-align: right;
    font-size: 13px;
    line-height: 18px;
}

.prepayment-summary-item strong,
.rate-summary-item strong {
    display: flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid #d4d8dd;
    border-radius: 4px;
    background: #e9edf1;
    color: #2a2a2a;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.prepayment-summary-item em,
.rate-summary-item em {
    color: #5a6776;
    font-style: normal;
    font-size: 13px;
    white-space: nowrap;
}

.prepayment-summary-actions,
.rate-summary-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px 16px;
}

#rate-compare-result .commercial-compare-head {
    margin: 16px 24px 0;
    padding: 18px 16px 0;
    border: 1px solid #d9dee4;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f7f8fa;
}

#rate-compare-result .commercial-compare-head h3 {
    text-align: center;
    font-size: 18px;
    color: #4a5f77;
}

#rate-compare-result .commercial-compare-head p {
    display: none;
}

#rate-compare-result .rate-summary-card {
    margin-top: 0;
    border-top: 0;
    border-radius: 0 0 8px 8px;
}

#rate-compare-result .rate-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 32px;
    padding: 14px 40px 0;
}

#rate-compare-result .rate-summary-item {
    grid-template-columns: 68px minmax(0, 142px) 24px;
    justify-content: center;
}

#rate-compare-result .rate-summary-item span {
    text-align: left;
    color: #57697f;
}

#rate-compare-result .rate-summary-item strong {
    justify-content: flex-start;
    background: #eef1f4;
}

#rate-compare-result .rate-summary-actions {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 16px 18px;
}

#rate-compare-result .rate-summary-detail-btn {
    background: #f5930a;
}

#rate-compare-result .commercial-compare-grid {
    gap: 14px;
}

#rate-compare-result .rate-compare-card {
    padding: 18px 12px 14px;
    border-color: #d9dee4;
    background: #fbfbfb;
}

#rate-compare-result .rate-compare-card h4 {
    min-height: auto;
    margin-bottom: 14px;
    font-size: 18px;
    color: #4b5d73;
}

#rate-compare-result .rate-compare-card:first-child h4 span {
    color: #2b8de3;
}

#rate-compare-result .rate-compare-card:last-child h4 span {
    color: #47aa45;
}

#rate-compare-result .rate-compare-card .commercial-compare-stats {
    margin-bottom: 10px;
}

#rate-compare-result .rate-compare-card .commercial-compare-fields {
    gap: 7px;
}

#rate-compare-result .rate-compare-card .commercial-compare-fields > div {
    grid-template-columns: 88px minmax(0, 142px) 36px;
    justify-content: center;
}

#rate-compare-result .rate-compare-card .commercial-compare-fields dt {
    text-align: center;
}

#rate-compare-result .rate-compare-card .commercial-compare-actions {
    margin-top: 16px;
}

#rate-compare-result .rate-compare-card:first-child .rate-compare-detail-btn {
    background: #2b8de3;
}

#rate-compare-result .rate-compare-card:last-child .rate-compare-detail-btn {
    background: #47aa45;
}

.tax-compare-block {
    width: 100%;
}

.assess-compare-block {
    width: 100%;
}

.car-compare-block {
    width: 100%;
}

.tax-compare-block .commercial-compare-head {
    margin: 16px 24px 0;
    padding: 0;
}

.assess-compare-block .commercial-compare-head {
    margin: 16px 24px 0;
    padding: 0;
}

.car-compare-block .commercial-compare-head {
    margin: 16px 24px 0;
    padding: 0;
}

.tax-compare-block .commercial-compare-head h3 {
    text-align: center;
    font-size: 22px;
    color: #4c6077;
}

.assess-compare-block .commercial-compare-head h3 {
    text-align: center;
    font-size: 22px;
    color: #4c6077;
}

.car-compare-block .commercial-compare-head h3 {
    text-align: center;
    font-size: 22px;
    color: #4c6077;
}

.tax-compare-block .commercial-compare-head p {
    display: none;
}

.assess-compare-block .commercial-compare-head p {
    display: none;
}

.car-compare-block .commercial-compare-head p {
    display: none;
}

.tax-compare-card {
    box-sizing: border-box;
    width: auto;
    max-width: none;
    margin: 14px 24px 0;
    padding: 22px 20px;
    border: 1px solid #d9dee4;
    border-radius: 8px;
    background: #fbfbfb;
}

.assess-compare-card {
    box-sizing: border-box;
    width: auto;
    max-width: none;
    margin: 14px 24px 0;
    padding: 22px 20px;
    border: 1px solid #d9dee4;
    border-radius: 8px;
    background: #fbfbfb;
}

.car-compare-card {
    box-sizing: border-box;
    width: auto;
    max-width: none;
    margin: 14px 24px 0;
    padding: 22px 20px;
    border: 1px solid #d9dee4;
    border-radius: 8px;
    background: #fbfbfb;
}

.tax-compare-row {
    display: grid;
    grid-template-columns: 104px 180px 28px;
    align-items: center;
    gap: 8px;
}

.tax-compare-row-with-tip {
    grid-template-columns: 104px 180px 28px minmax(0, 1fr);
}

.tax-compare-row + .tax-compare-row {
    margin-top: 12px;
}

.tax-compare-row span {
    color: #57697f;
    font-size: 14px;
    text-align: right;
}

.tax-compare-row strong {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 32px;
    padding: 4px 7px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
}

.tax-compare-row em {
    color: #5a6776;
    font-style: normal;
    font-size: 14px;
}

.tax-compare-inline-tip {
    display: block;
    margin: 0;
    color: #8b735a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.tax-compare-row-total span,
.tax-compare-row-total em {
    color: #ef6d55;
}

.tax-compare-row-total strong {
    background: #fff2ee;
    border-color: #f3c4b8;
    color: #d95a3f;
}

.tax-total-uppercase {
    margin: 8px 0 0 112px;
}

.assess-total-uppercase {
    margin: 8px 0 10px 112px;
}

.car-total-uppercase {
    margin: 8px 0 0 112px;
}

.commercial-compare-card {
    border: 1px solid #d8d8d8;
    background: #f7f7f7;
    padding: 18px 12px 16px;
    border-radius: 4px;
}

.commercial-compare-card h4 {
    margin-bottom: 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.35;
    color: #4f6278;
    min-height: 44px;
}

.commercial-compare-card h4 span {
    color: #ff8a00;
}

.commercial-compare-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 12px;
    padding: 10px 6px;
    background: #edf1f5;
    border-radius: 4px;
}

.commercial-compare-stat-item {
    position: relative;
    min-width: 0;
    padding: 0 8px;
    text-align: center;
}

.commercial-compare-stat-item:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -2px;
    color: #9aa5b1;
    font-size: 16px;
    line-height: 1;
    transform: translateY(-50%);
}

.commercial-compare-stat-item:nth-child(1)::after {
    content: "=";
}

.commercial-compare-stat-item:nth-child(2)::after {
    content: "+";
}

.commercial-compare-stat-item:nth-child(3)::after {
    content: "";
}

.commercial-compare-stats strong {
    display: block;
    color: #2f3f55;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    min-height: 15px;
    font-variant-numeric: tabular-nums;
}

.commercial-compare-stats span {
    display: block;
    margin-top: 3px;
    color: #7d8794;
    font-size: 12px;
    text-align: center;
    min-height: 15px;
}

.commercial-compare-accent {
    display: flex;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 3px;
}

.commercial-compare-accent span {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 1px 0;
    color: #fff;
    font-size: 10px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.commercial-compare-accent span:first-child {
    background: #1587df;
}

.commercial-compare-accent span:last-child {
    background: #f36a52;
}

.commercial-compare-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.commercial-compare-fields > div {
    display: grid;
    grid-template-columns: 88px 138px 42px;
    align-items: center;
    justify-content: start;
    gap: 8px;
}

.commercial-compare-fields dt {
    color: #4f6278;
    text-align: right;
    font-size: 13px;
    min-height: 18px;
    line-height: 18px;
}

.commercial-compare-fields dd {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    min-height: 26px;
    padding: 4px 8px;
    border: 1px solid #d4d8dd;
    background: #e9edf1;
    color: #2a2a2a;
    font-size: 13px;
    line-height: 1.3;
    border-radius: 4px;
    text-align: left;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.commercial-compare-fields > div::after {
    content: "元";
    color: #5a6776;
    font-size: 13px;
    white-space: nowrap;
}

.commercial-compare-fields > div:nth-child(2)::after {
    content: "期(月)";
}

.commercial-compare-fields > div:nth-child(3)::after {
    content: "%";
}

.combo-compare-fields > div:nth-child(4)::after {
    content: "";
}

.combo-compare-card-fund .commercial-compare-card h4 span,
.combo-compare-card-fund h4 span {
    color: #34a853;
}

.combo-compare-detail-btn-fund,
.combo-compare-card-fund .commercial-compare-detail-btn {
    background: #34a853;
}

.commercial-compare-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.commercial-compare-detail-btn,
.commercial-compare-reset-btn {
    min-width: 122px;
    padding: 8px 14px;
    border: 0;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

.commercial-compare-detail-btn {
    background: #ef6d55;
    color: #fff;
}

.commercial-compare-detail-btn.is-payment {
    background: #f39a08;
}

.commercial-compare-reset-btn {
    background: #e3e3e3;
    color: #333;
}

body.has-commercial-detail-modal {
    overflow: hidden;
}

.commercial-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.commercial-detail-modal.is-hidden {
    display: none;
}

.commercial-detail-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.commercial-detail-modal-dialog {
    position: relative;
    width: min(1040px, calc(100vw - 72px));
    max-height: calc(100vh - 72px);
    margin: 36px auto;
    padding: 16px 20px 20px;
    border-radius: 6px;
    background: #f7f7f7;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.commercial-detail-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #7c838c;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.commercial-detail-modal-head {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.commercial-detail-modal-head h3 {
    color: #e75d4b;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
}

.commercial-detail-modal-download {
    position: absolute;
    top: 18px;
    right: 54px;
    padding: 7px 14px;
    border: 0;
    border-radius: 4px;
    background: #3497ef;
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
}

.commercial-detail-modal-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 8px;
}

.commercial-detail-modal-legend span {
    position: relative;
    padding-left: 22px;
    color: #666f7b;
    font-size: 13px;
    line-height: 1.4;
}

.commercial-detail-modal-legend span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 2px;
    transform: translateY(-50%);
}

.commercial-detail-modal-legend span::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.commercial-detail-modal-legend .is-blue::before {
    background: #3b94dd;
}

.commercial-detail-modal-legend .is-blue::after {
    border: 2px solid #3b94dd;
}

.commercial-detail-modal-legend .is-orange::before {
    background: #f06d52;
}

.commercial-detail-modal-legend .is-orange::after {
    border: 2px solid #f06d52;
}

.commercial-detail-modal-chart-wrap {
    position: relative;
    height: 220px;
    margin-bottom: 12px;
    border-bottom: 1px solid #dbe1e7;
}

.commercial-detail-chart {
    display: block;
    width: 100%;
    height: 220px;
}

.commercial-detail-chart-tooltip {
    position: absolute;
    min-width: 132px;
    padding: 8px 10px;
    border: 1px solid #d8dde3;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.commercial-detail-chart-tooltip.is-hidden {
    display: none;
}

.commercial-detail-chart-tooltip-date {
    margin-bottom: 6px;
    color: #6c7480;
    font-size: 12px;
    line-height: 1.3;
}

.commercial-detail-chart-tooltip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.commercial-detail-chart-tooltip-row span {
    position: relative;
    padding-left: 12px;
    color: #5f6873;
}

.commercial-detail-chart-tooltip-row span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.commercial-detail-chart-tooltip-row.is-blue span::before {
    background: #3b94dd;
}

.commercial-detail-chart-tooltip-row.is-orange span::before {
    background: #f06d52;
}

.commercial-detail-chart-tooltip-row strong {
    color: #3f4752;
    font-weight: 700;
}

.commercial-detail-modal-table-wrap {
    max-height: calc(100vh - 410px);
    overflow: auto;
    background: #fff;
}

.commercial-detail-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.commercial-detail-table th,
.commercial-detail-table td {
    padding: 6px 12px;
    border: 1px solid #d7dfe8;
    text-align: center;
    color: #5f6772;
    font-size: 13px;
    line-height: 1.35;
}

.commercial-detail-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #dfe8f1;
    color: #6e7782;
    font-weight: 400;
}

.commercial-detail-table tbody tr:nth-child(odd) {
    background: #f2f4f6;
}

.commercial-detail-table tbody tr:nth-child(even) {
    background: #e8ecef;
}

.generated-article-block {
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 22px;
    border: 1px solid #ddd6ca;
    background: #fffdf9;
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.generated-article-block.is-hidden {
    display: none;
}

.generated-article-block.generated-article-disabled {
    display: none !important;
}

.generated-article-inner {
    padding: 18px 24px;
}

.generated-article-head h3 {
    font-size: 18px;
    line-height: 1.3;
    color: #1f1d18;
}

.generated-article-head p {
    margin-top: 6px;
    color: #6a6258;
    font-size: 13px;
    line-height: 1.6;
    min-height: 42px;
}

.generated-article-section + .generated-article-section {
    margin-top: 12px;
}

.generated-article-section h4 {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
    color: #5d554a;
}

.generated-article-section p {
    color: #3f392f;
    line-height: 1.75;
    font-size: 14px;
    min-height: 25px;
}

.generated-article-section {
    padding-top: 12px;
    border-top: 1px solid #eee5d9;
}

.generated-article-section:first-of-type {
    margin-top: 12px;
}

.commercial-guide-block .generated-article-inner {
    padding: 24px;
}

.commercial-guide-block,
.fund-guide-block,
.tax-guide-block,
.reverse-guide-block,
.assess-guide-block {
    margin-left: 36px;
    margin-right: 24px;
    margin-top: 24px;
}

.commercial-guide-block .generated-article-head h3,
.fund-guide-block .generated-article-head h3 {
    font-size: 22px;
    color: #2f2a22;
}

.fund-guide-block .generated-article-inner {
    padding: 24px;
}

.commercial-guide-block .generated-article-head p,
.fund-guide-block .generated-article-head p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.95;
    color: #4e473e;
    text-indent: 2.6em;
    min-height: 0;
}

.commercial-guide-block .generated-article-section,
.fund-guide-block .generated-article-section {
    padding-top: 16px;
}

.commercial-guide-block .generated-article-section h4,
.fund-guide-block .generated-article-section h4 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #3a3228;
}

.commercial-guide-block .generated-article-section p,
.fund-guide-block .generated-article-section p {
    font-size: 15px;
    line-height: 1.95;
    color: #40392f;
    text-indent: 2.6em;
    min-height: 0;
}

.commercial-guide-block .generated-article-section p + p,
.fund-guide-block .generated-article-section p + p {
    margin-top: 8px;
}

.commercial-result-sidebar {
    margin: 14px 0 0;
    border: 1px solid #d4c8b8;
    background: #fffdf8;
    border-radius: 8px;
}

.commercial-result-sidebar .generated-article-inner {
    padding: 16px 14px;
}

.commercial-result-sidebar .generated-article-head {
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: 0;
}

.commercial-result-sidebar .generated-article-head h3 {
    font-size: 18px;
    line-height: 1.35;
    color: #2f2a22;
}

.commercial-result-sidebar .generated-article-head p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: #5a5247;
    text-indent: 0;
}

.commercial-result-sidebar .generated-article-section {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #eee3d6;
}

.commercial-result-sidebar .generated-article-head + .generated-article-section {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.commercial-result-sidebar .generated-article-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #3a3228;
}

.commercial-result-sidebar .generated-article-section h4::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c98b47;
    flex: 0 0 6px;
}

.commercial-result-sidebar .generated-article-section p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #40392f;
    text-indent: 0;
}

.commercial-result-sidebar .generated-article-head + .generated-article-section p {
    font-size: 14px;
    color: #2f2a22;
    line-height: 1.95;
}

.commercial-result-sidebar .commercial-overview-line {
    display: block;
    margin-top: 4px;
}

.commercial-result-sidebar .commercial-overview-line:first-child {
    margin-top: 0;
}

.commercial-result-sidebar .commercial-overview-label,
.commercial-result-sidebar .commercial-overview-text,
.commercial-result-sidebar .commercial-overview-unit {
    color: #3f392f;
}

.commercial-result-sidebar .commercial-overview-value {
    display: inline-block;
    margin: 0 3px;
    font-size: 16px;
    font-weight: 700;
    color: #9b642f;
    letter-spacing: .2px;
}

.commercial-result-sidebar .commercial-overview-note {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.8;
    color: #746a5f;
}
.commercial-result-sidebar #commercial-article-overview .commercial-overview-line:nth-child(3) .commercial-overview-label,
.commercial-result-sidebar #commercial-article-overview .commercial-overview-line:nth-child(4) .commercial-overview-label {
    color: #8b3a1c;
}

.commercial-result-sidebar .generated-article-section p + p {
    margin-top: 6px;
}

#latest-knowledge-list {
    margin: 24px 24px 0 36px;
}

.generated-article-list {
    border: 1px solid #ddd6ca;
    background: #fffdf9;
    border-radius: 12px;
}

.generated-article-list .generated-article-head {
    display: flex;
    align-items: center;
    min-height: 22px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee5d9;
}

.generated-article-list .generated-article-head h3 {
    position: relative;
    padding-left: 12px;
    font-size: 18px;
}

.tax-guide-block .generated-article-head p {
    min-height: 0;
}

.car-guide-block {
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 22px;
}

.car-guide-block .generated-article-head h3 {
    font-size: 22px;
    line-height: 1.35;
}

.car-guide-block .generated-article-head p {
    min-height: 0;
    font-size: 14px;
    line-height: 1.85;
    text-indent: 2em;
}

.car-guide-block .generated-article-section {
    padding-top: 14px;
}

.car-guide-block .generated-article-section p {
    font-size: 14px;
    line-height: 1.9;
    text-indent: 2em;
}

.car-guide-block .generated-article-section p strong {
    color: #2f2b24;
}

.assess-guide-block .generated-article-inner {
    padding: 24px;
}

.assess-guide-block .generated-article-head h3 {
    font-size: 22px;
    line-height: 1.35;
    color: #2f2a22;
}

.assess-guide-block .generated-article-head p {
    min-height: 0;
    font-size: 15px;
    line-height: 1.95;
    color: #4e473e;
    text-indent: 2.6em;
}

.assess-guide-block .generated-article-section {
    padding-top: 16px;
}

.assess-guide-block .generated-article-section h4 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #3a3228;
}

.assess-guide-block .generated-article-section p {
    font-size: 15px;
    line-height: 1.95;
    color: #40392f;
    text-indent: 2.6em;
}

.assess-guide-block .generated-article-section p + p {
    margin-top: 8px;
}

.assess-guide-block .generated-article-section p strong {
    color: #2f2b24;
}

.reverse-guide-block .generated-article-head h3 {
    font-size: 22px;
    line-height: 1.35;
    color: #2f2a22;
}

.reverse-guide-block .generated-article-head p {
    min-height: 0;
    font-size: 15px;
    line-height: 1.95;
    text-indent: 2.6em;
    color: #4e473e;
}

.reverse-guide-block .generated-article-section {
    padding-top: 16px;
}

.reverse-guide-block .generated-article-section p {
    font-size: 15px;
    line-height: 1.95;
    text-indent: 2.6em;
    color: #40392f;
}

.reverse-guide-block .generated-article-section p + p {
    margin-top: 8px;
}

.reverse-guide-block .generated-article-section p strong {
    color: #2f2b24;
}

.tax-guide-section + .tax-guide-section {
    margin-top: 20px;
}

.tax-guide-section {
    padding-top: 18px;
    border-top: 1px solid #eee5d9;
}

.tax-guide-section:first-of-type {
    margin-top: 14px;
}

.tax-guide-section h4 {
    font-size: 16px;
    line-height: 1.45;
    color: #2e2a22;
}

.tax-guide-section h5 {
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.45;
    color: #5d554a;
}

.tax-guide-section p {
    margin-top: 8px;
    color: #3f392f;
    line-height: 1.8;
    font-size: 14px;
}

.tax-guide-table-wrap {
    margin-top: 10px;
    overflow-x: auto;
    border: 1px solid #e7dfd2;
    border-radius: 10px;
}

.tax-guide-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    background: #fff;
}

.tax-guide-table th,
.tax-guide-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee7db;
    border-right: 1px solid #eee7db;
    text-align: left;
    vertical-align: top;
    color: #3f392f;
    font-size: 13px;
    line-height: 1.7;
}

.tax-guide-table td[rowspan],
.tax-guide-table th[rowspan] {
    text-align: center;
    vertical-align: middle;
    background: #fdfaf5;
}

.tax-guide-table td.tax-guide-highlight-cell,
.tax-guide-table th.tax-guide-highlight-cell {
    background: #fdfaf5;
    text-align: center;
    vertical-align: middle;
}

.tax-guide-table th:last-child,
.tax-guide-table td:last-child {
    border-right: 0;
}

.tax-guide-table thead th {
    background: #f7f2ea;
    color: #544c41;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
}

.tax-guide-table tbody tr:last-child td {
    border-bottom: 0;
}

.tax-guide-note-list {
    margin-top: 10px;
    padding-left: 18px;
    color: #3f392f;
}

.tax-guide-note-list li {
    margin-top: 6px;
    line-height: 1.8;
}

.generated-article-list .generated-article-head h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 16px;
    border-radius: 999px;
    background: #d9a86c;
    transform: translateY(-50%);
}

.generated-article-tab-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    margin: 8px 0 14px;
    padding-bottom: 2px;
    border-bottom: 1px solid #e5d7d7;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

.generated-article-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 24px;
    padding: 0 0 2px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #8b6b4a;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease;
}

.generated-article-tab:hover {
    color: #c62828;
    border-color: #e53935;
}

.generated-article-tab.is-active {
    color: #c62828;
    font-weight: 700;
    text-decoration: none;
    border-color: #e53935;
}

.generated-article-tab-panel.is-hidden {
    display: none;
}

.generated-article-list-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.generated-article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border: 1px solid #eee7dd;
    border-radius: 8px;
    background: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.generated-article-item:first-child {
    padding-top: 10px;
}

.generated-article-item:hover {
    background: #fffaf2;
    border-color: #e2d4c0;
    transform: translateX(2px);
}

.generated-article-item.is-hidden {
    display: none;
}

.generated-article-item h4 {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
}

.generated-article-item h4 a {
    display: block;
    color: #1f1d18;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.generated-article-item h4 a:hover {
    color: #9b6a2c;
}

.generated-article-date {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f6efe5;
    color: #8a8175;
    font-size: 11px;
    line-height: 1.4;
    white-space: nowrap;
}

.generated-article-empty {
    margin-top: 6px;
    color: #635c51;
    line-height: 1.7;
    font-size: 13px;
}

.generated-article-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.generated-article-pagination.is-hidden {
    display: none;
}

.generated-article-page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid #e3d8c8;
    border-radius: 6px;
    background: #fff;
    color: #7a6750;
    font-size: 13px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.generated-article-page-btn:hover {
    background: #fff7ed;
    border-color: #d8c3a6;
    color: #9b6a2c;
}

.generated-article-page-btn.is-active {
    border-color: #d45b4c;
    background: #d45b4c;
    color: #fff;
    cursor: default;
}

.generated-article-page-btn.is-disabled {
    border-color: #eee7dd;
    background: #f7f3ec;
    color: #b6a998;
    cursor: default;
}

.generated-article-page-ellipsis {
    color: #a99883;
    font-size: 13px;
    line-height: 32px;
}

.generated-article-page-nav {
    padding: 0 12px;
}

#global-rate-info-wrap.is-hidden {
    display: none;
}

.rate-info-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rate-info-card {
    border: 0;
    background: transparent;
    border-radius: 0;
}

.rate-info-head-block,
.rate-info-note-block {
    background: #fffdf8;
}

.rate-info-head-block {
    border: 0;
    background: transparent;
    border-radius: 0;
}

.rate-info-head-block .rate-info-inner {
    padding: 0 0 8px;
}

.rate-info-inner {
    padding: 0;
}

.rate-info-head h3 {
    font-size: 24px;
    line-height: 1.3;
    color: #1f1d18;
}

.rate-info-head p {
    margin-top: 8px;
    color: #5f594d;
}

.rate-info-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 18px;
    line-height: 1.3;
    color: #2b241c;
    transform: translateY(-8px);
}

.rate-info-title-icon {
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

.rate-info-title-icon::before,
.rate-info-title-icon::after {
    content: none;
}

.rate-info-title-icon-lpr {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='16' height='16' rx='4' fill='%23e95a4f'/%3E%3Cpath d='M5 11.5l2.2-2.4 1.8 1.8L13 7' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.rate-info-title-icon-benchmark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='16' height='16' rx='4' fill='%23d8a255'/%3E%3Cpath d='M5 6h8M5 9h8M5 12h6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.rate-info-title-icon-fund {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Crect x='1' y='1' width='16' height='16' rx='4' fill='%23ef7b45'/%3E%3Cpath d='M4.5 8.2L9 5l4.5 3.2v4.8h-2.2V9.8H6.7V13H4.5V8.2z' fill='white'/%3E%3C/svg%3E");
}

.calc-result.is-commercial-sidebar .rate-info-card:first-child .rate-info-section {
    margin-top: 0;
}

.calc-result.is-commercial-sidebar .rate-info-card:first-child .rate-info-section h4 {
    margin-bottom: 2px;
    transform: translateY(-4px);
}

.rate-info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fffdf8;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #d4c8b8;
}

.rate-info-table th,
.rate-info-table td {
    border-right: 1px solid #d4c8b8;
    border-bottom: 1px solid #d4c8b8;
    padding: 7px 12px;
    text-align: left;
    color: #727876;
    line-height: 1.3;
}

.rate-info-table tr > *:last-child {
    border-right: 0;
}

.rate-info-table tbody tr:last-child td {
    border-bottom: 0;
}

.rate-info-table th {
    background: #f1f3f6;
    color: #596575;
    font-weight: 400;
}

.rate-info-card:nth-child(1) .rate-info-table,
.rate-info-card:nth-child(2) .rate-info-table {
    table-layout: fixed;
}

.rate-info-card:nth-child(1) .rate-info-table th,
.rate-info-card:nth-child(1) .rate-info-table td,
.rate-info-card:nth-child(2) .rate-info-table th,
.rate-info-card:nth-child(2) .rate-info-table td {
    width: 50%;
}

.rate-info-updated,
.rate-info-note {
    margin-top: 8px;
    color: #6b6256;
}

.rate-info-updated {
    margin-top: 4px;
    text-align: right;
    color: #9a9388;
    font-size: 12px;
    line-height: 1.3;
}

.rate-info-note-card {
    padding: 10px 12px 12px;
    border: 1px solid #d4c8b8;
    border-radius: 6px;
    background: #fffdf8;
}

.rate-info-note-card h4 {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.3;
    color: #2b241c;
}

.rate-info-note-card .rate-info-note {
    margin-top: 0;
    font-size: 13px;
    line-height: 1.7;
}

.rate-info-more-row td {
    padding: 8px 12px;
    background: #fbfcfe;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.rate-info-more-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3e6fa1;
    text-align: center;
    width: 100%;
}

.rate-info-more-arrow {
    display: inline-block;
    margin-left: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

body.rate-reference-page {
    background: #fff;
}

.inner-banner.rate-reference-banner {
    padding: 18px 0 46px;
    background: #fff;
    border-bottom: 0;
}

.rate-reference-article {
    max-width: 100%;
    padding-top: 0;
}

.rate-reference-page-head {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.rate-reference-section + .rate-reference-section {
    margin-top: 30px;
}

.rate-reference-article h1 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    color: #1a1a1a;
    font-weight: 700;
}

.rate-reference-section h2 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.3;
    color: #1f1d18;
    font-weight: 700;
}

.rate-reference-section h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.4;
    color: #1f1d18;
    font-weight: 700;
}

.rate-reference-section h4 {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.4;
    color: #1f1d18;
    font-weight: 700;
}

.rate-reference-section p {
    color: #4f4b44;
    line-height: 1.88;
    font-size: 15px;
}

.rate-reference-section p + p {
    margin-top: 12px;
}

.rate-reference-chart-card {
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    padding: 20px 18px 18px;
}

.rate-reference-chart-head {
    display: grid;
    grid-template-columns: 160px 1fr auto;
    align-items: start;
    gap: 16px;
    margin-bottom: 8px;
}

.rate-reference-chart-title-group h2 {
    margin-bottom: 4px;
    font-size: 18px;
    color: #333;
}

.rate-reference-chart-title-group p {
    color: #666;
    font-size: 14px;
    line-height: 1.2;
}

.rate-reference-chart-center-title {
    text-align: center;
    color: #7c8492;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.rate-reference-chart-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    padding-top: 2px;
}

.rate-reference-chart-legend span {
    position: relative;
    padding-left: 22px;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.rate-reference-chart-legend span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 2px;
    transform: translateY(-50%);
}

.rate-reference-chart-legend span::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.rate-reference-chart-legend .is-blue::before,
.rate-reference-chart-legend .is-blue::after {
    border-color: #4d6fd3;
    background: #fff;
}

.rate-reference-chart-legend .is-blue::before {
    background: #4d6fd3;
}

.rate-reference-chart-legend .is-blue::after {
    border: 2px solid #4d6fd3;
}

.rate-reference-chart-legend .is-green::before,
.rate-reference-chart-legend .is-green::after {
    border-color: #8cc36f;
    background: #fff;
}

.rate-reference-chart-legend .is-green::before {
    background: #8cc36f;
}

.rate-reference-chart-legend .is-green::after {
    border: 2px solid #8cc36f;
}

.rate-reference-chart-svg-wrap {
    margin-top: 4px;
}

.rate-reference-chart-canvas-wrap {
    position: relative;
    margin-top: 4px;
    width: 100%;
    height: 270px;
}

.rate-reference-chart-canvas {
    display: block;
    width: 100%;
    height: 270px;
}

.rate-reference-chart-tooltip {
    position: absolute;
    z-index: 3;
    min-width: 122px;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    pointer-events: none;
}

.rate-reference-chart-tooltip.is-hidden {
    display: none;
}

.rate-reference-chart-tooltip-date {
    margin-bottom: 6px;
    color: #6a6a6a;
    font-size: 13px;
    line-height: 1.3;
}

.rate-reference-chart-tooltip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.rate-reference-chart-tooltip-row + .rate-reference-chart-tooltip-row {
    margin-top: 2px;
}

.rate-reference-chart-tooltip-row span {
    position: relative;
    padding-left: 14px;
}

.rate-reference-chart-tooltip-row span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.rate-reference-chart-tooltip-row.is-blue span::before {
    background: #4d6fd3;
}

.rate-reference-chart-tooltip-row.is-green span::before {
    background: #8cc36f;
}

.rate-reference-chart-desc {
    margin-top: 10px;
    color: #6b6b6b;
    font-size: 14px;
    line-height: 1.8;
}

.rate-reference-table-wrap {
    margin-top: 12px;
    max-width: 100%;
}

.rate-reference-lpr-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.rate-reference-lpr-table th,
.rate-reference-lpr-table td {
    padding: 8px 14px;
    border: 1px solid #cfdceb;
    text-align: center;
    color: #4f4b44;
    line-height: 1.5;
    font-size: 14px;
}

.rate-reference-lpr-table th {
    background: #dde9f5;
    color: #5d7088;
    font-weight: 400;
}

.rate-reference-ordered-list {
    margin-top: 8px;
    padding-left: 22px;
}

.rate-reference-ordered-list li {
    color: #4f4b44;
    line-height: 1.88;
    font-size: 15px;
}

.rate-reference-ordered-list li + li {
    margin-top: 8px;
}

@media screen and (max-width: 860px) {
    .rate-reference-chart-head {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rate-reference-chart-center-title {
        text-align: left;
    }

    .rate-reference-chart-canvas-wrap,
    .rate-reference-chart-canvas {
        height: 240px;
    }
}

@media (max-width: 1180px) {
    .commercial-compare-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1360px) {
    .home-floating-tools {
        display: none;
    }
}

.inner-banner {
    background: #f0eadf;
    border-bottom: 1px solid #dad0bf;
}

.article-detail-banner {
    padding: 28px 0 30px;
    background: linear-gradient(to bottom, #f5efe2 0%, #efe8db 100%);
}

.article-detail-banner .container {
    padding: 0 36px;
    box-sizing: border-box;
}

.article-detail-banner h1 {
    font-size: 22px;
    line-height: 1.45;
}

.article-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #7d7366;
    font-size: 13px;
}

.article-detail-breadcrumb a {
    color: #7d7366;
}

.article-detail-breadcrumb a:hover {
    color: #8b3a1c;
}

.article-detail-breadcrumb-current {
    color: #5f594f;
    opacity: 0.9;
    max-width: min(100%, 560px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-detail-meta {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-left: 0;
    padding: 0;
    list-style: none;
}

.article-detail-meta li {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0;
    position: relative;
}

.article-detail-meta li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    width: 1px;
    height: 12px;
    background: #d1c3af;
    transform: translateY(-50%);
}

.article-detail-meta-label {
    color: #8a7b67;
    font-size: 13px;
    line-height: 1.5;
}

.article-detail-meta-value {
    color: #2e271f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-detail-meta-value a {
    color: #8b3a1c;
}

.article-detail-meta-value a:hover {
    color: #a44b28;
}

.article-summary-strip {
    margin: 0 0 12px;
    padding: 4px 0 12px;
    border-bottom: 1px solid #ded2bf;
}

.article-summary-strip h1 {
    margin: 10px 0 0;
    font-size: 22px;
    line-height: 1.45;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
    padding: 0;
    background: transparent;
    border: 0;
}

.content-main,
.content-side {
    min-width: 0;
}

.content-main.only-main {
    padding: 26px;
}

.side-line {
    padding: 20px;
    margin-bottom: 18px;
}

.side-line h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.side-line li + li {
    margin-top: 10px;
}

.article-main {
    padding: 26px 28px;
}

.article-headline {
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 2px solid #ddd0ba;
}

.article-headline h2 {
    margin-top: 10px;
    font-size: 34px;
    line-height: 1.25;
}

.article-line {
    color: #746c60;
}

.article-detail-shell {
    padding-top: 28px;
}

.article-workbench-panel {
    padding-top: 28px;
}

.article-calc-frame {
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.58fr);
    align-items: start;
}

.article-detail-main {
    display: block;
}

.article-content-pane {
    display: block;
    min-width: 0;
    margin: 0 24px;
    padding: 20px 12px 24px;
    box-sizing: border-box;
}

.article-content-pane .article-main,
.article-content-pane #divCommentPost,
.article-content-pane .msg {
    border: 0;
    background: transparent;
}

.article-content-pane .article-main {
    padding: 0;
}

.article-side-result {
    min-width: 0;
    padding: 0;
}

.single-page .article-side-result {
    margin-top: 0;
}

.single-page .article-side-result #global-rate-info-wrap,
.single-page .article-side-result .commercial-result-sidebar {
    width: 100%;
    margin-left: -10px;
}

.single-page .article-side-result .commercial-result-sidebar {
    margin-right: 0;
}

.single-page .article-side-result .rate-info-card:first-child .rate-info-section {
    margin-top: 0;
}

.single-page .article-side-result .rate-info-card:first-child .rate-info-section h4 {
    margin-bottom: 2px;
    transform: translateY(-4px);
}

.article-followup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.58fr);
    padding: 0 12px;
}

.article-followup-main {
    min-width: 0;
}

.article-followup-main .generated-article-block {
    margin-left: 24px;
    margin-right: 24px;
}

.article-detail-side .side-line {
    background: #f9f5ed;
}

.article-side-block h3 {
    margin-bottom: 14px;
}

.article-side-block p + p {
    margin-top: 10px;
}

.article-side-links li + li {
    margin-top: 10px;
}

.article-side-links a {
    color: #1b4b7a;
}

.article-side-links a:hover {
    color: #8b3a1c;
}

.article-detail-article {
    padding: 0;
    overflow: hidden;
}

.article-detail-headline {
    padding: 24px 28px 18px;
    margin-bottom: 0;
    border-bottom: 1px solid #ded2bf;
    background: linear-gradient(to bottom, #fbf8f2 0%, #f6f0e6 100%);
}

.article-detail-headline-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.article-detail-headline-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid #d7c2a1;
    background: #efe2cb;
    color: #8b3a1c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.article-detail-lead {
    margin-top: 14px;
    color: #645b4f;
    font-size: 15px;
    line-height: 1.9;
}

.article-detail-content {
    padding: 16px 14px 24px;
    min-width: 0;
    box-sizing: border-box;
}

.article-content {
    font-size: 16px;
    color: #24211c;
    line-height: 1.95;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content table,
.article-content blockquote,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    margin-bottom: 18px;
}

.article-content h2,
.article-content h3 {
    margin-top: 30px;
    margin-left: 0;
    padding-left: 14px;
    border-left: 4px solid #c9975c;
    color: #1f1b16;
    line-height: 1.35;
    text-align: left;
}

.article-content ul,
.article-content ol {
    padding-left: 22px;
}

.article-content ul {
    list-style: disc;
}

.article-content ol {
    list-style: decimal;
}

.article-content a {
    color: #8b3a1c;
    text-decoration: underline;
}

.article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}

.article-content table th,
.article-content table td {
    border: 1px solid #cfc4b4;
    padding: 7px 10px;
    line-height: 1.5;
}

.article-content h2 + table,
.article-content h3 + table {
    display: table;
    width: 100%;
    max-width: none;
    min-width: 100%;
    table-layout: auto;
}

.article-content h2 + table th,
.article-content h2 + table td,
.article-content h3 + table th,
.article-content h3 + table td {
    white-space: nowrap;
    text-align: center;
}

.article-content h2 + table th:nth-child(1),
.article-content h2 + table td:nth-child(1),
.article-content h3 + table th:nth-child(1),
.article-content h3 + table td:nth-child(1) {
    width: 9%;
}

.article-content h2 + table th:nth-child(2),
.article-content h2 + table td:nth-child(2),
.article-content h3 + table th:nth-child(2),
.article-content h3 + table td:nth-child(2) {
    width: 18%;
}

.article-content h2 + table th:nth-child(3),
.article-content h2 + table td:nth-child(3),
.article-content h3 + table th:nth-child(3),
.article-content h3 + table td:nth-child(3),
.article-content h2 + table th:nth-child(4),
.article-content h2 + table td:nth-child(4),
.article-content h3 + table th:nth-child(4),
.article-content h3 + table td:nth-child(4),
.article-content h2 + table th:nth-child(5),
.article-content h2 + table td:nth-child(5),
.article-content h3 + table th:nth-child(5),
.article-content h3 + table td:nth-child(5) {
    width: 16%;
}

.article-content h2 + table th:nth-child(6),
.article-content h2 + table td:nth-child(6),
.article-content h3 + table th:nth-child(6),
.article-content h3 + table td:nth-child(6) {
    width: 25%;
}

.article-content .commercial-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.article-content .commercial-compare-card {
    min-width: 0;
    padding: 16px 8px 14px;
    overflow: hidden;
}

.article-content .commercial-compare-stats {
    padding: 10px 4px;
}

.article-content .commercial-compare-stat-item {
    padding: 0 6px;
}

.article-content .commercial-compare-stats strong {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.25;
}

.article-content .commercial-compare-stats span {
    font-size: 11px;
    line-height: 1.25;
}

.article-content .commercial-compare-fields > div {
    grid-template-columns: 68px minmax(0, 1fr) 38px;
    gap: 4px;
    align-items: start;
}

.article-content .commercial-compare-fields dt {
    font-size: 12px;
    line-height: 1.3;
}

.article-content .commercial-compare-fields dd {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: 11px;
    line-height: 1.25;
    padding: 4px 5px;
}

.article-content .commercial-compare-fields > div::after {
    font-size: 11px;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    align-self: center;
}

.article-content .commercial-compare-fields > div:nth-child(2)::after {
    font-size: 10px;
}

.article-content blockquote {
    padding: 14px 18px;
    border-left: 4px solid #9b7a53;
    background: #f2eadf;
    color: #62594d;
}

.commercial-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 26px;
}

.commercial-workbench,
.formula-sheet {
    margin-bottom: 24px;
}

.formula-sheet {
    border: 1px solid #c9bfaf;
    background: #f9f5ed;
    padding: 24px;
}

.calc-frame-single {
    grid-template-columns: minmax(0, 1fr) 340px;
}

.commercial-side .side-line {
    margin-bottom: 18px;
}

.stream-item {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 20px;
    border-top: 0;
}

.stream-date {
    color: #7a7063;
    font-weight: 700;
}

.stream-title {
    font-size: 26px;
    line-height: 1.25;
}

.stream-intro {
    margin-top: 10px;
    color: #5f594f;
}

.stream-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
    color: #7a7062;
    font-size: 13px;
}

.pager-line {
    margin-top: 18px;
    padding: 16px 18px;
}

.pagebar .page,
.pagebar a .page {
    display: inline-block;
    margin-right: 8px;
    padding: 8px 12px;
    border: 1px solid #bdb09d;
    background: #efe5d6;
}

.pagebar .now-page {
    background: #2e2a24;
    color: #fff;
}

#divCommentPost,
.msg {
    padding: 20px;
    margin-top: 20px;
}

.msgname {
    margin-bottom: 12px;
}

.msgarticle {
    color: #373228;
}

.postbottom,
.posttop small {
    color: #756b5f;
}

.site-footer {
    margin-top: 20px;
    padding: 22px 0;
    border-top: 3px double #b9ae9a;
    background: #e5dccd;
    color: #4d463d;
}

.footer-shell {
    padding-left: 36px;
    padding-right: 12px;
    box-sizing: border-box;
}

.footer-friend-links {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #c7baa5;
    color: #675f53;
    line-height: 1.8;
}

.footer-friend-links-label {
    flex: 0 0 auto;
    color: #4d463d;
    font-weight: 700;
}

.footer-friend-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    min-width: 0;
}

.footer-friend-links-list a {
    color: #675f53;
}

.footer-friend-links-list a:hover {
    color: #8b3a1c;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: #675f53;
    font-size: 13px;
    line-height: 1.7;
    min-height: 28px;
}

.footer-bottom-copy {
    min-width: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 12px;
    flex-wrap: wrap;
}

.footer-bottom-links a,
.footer-bottom-links span {
    color: #675f53;
}

.footer-bottom-links a:not(:last-child)::after,
.footer-bottom-links span:not(:last-child)::after {
    content: "|";
    margin-left: 12px;
    color: rgba(103, 95, 83, .65);
}

.footer-bottom-links a:hover {
    color: #8b3a1c;
}

@media screen and (max-width: 1100px) {
    .hero-grid,
    .calc-frame,
    .content-layout,
    .commercial-layout {
        grid-template-columns: 1fr;
    }

    .article-calc-frame {
        grid-template-columns: 1fr;
    }

    .article-followup-grid {
        grid-template-columns: 1fr;
    }

    .fangdai-region-letter-group {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    .calc-main {
        border-right: 0;
        border-bottom: 1px solid #c9bfaf;
    }

    .article-side-result {
        padding: 14px 12px 0;
    }

    .single-page .article-side-result #global-rate-info-wrap,
    .single-page .article-side-result .commercial-result-sidebar {
        margin-left: 0;
    }

    .tool-matrix-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stream-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .rate-reference-table-wrap {
        max-width: 100%;
    }

    .commercial-side #global-rate-info-wrap {
        width: 100%;
    }

    .calc-result.is-commercial-sidebar #global-rate-info-wrap {
        margin-left: 0;
    }

    .calc-result.is-commercial-sidebar .commercial-result-sidebar {
        margin-left: 0;
    }
}

@media screen and (max-width: 760px) {
    .generated-article-list-items {
        grid-template-columns: 1fr;
    }

    .generated-article-tab-list {
        margin-top: 12px;
        margin-bottom: 12px;
    }


    .container {
        max-width: calc(100% - 24px);
    }

    .fangdai-region-bar {
        margin: 0 0 14px;
        padding: 16px 14px;
    }

    .fangdai-region-bar-head {
        display: block;
    }

    .fangdai-region-bar-head span {
        display: block;
        margin-top: 4px;
    }

    .fangdai-region-initial-nav {
        gap: 8px;
    }

    .fangdai-region-letter-group {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 0;
    }

    .fangdai-region-letter-head {
        font-size: 18px;
    }

    .fangdai-region-city-list {
        gap: 6px 14px;
    }

    .nav-row,
    .result-toolbar {
        display: block;
    }

    .nav-row {
        padding: 10px 0;
    }

    .nav-brand {
        margin-bottom: 8px;
    }

    .hero-copy h1,
    .inner-banner h1 {
        font-size: 30px;
    }

    .article-detail-meta {
        gap: 6px 14px;
    }

    .article-detail-meta li:not(:last-child)::after {
        right: -8px;
    }

    .article-summary-strip {
        margin: 0 0 10px;
        padding: 2px 0 10px;
    }

    .article-main,
    .article-detail-headline,
    .article-detail-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .article-detail-banner .container {
        padding-left: 0;
        padding-right: 0;
    }

    .article-content-pane {
        margin: 0;
        padding: 16px 14px 18px;
    }

    .article-content .commercial-compare-grid {
        grid-template-columns: 1fr;
    }

    .article-side-result {
        padding: 0;
    }

    .main-nav {
        min-height: 0;
        gap: 0;
    }

    .main-nav a {
        min-height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }

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

    .footer-shell {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-friend-links {
        display: block;
    }

    .footer-friend-links-list {
        margin-top: 6px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 8px;
    }

    .site-floating-actions {
        right: 8px;
        top: auto;
        bottom: 14px;
        transform: none;
        display: none;
    }

    .site-floating-actions-inner {
        width: 92px;
    }

    .site-floating-card-image img {
        width: 66px;
        height: 66px;
    }

    .site-floating-card-tip,
    .site-floating-card-contact span,
    .site-floating-back-top span {
        font-size: 10px;
    }

    .site-floating-back-top {
        padding: 9px 6px;
    }

    .site-floating-back-top strong {
        font-size: 11px;
    }

    .calc-tab {
        width: 50%;
        box-sizing: border-box;
    }

    .commercial-form-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .commercial-form-actions {
        padding-left: 0;
    }

    .commercial-option-group,
    .commercial-term-body {
        flex-wrap: wrap;
    }
}
