/* YE·BLOG visual alignment, BSE IPO Helper v1.2.
   UI-only layer: no calculation, data-source, Docker or API changes.
   Inspired by user's own YE·BLOG v1.1.13 screenshot; not the theme's proprietary stylesheet. */
:root{
  --ye-paper:#fbf8f6;
  --ye-paper-deep:#f6f0ed;
  --ye-surface:#fffdfb;
  --ye-ink:#24201f;
  --ye-text:#514b49;
  --ye-muted:#948b88;
  --ye-blush:#ee716f;
  --ye-red:#e96169;
  --ye-pink:#ffe4e1;
  --ye-stroke:#eadad6;
  --ye-rule:#f1dedb;
  --ye-shadow:0 20px 52px rgba(83,54,51,.07);
  font-family:"Helvetica Neue",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--ye-ink);
  background:var(--ye-paper);
  font-synthesis:none;
}
body{background:var(--ye-paper);color:var(--ye-ink)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--ye-red);outline-offset:3px}
.site{background:var(--ye-paper)}
.shell{max-width:1180px;padding:0 30px}
/* Thin top line, discreet wordmark and restrained navigation echo YE·BLOG. */
.topbar{height:79px;background:rgba(251,248,246,.98);color:var(--ye-ink);border-bottom:1px solid #f0c8c6}
.nav-shell{gap:18px}
.masthead{display:flex;align-items:center;gap:24px;min-width:0}
.blog-identity{white-space:nowrap;display:flex;align-items:center;gap:11px;color:#888080;letter-spacing:.33em;font-size:11px;font-weight:600;transition:color .2s}
.blog-identity:hover{color:var(--ye-red)}
.blog-mark{font-size:23px;color:var(--ye-blush);letter-spacing:0;line-height:1;transform:rotate(-22deg);display:inline-block}
.masthead-separator{height:27px;width:1px;background:var(--ye-stroke)}
.brand{gap:10px;min-width:0}
.brand-icon{height:32px;width:32px;border-radius:50%;border:1px solid #e9b7b5;background:linear-gradient(145deg,#fff6f2,#ffe7e4);color:#cf7475;font-size:16px;font-family:Georgia,serif;font-weight:600}
.brand strong{color:#403a38;font-size:13px;letter-spacing:.09em;white-space:nowrap}
.brand span{color:#aaa09c;font-size:9px;letter-spacing:.06em}
.top-actions{gap:16px}
.back-to-blog{color:#79716d;font-size:11px;letter-spacing:.08em;white-space:nowrap}
.back-to-blog:hover{color:var(--ye-red)}
.back-to-blog span{margin-left:4px;color:var(--ye-blush)}
.status-pill{color:#897e7c;font-size:11px;white-space:nowrap}
.pulse{background:#e8ad76;box-shadow:0 0 0 3px rgba(232,173,118,.12)}
.status-pill.live .pulse{background:#86b79f;box-shadow:0 0 0 3px rgba(134,183,159,.12)}
.header-button{border:1px solid #efc9c7;background:transparent;color:#ce7574;border-radius:24px;padding:10px 15px;letter-spacing:.04em}
.header-button:hover{background:#ffefed}
.header-button:disabled,.subtle-button:disabled{opacity:.55;cursor:wait}
/* Editorial cover rather than trading-terminal hero */
.welcome{
  position:relative;
  margin-top:30px;
  padding:58px 58px 0;
  overflow:hidden;
  color:var(--ye-ink);
  border:1px solid #f0d9d5;
  border-radius:23px;
  background:radial-gradient(ellipse at 96% 6%,rgba(254,219,207,.45),transparent 49%),
             radial-gradient(ellipse at 4% 100%,rgba(249,230,230,.65),transparent 37%),
             linear-gradient(120deg,#fffbf8 0%,#faf4f2 80%);
  box-shadow:var(--ye-shadow);
}
.welcome:before{content:"";position:absolute;top:18px;left:18px;right:18px;bottom:18px;border:1px solid rgba(237,196,190,.4);border-radius:12px;pointer-events:none}
.welcome-grid{grid-template-columns:1.16fr .84fr;gap:50px;min-height:292px}
.welcome-left{padding:9px 0 48px;position:relative;z-index:1}
.eyebrow{color:#a08b87;font-size:10px;letter-spacing:.27em;font-weight:600;gap:11px}
.star{color:#e9817f;font-size:19px}
.eyebrow-rule{background:#e7bcb6;width:32px}
.welcome h1{font-size:37px;line-height:1.46;font-weight:620;letter-spacing:.045em;margin:26px 0 15px}
.welcome h1 em{color:#d96c6d;background:none;-webkit-text-fill-color:currentColor;font-weight:500}
.welcome p{color:#89807c;font-size:12px;line-height:2.1}
.hero-buttons{margin-top:32px;gap:12px}
.primary-button,.ghost-button{font-size:12px;border-radius:7px;padding:13px 18px;letter-spacing:.06em;transition:transform .18s,background .18s,box-shadow .18s}
.primary-button{background:#252321;color:#fff;box-shadow:none}
.primary-button:hover{filter:none;background:#453936;transform:translateY(-2px)}
.ghost-button{color:#5f5550;background:transparent;border:1px solid #dccac5}
.ghost-button:hover{background:#fff6f3;transform:translateY(-2px)}
.hero-panel{height:230px;align-self:center;padding:25px 25px;background:#fffdfb;border:1px solid #e9c9c4;border-radius:12px;box-shadow:5px 6px 0 #f4e4e1,0 18px 35px rgba(136,86,77,.1);transform:rotate(1.5deg)}
.hero-panel:before{content:"";height:1px;background:#f0e1df;position:absolute;top:63px;left:24px;right:24px}
.hero-panel-label{display:flex;justify-content:space-between;color:#ad8b86;letter-spacing:.14em;font-size:10px}
.hero-panel-label span{font-size:9px;color:#b9a8a4}
.hero-numbers{margin-top:36px;gap:12px;flex-wrap:wrap}
.big-num{color:#2b2524;font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:600;letter-spacing:.015em}
.up-chip{color:#be6665;background:#fff0ef;border:1px solid #f7d5d1;border-radius:2px}
.mini-bars{right:24px;bottom:40px;width:44%;height:61px;opacity:1;gap:7px}
.mini-bars i{background:linear-gradient(0deg,#ffe4df,#ed9690);border-radius:1px 1px 0 0}
.hero-panel-bottom{color:#b2a19d;bottom:16px;left:25px;right:25px}
.hero-foot{position:relative;z-index:1;border-top:1px solid #eedbd7;color:#978986;font-size:10px;letter-spacing:.08em;padding:20px 0;gap:30px}
/* Data status: quiet but never hide data provenance. */
.info-banner{margin:24px 0 21px;border-radius:10px;border:1px solid #efdfd3;background:#fff9f0;padding:16px 19px}
.banner-icon{color:#bf8a60}
.info-banner strong{color:#715d51}
.info-banner p{color:#948174}
.banner-action{background:#fffdfb;border-color:#efd8ca;color:#9f7764;border-radius:6px}
.banner-action:hover{background:#fff1e5}
/* Sections and cards retain all data readability */
.tabs{border-bottom:1px solid #eadbd7;gap:40px;margin-bottom:30px}
.tab{color:#a39995;font-size:12px;letter-spacing:.13em;font-weight:500}
.tab.active{color:#d96569}
.tab.active:after{background:#ed7578;height:2px;border-radius:2px}
.section-title-row{margin:27px 0 19px}
.section-title-row h2{font-weight:650;color:#2f2928;letter-spacing:.06em;font-size:23px}
.section-title-row p{color:#a29a95;font-size:11px}
.kicker{color:#d08380;letter-spacing:.3em;font-size:9px;font-weight:650}
.subtle-button{border:1px solid #edc8c6;color:#cf7373;background:#fff9f7;border-radius:7px;font-size:11px;letter-spacing:.03em}
.subtle-button:hover{background:#fff0ed}
.issue-card,.metric,.card{background:var(--ye-surface);border:1px solid #eee1dd;box-shadow:0 5px 22px rgba(83,54,51,.035)}
.issue-card{border-radius:11px;transition:transform .19s,border-color .19s,box-shadow .19s}
.issue-card:hover{transform:translateY(-3px);border-color:#e9b6b3;box-shadow:0 15px 28px rgba(125,84,78,.08)}
.issue-card.selected{border-color:#e68583;box-shadow:0 0 0 3px #f5c7c31f,0 8px 24px rgba(161,97,92,.08)}
.issue-code{color:#a99996}
.issue-name{color:#282421}
.issue-tag{background:#f7f1ef;color:#9a8279;border-color:#eadad6}
.issue-tag.upcoming{background:#fff0e5;color:#a47659}
.issue-tag.today{background:#fff0f0;color:#d5696f}
.issue-tag.demo{background:#f8f0ec;color:#a28a80}
.issue-bottom{border-color:#f1e7e3}
.issue-bottom div span,.metric span{color:#9e928d}
.issue-bottom div strong,.metric strong{color:#332d2b}
.metric{border-radius:11px}
.metric em{color:#a59a96}
.notice-line{color:#a09692}
.notice-line a,.bottom-note a{color:#d56f6d}
.small-label{background:#fff0ec;color:#be7872;border:1px solid #f1d8d3;border-radius:4px;font-weight:500}
.card{border-radius:12px}
.card-head h3{color:#3d3431;font-weight:650;letter-spacing:.035em}
.card-head p{color:#a39792}
.outline-chip,.badge-purple{background:#fff6f3;color:#b27975;border:1px solid #ecd7d2;border-radius:4px}
.detail-entry span{color:#9c8c86}
.detail-entry strong{color:#403430}
.card-footer{border-color:#f2e7e3;color:#9d766f}
.inline-button{color:#c77370}
/* Inputs and allocations */
.form-row label{color:#645651}
.form-unit,.hint{color:#a59995}
.input-wrap input,.form-row select{background:#fffdfa;border:1px solid #e7d9d4;border-radius:7px;color:#38302e}
.input-wrap input:focus,.form-row select:focus{border-color:#e18883;box-shadow:0 0 0 3px #f7e0dc}
.input-wrap>span{color:#a79b97}
.quick-options button,.scenario-list button{background:#f8f2f0;color:#847774;border:1px solid #f1e6e2;border-radius:5px}
.quick-options button.chosen,.scenario-list button.chosen{background:#fff0ee;color:#c56f6b;border-color:#e8ada9}
.scenario-list small{color:#ab9490}
.param-foot{border-color:#efe1dd;color:#a09591}
.result-top{border:1px solid #e6c8c2;background:linear-gradient(137deg,#fffdfa,#fff0ed);color:#302724;box-shadow:0 7px 24px #8c5d5510}
.result-top:after{border-color:#f2ded6;opacity:.35}
.result-top-header{color:#947d78}
.result-status{color:#b4716b;border:1px solid #efd1cc}
.result-label{color:#957d76}
.result-prominent strong{font-family:Georgia,"Times New Roman",serif;color:#ce6a68;font-weight:600}
.result-unit,.result-prominent p{color:#957d77}
.result-stats{border-color:#ead5d0}
.result-stats span{color:#a38b83}
.result-stats strong{color:#4b3934}
.result-alert{background:#fff9ed;border-color:#efe1c9;color:#977955}
.threshold-index{background:#fff0ed;color:#bb706b}
.threshold-val strong{color:#c66c6a}
.threshold-val small{color:#a58b7d}
.threshold-row{border-color:#f1e7e3}
.data-table th{background:#fbf6f4;color:#978480;letter-spacing:.04em}
.data-table td{border-color:#f0e4e0;color:#61544e}
.data-table td b{color:#38312e}
.table-accent{color:#cb726d!important}
.bottom-note{background:#f7efeb;color:#8f8079;border:1px solid #eadcd6}
.bottom-note b{color:#786862}
.guide-step{border-color:#f1e7e3}
.guide-step>span{color:#cd928b}
.guide-step p{color:#938881}
.footer{border-top:1px solid #e9d8d4;color:#aa9d98;padding-top:27px}
.footer strong{color:#827570}
.footer a{color:#ce7a75}
.toast{background:#382d2b;box-shadow:0 8px 30px rgba(50,38,35,.15)}
.empty{color:#9f938c}
.negative{color:#bb6262!important}
@media(max-width:1050px){.masthead{gap:16px}.blog-identity{letter-spacing:.18em}.back-to-blog{display:none}.welcome-grid{gap:25px}}
@media(max-width:750px){
 .shell{padding:0 16px}
 .topbar{height:63px}
 .nav-shell{gap:10px}
 .masthead{gap:10px;flex:1;min-width:0}
 .blog-identity{font-size:9px;letter-spacing:.08em;gap:5px}
 .blog-mark{font-size:16px}
 .masthead-separator{height:23px}
 .brand{gap:7px}
 .brand-icon{display:none}
 .brand strong{font-size:11px;letter-spacing:0}
 .brand span{font-size:8px;letter-spacing:0}
 .status-pill{font-size:9px;gap:5px}
 .header-button{border-radius:50%;width:36px;height:36px;display:grid;place-items:center;padding:0;line-height:1;font-size:18px}
 .top-actions{gap:8px}
 .welcome{margin-top:13px;border-radius:12px;padding:31px 25px 0}
 .welcome:before{top:9px;left:9px;right:9px;bottom:9px;border-radius:7px}
 .welcome-grid{min-height:unset;gap:0}
 .welcome-left{padding:0 0 25px}
 .eyebrow{font-size:8px;letter-spacing:.12em;gap:7px}
 .welcome h1{font-size:27px;line-height:1.45;margin:20px 0 12px;letter-spacing:.02em}
 .welcome p{font-size:11px;line-height:1.9}
 .hero-buttons{margin-top:21px;gap:8px;flex-wrap:wrap}
 .primary-button,.ghost-button{padding:12px 14px;gap:14px;font-size:11px}
 .hero-foot{padding:13px 0;gap:7px;font-size:8px;letter-spacing:0}
 .info-banner{margin:15px 0 6px;padding:12px 11px;gap:10px}
 .section-title-row{margin:25px 0 12px}
 .section-title-row h2{font-size:20px}
 .section-title-row p{font-size:10px}
 .issue-card{padding:16px}
 .issue-name{font-size:18px}
 .metric{border-radius:9px}
 .detail-grid{gap:18px 9px}
 .result-top{min-height:230px;border-radius:11px;padding:21px}
 .result-prominent strong{font-size:42px}
 .result-stats{gap:4px}
 .bottom-nav{background:#fffaf8;border-top:1px solid #ead8d3;box-shadow:0 -5px 18px #6b40330d}
 .bottom-nav button{color:#a79b96}
 .bottom-nav button.active{color:#ce7471}
}
@media(max-width:380px){.status-pill{max-width:70px;font-size:8px}.blog-identity{font-size:8px}.brand strong{font-size:10px}.welcome h1{font-size:25px}.hero-foot span{white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.issue-card:hover,.primary-button:hover,.ghost-button:hover{transform:none}}

/* V1.3: 退款日期和资金占用天数全自动展示，不允许客户手动改天数。 */
.funding-schedule { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); gap:10px; align-items:stretch; padding:13px; border:1px solid #ecd9d3; border-radius:10px; background:#fff9f6; }
.funding-date {min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px;}
.funding-date span,.funding-days span{font-size:11px;color:#998682;}
.funding-date strong{font-size:14px;white-space:nowrap;color:#49342f;letter-spacing:.1px;}
.funding-arrow{align-self:center;color:#db8e81;font-weight:700;font-size:20px;}
.funding-days{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;padding-top:12px;border-top:1px dashed #eddad3;}
.funding-days strong{font-size:13px;color:#9e514d;}
.funding-days em{font-size:29px;font-style:normal;font-variant-numeric:tabular-nums;line-height:1;}
.funding-schedule-row .hint{line-height:1.85;margin-top:10px;}
@media (max-width:380px){.funding-schedule{gap:6px;padding:10px}.funding-date strong{font-size:12px}.funding-date span{font-size:10px}}

/* V1.4 · market-wide funding simulator. No individual account capital inputs. */
.market-forecast{padding:17px 17px 14px;border:1px solid #ecd5cf;background:linear-gradient(140deg,#fff8f6,#fffdfa);border-radius:9px}
.market-forecast strong{font:600 30px/1.1 Georgia,'Times New Roman',serif;color:#cd7772;letter-spacing:.02em}
.market-forecast>span{font-size:12px;margin-left:8px;color:#9e827d}
.market-forecast p{font-size:10px;margin:8px 0 0;line-height:1.7;color:#9b8985}
.scenario-list{flex-wrap:wrap}
.scenario-list button{min-width:0;flex:1 1 calc(25% - 8px);white-space:normal}
.result-top{min-height:223px}
.result-prominent strong{font-size:40px}
.result-prominent p{margin-bottom:18px}
.result-stats strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.scenario-table{min-width:770px}
.scenario-table td{white-space:nowrap}
.scenario-table .current-scenario td{background:#fff4f1}
.cap-warning{display:block;font-size:10px;color:#bd6e61;line-height:1.5;margin-top:3px}
.yield-formula{font-size:11px;color:#9c8d86;line-height:1.8;margin:8px 22px 20px;padding-top:12px;border-top:1px solid #eee1dc}
.yield-table{min-width:420px}
@media(max-width:750px){.scenario-list button{flex:1 1 calc(50% - 7px)}.market-forecast strong{font-size:26px}.result-prominent strong{font-size:36px}.yield-formula{margin:8px 16px 16px}}

.table-swipe-hint{display:none;margin:-5px 18px 12px;text-align:right;color:#b69b92;font-size:10px}
@media(max-width:750px){.table-swipe-hint{display:block}}

/* V1.5 · consolidate scenario comparisons into the right-hand calculation panel. */
.calc-layout{grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);gap:20px;align-items:start}
.calc-results{display:flex;flex-direction:column;gap:16px;min-width:0}
.merged-calculation{overflow:hidden;min-width:0;border-color:#eadbd6}
.merged-calculation .result-top{min-height:0;margin:0;border:0;border-radius:0;box-shadow:none;padding:22px 24px 18px}
.merged-calculation .result-prominent p{margin-bottom:16px}
.merged-calculation .result-stats{padding-top:14px}
.merged-content{padding-bottom:13px}
.merged-head{padding:19px 20px 12px}
.merged-head h3{font-size:14px;color:#352e2b}
.merged-head p{font-size:10px}
.merged-scenario-pills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 20px 12px}
.merged-scenario-pills button{padding:9px 4px;min-width:0;white-space:normal;text-align:center;font-size:11px;line-height:1.4}
.merged-scenario-pills button small{display:block;font-size:9px;white-space:normal}
.merged-alert{margin:0 20px 12px;font-size:10px;line-height:1.8;border-radius:8px;padding:10px 12px}
.scenario-board{margin:0 20px;display:grid;gap:9px}
.scenario-comparison-row{display:block;text-align:left;width:100%;border:1px solid #ebdfda;border-radius:10px;background:#fffdfa;color:#514640;padding:12px 14px;transition:border-color .18s,background .18s,box-shadow .18s}
.scenario-comparison-row:hover,.scenario-comparison-row:focus-visible{border-color:#e6a49e;background:#fffaf9}
.scenario-comparison-row.is-active{background:#fff3f1;border-color:#e9aaa3;box-shadow:0 0 0 1px #f6d8d2}
.scenario-comparison-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:9px;border-bottom:1px solid #f2e9e5}
.scenario-comparison-title{display:grid;gap:2px;flex:1;min-width:0}
.scenario-comparison-title b{color:#3b3230;font-size:12px;letter-spacing:.02em}
.scenario-comparison-title small{font-size:10px;color:#9c8984;overflow-wrap:anywhere}
.scenario-comparison-rate{display:grid;gap:3px;text-align:right;flex-shrink:0}
.scenario-comparison-rate small{font-size:9px;color:#a28d85}
.scenario-comparison-rate strong{font:600 17px/1.1 Georgia,'Times New Roman',serif;color:#c16d68}
.scenario-comparison-arrow{font-size:12px;color:#c79088;opacity:.5}
.scenario-comparison-row.is-active .scenario-comparison-arrow{opacity:1}
.scenario-comparison-thresholds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px;gap:8px}
.scenario-target{display:flex;flex-direction:column;gap:5px;min-width:0;border-right:1px solid #f0e3dd;padding-right:7px}
.scenario-target:last-child{border-right:none;padding-right:0}
.scenario-target>small{font-size:9px;color:#9b8781}
.scenario-target>strong{font-size:12px;color:#43322e;font-weight:700;white-space:nowrap;letter-spacing:-.025em}
.scenario-target>strong i{font-style:normal;font-weight:400;font-size:9px;color:#9b8c86}
.scenario-target .cap-warning{font-size:9px;margin:0}
.merged-footnote{font-size:10px;line-height:1.8;color:#9e8983;padding:12px 20px 0}
.calc-results>.yield-card{margin-top:0;min-width:0;border-color:#eadbd6}
.calc-results .yield-table{min-width:0}
.calc-results .yield-table th,.calc-results .yield-table td{padding:11px 9px;font-size:10px}
.calc-results .yield-table th:first-child,.calc-results .yield-table td:first-child{white-space:nowrap}
.calc-results .table-scroll{margin:0 18px 12px}
.calc-results .yield-formula{margin:8px 18px 18px}
@media (max-width:900px){
  .calc-layout{grid-template-columns:1fr;gap:13px}
  .calc-results{gap:13px}
}
@media (max-width:750px){
  .merged-calculation .result-top{padding:20px}
  .merged-head{padding:18px 16px 12px}
  .merged-scenario-pills{margin:0 16px 12px;gap:6px}
  .merged-scenario-pills button{min-width:0;flex:auto;padding:9px 3px}
  .merged-alert{margin:0 16px 12px}
  .scenario-board{margin:0 16px}
  .scenario-comparison-row{padding:12px 10px}
  .scenario-comparison-thresholds{gap:6px}
  .scenario-target>strong{font-size:11px}
  .merged-footnote{padding:11px 16px 0}
  .calc-results .yield-table{min-width:420px}
}
@media (max-width:375px){
  .scenario-comparison-rate strong{font-size:15px}
  .scenario-target>strong{font-size:10px}
  .merged-scenario-pills button{font-size:10px}
}

/* V1.5.1: restore the mobile hero column after this theme overrides base CSS. */
@media (max-width:750px){
  .welcome-grid{grid-template-columns:minmax(0,1fr)}
}

/* V1.6: a single selected scenario, with funding dates and yield together. */
body[data-view="calculator"] .welcome{display:none}
body[data-view="calculator"] .topbar{height:62px}
body[data-view="calculator"] .info-banner{margin:14px 0 4px;padding:9px 13px;gap:10px}
body[data-view="calculator"] .info-banner>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
body[data-view="calculator"] .info-banner p{margin:0;font-size:10px}
body[data-view="calculator"] .info-banner strong{font-size:11px}
body[data-view="calculator"] .banner-icon{font-size:18px}
body[data-view="calculator"] .banner-action{padding:5px 9px}
body[data-view="calculator"] .tabs{margin-bottom:0;gap:28px}
body[data-view="calculator"] .tab{padding:10px 5px 11px;font-size:11px}
.compact-page-title{margin:16px 0 13px;align-items:center}
.compact-page-title .kicker{display:none}
.compact-page-title h2{font-size:21px;margin:0;display:flex;align-items:center;gap:16px}
.compact-page-title h2>span{font-size:11px;color:#9c8b86;letter-spacing:0;font-weight:400}
.compact-layout{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:18px;align-items:stretch}
.compact-layout>.card{min-width:0;margin:0}
.compact-layout .card-head{padding:17px 20px 12px;min-height:61px}
.compact-layout .card-head h3{font-size:14px;margin-bottom:5px}
.compact-layout .card-head p{font-size:10px}
.compact-layout .calc-form{display:flex;flex-direction:column;padding-bottom:0}
.compact-layout .form-row{margin:0 20px 13px}
.compact-layout .form-row label{font-size:11px;margin-bottom:7px}
.compact-layout .form-unit{font-size:9px;margin-bottom:7px}
.compact-layout .form-row select,.compact-layout .input-wrap input{height:38px;font-size:13px}
.compact-layout .input-wrap>span{top:12px;font-size:10px}
.issue-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:11px;padding-bottom:2px}
.issue-summary>div{display:flex;justify-content:space-between;align-items:center;gap:6px}
.issue-summary span{font-size:10px;color:#9a8982}
.issue-summary strong{font-size:12px;font-variant-numeric:tabular-nums;color:#53413b}
.compact-layout .market-forecast{padding:13px 14px 11px}
.compact-layout .market-forecast strong{font-size:27px}
.compact-layout .market-forecast p{font-size:9px;line-height:1.65;min-height:30px}
.compact-layout .hint{font-size:9px;line-height:1.65;min-height:30px;margin-top:7px}
.compact-layout .param-foot{margin:auto 20px 0;padding:14px 0 16px;display:flex;align-items:flex-start;gap:10px}
.compact-layout .param-foot b{font-size:10px;color:#876a61;font-weight:500}
.compact-layout .param-foot p{font-size:9px;margin:3px 0 0;line-height:1.7;color:#a08e87}
.small-step{color:#cd8a7e;font-size:18px}
.compact-results{display:flex;flex-direction:column;overflow:hidden}
.compact-results .result-status{font-size:9px;padding:4px 7px;border-radius:4px;white-space:nowrap}
.compact-scenario-pills{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 20px 12px;padding:4px;border:1px solid #eee1db;background:#faf5f2;border-radius:8px}
.compact-scenario-pills button{border:1px solid transparent;background:transparent;border-radius:5px;padding:6px 3px;line-height:1.2;font-size:11px;gap:4px}
.compact-scenario-pills button small{font-size:8px;color:#a98b81}
.compact-scenario-pills button.chosen{background:#fffdfa;border-color:#ebc0b6;box-shadow:0 2px 6px #8a4f4010;color:#c16d65}
.current-scenario-summary{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 22px}
.ratio-summary{display:flex;flex-direction:column;gap:3px}
.ratio-summary>span{font-size:10px;color:#a18b82}
.ratio-summary>strong{font:600 33px/1.3 Georgia,'Times New Roman',serif;letter-spacing:.01em;color:#cf7771;font-variant-numeric:tabular-nums}
.current-market-summary{display:grid;gap:4px;text-align:right;min-width:0}
.current-market-summary>span{font-size:10px;color:#9d857d}
.current-market-summary>strong{font-size:14px;color:#4f3a32;font-variant-numeric:tabular-nums}
.current-market-summary>small{font-size:9px;color:#a99790}
.compact-basis{margin:4px 22px 11px;font-size:9px;line-height:1.6;color:#a9958d;min-height:15px}
.current-thresholds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 20px}
.threshold-tile{border:1px solid #eee0da;border-radius:8px;padding:10px 12px 9px;background:#fffcfa;min-width:0;display:grid;gap:6px}
.threshold-tile>span{font-size:10px;color:#9a847a}
.threshold-tile>strong{font-size:18px;line-height:1.2;color:#584137;font-variant-numeric:tabular-nums;white-space:nowrap}
.threshold-tile>strong small{font-size:10px;font-weight:400;color:#aa9287}
.threshold-tile>em{font-size:9px;line-height:1.4;font-style:normal;min-height:13px;color:#ad9589}
.threshold-tile.over-cap>em{color:#bd7967}
.compact-caveat{font-size:9px;color:#a28b80;line-height:1.5;margin:7px 21px 12px;min-height:14px}
.funding-yield{border-top:1px solid #efded7;padding:13px 20px 14px;margin-top:auto;background:linear-gradient(120deg,#fffcf9,#fff5f1)}
.funding-yield-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
.funding-yield-heading h3{font-size:12px;font-weight:600;color:#74554b;margin:0}
.funding-yield-heading>span{font-size:9px;color:#b1998b}
.compact-schedule{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) minmax(0,.75fr);padding:0 0 11px;border:0;border-bottom:1px dashed #edd8cd;border-radius:0;background:none;gap:12px}
.compact-schedule .funding-date{gap:5px}
.compact-schedule .funding-date span,.compact-schedule .funding-days>span{font-size:9px;color:#aa9183}
.compact-schedule .funding-date strong{font-size:12px;letter-spacing:0}
.compact-schedule .funding-arrow{font-size:16px}
.compact-schedule .funding-days{grid-column:auto;display:flex;flex-direction:column;gap:3px;padding:0 0 0 16px;border-top:0;border-left:1px solid #ead5ca;justify-content:center}
.compact-schedule .funding-days strong{font-size:10px;line-height:1}
.compact-schedule .funding-days em{font-size:25px}
.current-yields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:11px}
.yield-tile{display:grid;gap:5px;padding-left:12px;border-left:1px solid #eed7ca;min-width:0}
.yield-tile:first-child{padding-left:0;border:0}
.yield-tile>span{font-size:9px;color:#a38474;white-space:nowrap}
.yield-tile>strong{font:600 23px/1.15 Georgia,'Times New Roman',serif;color:#cb7869;font-variant-numeric:tabular-nums}
.yield-tile>small{font-size:8px;line-height:1.4;min-height:12px;color:#b19687}
.compact-yield-note{margin-top:9px;font-size:8px;color:#af9788;line-height:1.5}
.calculation-notes{margin-top:12px}
.calculation-notes>summary{cursor:pointer;color:#968279;font-size:10px;line-height:1.7}
.calculation-notes>summary span{color:#b3a097;margin-left:12px;font-size:9px}
.calculation-notes .bottom-note{margin-top:8px;padding:10px 14px;font-size:10px}
.calculation-notes .bottom-note p{margin:3px 0}
body[data-view="calculator"] .footer{margin:15px 0 14px;padding-top:10px}
body[data-view="calculator"] .footer>div,body[data-view="calculator"] .footer>p:first-of-type{display:none}
body[data-view="calculator"] .footer>p{margin:0;font-size:9px}
@media (max-width:1050px){
 .compact-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:13px}
 .compact-layout .card-head{padding-left:16px;padding-right:16px}
 .compact-layout .form-row{margin-left:16px;margin-right:16px}
 .compact-layout .param-foot{margin-left:16px;margin-right:16px}
 .compact-scenario-pills,.current-thresholds{margin-left:16px;margin-right:16px}
 .threshold-tile{padding:9px}
 .threshold-tile>strong{font-size:15px}
 .funding-yield{padding-left:16px;padding-right:16px}
 .compact-schedule{gap:8px}
 .compact-schedule .funding-days{padding-left:10px}
}
@media (max-width:900px){
 .compact-layout{grid-template-columns:1fr;gap:13px}
 .compact-layout .calc-form{display:block}
 .compact-layout .param-foot{margin-top:0;padding-top:10px;padding-bottom:13px}
 .compact-results .card-head{padding-top:16px}
 .threshold-tile>strong{font-size:20px}
 .compact-page-title h2>span{display:none}
}
@media (max-width:750px){
 body[data-view="calculator"] .info-banner>div{display:block}
 body[data-view="calculator"] .info-banner{margin-top:10px;padding:9px 11px}
 body[data-view="calculator"] .info-banner p{font-size:9px;line-height:1.6;margin-top:3px}
 .compact-page-title{margin:18px 0 12px}
 .compact-page-title h2{font-size:20px}
 .compact-page-title .small-label{font-size:9px;max-width:45%;overflow-wrap:anywhere}
 .compact-layout .card-head{padding:16px 16px 11px}
 .compact-layout .form-row{margin:0 16px 12px}
 .issue-summary{margin-top:10px}
 .compact-layout .market-forecast p{min-height:0}
 .compact-layout .hint{min-height:30px}
 .compact-layout .param-foot{padding-bottom:13px}
 .compact-scenario-pills{margin-bottom:12px}
 .current-scenario-summary{margin-left:17px;margin-right:17px;gap:10px}
 .ratio-summary>strong{font-size:28px}
 .current-market-summary>strong{font-size:12px}
 .compact-basis{margin-left:17px;margin-right:17px;font-size:8px;min-height:26px}
 .current-thresholds{gap:6px}
 .threshold-tile{padding:9px 7px;gap:7px}
 .threshold-tile>span{font-size:9px}
 .threshold-tile>strong{font-size:14px}
 .threshold-tile>strong small{font-size:8px}
 .threshold-tile>em{font-size:8px;min-height:23px}
 .compact-caveat{margin:7px 17px 12px;font-size:8px}
 .funding-yield{padding:14px 16px 15px}
 .compact-schedule{gap:7px}
 .compact-schedule .funding-date strong{font-size:11px}
 .compact-schedule .funding-date span{font-size:8px}
 .compact-schedule .funding-days{padding-left:8px}
 .compact-schedule .funding-days>span{font-size:8px}
 .compact-schedule .funding-days em{font-size:23px}
 .current-yields{gap:6px}
 .yield-tile{padding-left:8px;gap:6px}
 .yield-tile>span{font-size:8px}
 .yield-tile>strong{font-size:21px}
 .yield-tile>small{min-height:23px;font-size:8px}
 .calculation-notes>summary{font-size:9px}
 .calculation-notes>summary span{display:block;margin-left:13px;font-size:8px}
 body[data-view="calculator"] .footer{padding-bottom:78px;margin-top:14px}
}
@media (max-width:360px){
 .compact-layout .card-head h3{font-size:13px}
 .compact-layout .card-head p{font-size:9px}
 .threshold-tile>strong{font-size:12px}
 .current-market-summary>strong{font-size:11px}
 .compact-schedule .funding-date strong{font-size:10px}
 .compact-schedule{gap:5px}
 .yield-tile>strong{font-size:19px}
}
/* Keep the working area within a common laptop viewport without clipping content. */
body[data-view="calculator"] .info-banner{margin:10px 0 2px;padding-top:6px;padding-bottom:6px}
.compact-page-title{margin-top:12px;margin-bottom:11px}
.compact-results>.card-head{min-height:48px;padding-top:15px;padding-bottom:10px;align-items:center}
.compact-results>.card-head p,.compact-basis,.compact-yield-note{display:none}
.compact-results>.card-head h3{margin:0}
@media (max-width:750px){
 .compact-page-title{margin-top:17px;margin-bottom:12px}
 .threshold-tile>strong{min-height:31px;white-space:normal;overflow-wrap:anywhere}
 .threshold-tile>strong small{display:block;margin-top:3px}
}
.compact-layout .calc-form>.card-head{padding-top:14px;padding-bottom:10px}
.compact-layout .param-foot{padding-top:10px;padding-bottom:12px}
.compact-layout .market-forecast p{min-height:26px}
.calculation-notes{margin-top:10px}
body[data-view="calculator"] .footer{margin-top:10px;margin-bottom:10px}
@media (max-width:750px){.compact-layout .market-forecast p{min-height:0}body[data-view="calculator"] .footer{padding-bottom:78px}}

/* V1.7: calculator homepage with optional data disclosures and published results. */
[hidden]{display:none!important}
.single-page .compact-page-title{margin:17px 0 13px}
.single-page .compact-page-title h1{font-size:21px;line-height:1.4;margin:0;display:flex;align-items:center;gap:16px;color:#332a26}
.single-page .compact-page-title h1>span{font-size:11px;font-weight:400;color:#a08a80;letter-spacing:0}
.library-shortcut{cursor:pointer;padding:7px 11px;font-size:10px}
.library-shortcut b{font-size:11px;font-weight:600;margin:0 3px}
.share-button{font-size:10px;white-space:nowrap;padding:2px 0 2px 7px}
.single-page .compact-results>.card-head{min-height:48px}
.single-page .calc-form>.card-head{min-height:60px}
.single-page .form-row select{max-width:100%}
.single-page .param-foot{line-height:1.7}
.single-page .param-foot p{min-height:31px}
.single-page .footer{padding-bottom:0!important}
.single-page .footer>p:first-of-type{display:block!important}
.single-page .footer>p{font-size:9px}
.published-inputs{margin:0 20px 14px}
.published-callout{display:flex;align-items:flex-start;gap:10px;background:#f4f7f2;border:1px solid #e1e9dc;border-radius:9px;padding:14px}
.published-dot{width:7px;height:7px;border-radius:50%;background:#91ac8b;flex-shrink:0;margin-top:5px}
.published-callout strong{font-size:12px;color:#6e8262;font-weight:600}
.published-callout p{font-size:10px;color:#91a08a;line-height:1.8;margin:5px 0 0}
.published-issue-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;margin:21px 2px 6px}
.published-issue-facts>div{display:grid;gap:6px;min-width:0}
.published-issue-facts span{font-size:10px;color:#a18b80}
.published-issue-facts strong{font-size:12px;font-weight:500;color:#5f4c41;overflow-wrap:anywhere}
.published-content{padding:0 22px 18px}
.published-total{background:linear-gradient(130deg,#fff8f3,#fbf7f0);border:1px solid #eddfd1;border-radius:10px;padding:18px 20px;display:grid;gap:7px;margin:3px 0 16px}
.published-total>span{font-size:11px;color:#a28370}
.published-total>strong{font:600 35px/1.2 Georgia,'Times New Roman',serif;color:#c17c62;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.published-total>small{font-size:9px;color:#ac9380}
.published-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;padding:0 2px}
.published-result-grid>div{display:grid;gap:8px;min-width:0}
.published-result-grid>div+div{border-left:1px solid #f0e3da;padding-left:22px}
.published-result-grid span{font-size:10px;color:#a68b7b}
.published-result-grid strong{font:600 23px/1.2 Georgia,'Times New Roman',serif;color:#6d5141;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#publishedRate{font-size:clamp(16px,1.8vw,23px);overflow-wrap:normal}
.published-source-note{font-size:9px;color:#af9889;line-height:1.7;margin:15px 0 0}
.published-outcome-note{font-size:10px;color:#a18777;line-height:1.8;padding-top:13px;min-height:64px}
body[data-data-mode="published"] .compact-results .result-status{color:#758b67;border-color:#d9e3d2;background:#f4f7ef}
body[data-data-mode="published"] .funding-yield{background:linear-gradient(120deg,#fffcf8,#f9f6ef)}
.integrated-data{display:grid;gap:8px;margin-top:13px}
.data-disclosure{border:1px solid #e8d5c7;border-radius:9px;background:#fffaf4;overflow:hidden;scroll-margin-top:14px;transition:border-color .15s,box-shadow .15s,background .15s}
.data-disclosure:hover{border-color:#d9b49b;background:#fff5eb;box-shadow:0 3px 10px rgba(143,102,73,.08)}
.data-disclosure>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 14px;font-size:11px;color:#776052;line-height:1.6}
.data-disclosure>summary>span:first-child{flex-shrink:0}
.data-disclosure>summary:focus-visible{outline:2px solid #c48b70;outline-offset:-3px;border-radius:8px}
.data-disclosure>summary::-webkit-details-marker{display:none}
.data-disclosure>summary:before{display:none}
.data-disclosure>summary:after{content:'↗';flex-shrink:0;font-size:15px;color:#b5785c;line-height:1}
.data-disclosure[open]>summary{border-bottom:1px solid #f0e4dc}
.disclosure-meta{margin-left:auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#af9c8f;font-size:9px;text-align:right}
.data-disclosure-content{padding:15px 18px}
.data-disclosure-content>.section-title-row{margin:0 0 15px;align-items:center}
.data-disclosure-content h3{font-size:12px;margin:0}
.data-disclosure-content .metric-grid{gap:10px;margin-bottom:19px}
.data-disclosure-content .metric{min-height:80px;padding:12px}
.data-disclosure-content .metric strong{font-size:18px;margin:9px 0 3px}
.data-disclosure-content .detail-grid{padding:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 15px}
.data-disclosure-content .detail-entry strong{font-size:12px}
.source-link{display:inline-block;font-size:10px;color:#c78470;margin-top:17px}
.library-tools{display:flex;gap:12px;align-items:flex-end;margin-bottom:15px}
.library-search{flex:1;min-width:0}
.library-filter{width:160px}
.library-tools label>span{display:block;font-size:10px;color:#aa9484;margin-bottom:6px}
.library-tools input,.library-tools select{height:35px;width:100%;border:1px solid #e7d9ce;border-radius:6px;background:#fffdfa;font-size:11px;padding:7px 10px;color:#6c5547;font-family:inherit}
.library-tools .subtle-button{height:35px}
.library-table{margin:0;max-height:330px;overscroll-behavior:contain}
.library-table .data-table{min-width:810px}
.library-table .data-table th{position:sticky;top:0;z-index:1}
.library-table .data-table th,.library-table .data-table td{font-size:10px;padding:11px 10px;white-space:nowrap}
.record-select{display:grid;gap:4px;text-align:left;border:0;padding:0;background:none;color:#675043;font-family:inherit;cursor:pointer}
.record-select small{color:#b19a8b;font-size:9px}
.record-select:hover b{color:#cb796b}
.record-status{font-size:9px;padding:4px 7px;border-radius:4px;background:#fff0e7;color:#ae8b70}
.record-status.published{background:#f1f5ec;color:#82906e}
.current-record td{background:#fff7f0}
.library-source-note{font-size:9px;line-height:1.7;color:#b09887;margin:11px 0 0}
.single-page .calculation-notes{margin-top:10px}
@media(max-width:1050px){.published-inputs{margin-left:16px;margin-right:16px}.published-content{padding-left:17px;padding-right:17px}}
@media(max-width:900px){.single-page .compact-page-title h1>span{display:none}.data-disclosure-content .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:750px){
 .single-page .compact-page-title{margin:17px 0 12px}
 .single-page .compact-page-title h1{font-size:20px}
 .single-page .compact-layout .card-head{gap:10px}
 .single-page .compact-layout .form-row select{font-size:12px}
 .published-inputs{margin-left:16px;margin-right:16px}
 .published-content{padding-left:17px;padding-right:17px;padding-bottom:16px}
 .published-total{padding:16px;margin-bottom:16px}
 .published-total>strong{font-size:30px}
 .published-result-grid{gap:12px}
 .published-result-grid>div+div{padding-left:12px}
 .published-result-grid strong{font-size:19px}
 .published-outcome-note{font-size:9px;min-height:62px}
 .funding-yield-heading{flex-wrap:wrap}
 .funding-yield-heading>span{font-size:8px}
 .integrated-data{gap:8px}
 .data-disclosure>summary{font-size:10px;padding:10px 11px;gap:7px}
 .disclosure-meta{font-size:8px;max-width:53%}
 .data-disclosure-content{padding:13px}
 .data-disclosure-content .metric strong{font-size:16px;white-space:normal;overflow-wrap:anywhere}
 .data-disclosure-content .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
 .data-disclosure-content .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .library-tools{flex-wrap:wrap;gap:9px}
 .library-search{flex:1 1 100%}
 .library-filter{flex:1}
 .library-table{max-height:350px}
 .single-page .footer{margin-bottom:14px;padding-bottom:0}
 .single-page .toast{bottom:20px}
}
@media(max-width:360px){.published-result-grid strong{font-size:17px}.published-result-grid{gap:9px}.published-result-grid>div+div{padding-left:9px}}
@media(min-width:901px){
 .single-page .compact-layout{min-height:480px}
 .single-page .integrated-data{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px;gap:9px}
 .single-page .data-disclosure[open]{grid-column:1/-1}
 .single-page .data-disclosure>summary{padding-top:9px;padding-bottom:9px}
 .single-page .footer{margin-top:5px;margin-bottom:5px}
}

/* V1.7.2: keep navigation quiet and group all data operations below results. */
.single-page .top-actions{gap:0;flex-shrink:0}
.single-page .compact-page-title{margin-top:20px}
.data-section{margin-top:14px}
.data-section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.data-section-toolbar h2{margin:0;font-size:12px;font-weight:600;color:#866d5d;letter-spacing:.05em}
.data-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 16px;border:1px solid #efc9c7;border-radius:24px;background:transparent;color:#ce7574;font-family:inherit;font-size:11px;line-height:1.5;letter-spacing:.04em;cursor:pointer}
.data-refresh-button:hover{background:#ffefed}
.data-refresh-button:disabled{opacity:.55;cursor:wait}
.single-page .data-section .integrated-data{margin-top:0}
.data-source-info{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 12px;margin:9px 1px 0;color:#a28c7c;line-height:1.7}
.data-source-info strong{font-size:9px;font-weight:500;color:#947866}
.data-source-info p{font-size:9px;margin:0;overflow-wrap:anywhere}
.data-source-info.source-warning{padding:7px 10px;border:1px solid #efdfc9;border-radius:7px;background:#fff9ee}
.data-source-info.source-warning strong{color:#a57d49}
@media(max-width:750px){
 .single-page .compact-page-title{margin-top:17px}
 .data-section{margin-top:15px}
 .data-section-toolbar h2{font-size:12px}
 .data-refresh-button{font-size:11px}
 .data-source-info{display:block;margin-top:8px}
 .data-source-info strong,.data-source-info p{font-size:9px;line-height:1.8}
 .data-source-info p{margin-top:2px}
}

/* V1.7.3: 刷新按钮进标题行；折叠区并入右列；右卡片不再拉伸、收紧留白。仅 UI 层改动。 */
.calc-side{display:flex;flex-direction:column;gap:11px;min-width:0}
.single-page .compact-layout{align-items:start;min-height:0}
.single-page .calc-side .integrated-data{grid-template-columns:minmax(0,1fr);margin-top:0;gap:10px}
.compact-page-title .data-refresh-button{flex-shrink:0}
.single-page .compact-results .published-total{padding:14px 17px;margin:2px 0 12px}
.single-page .compact-results .published-total>strong{font-size:31px}
.single-page .compact-results .published-content{padding:0 22px 13px}
.single-page .compact-results .funding-yield{padding:11px 20px 12px}
@media(max-width:750px){
 .compact-page-title .data-refresh-button{min-height:32px}
 .single-page .compact-results .published-total{padding:13px 15px}
 .single-page .compact-results .published-content{padding-left:17px;padding-right:17px}
 .single-page .compact-results .funding-yield{padding:12px 16px 13px}
 .calc-side{gap:9px}
}

/* 两个资料入口按内容保持按钮高度；右列剩余空间不再撑高入口。 */
.single-page .compact-layout{align-items:stretch}
.single-page .calc-side .integrated-data{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0;gap:10px;flex:0 0 auto;align-items:start}
.single-page .calc-side .integrated-data>details{display:flex;flex-direction:column;min-width:0}
.single-page .calc-side .integrated-data>details>.data-disclosure-content{flex:1;min-width:0}
html[data-data-modal-open="true"]{overflow:hidden;scrollbar-gutter:auto}
html[data-data-modal-open="true"][data-data-modal-gutter="stable"]{scrollbar-gutter:stable}
html[data-data-modal-open="true"] body{overflow:hidden}
.data-modal{border:1px solid #ecd5cf;border-radius:12px;padding:0;background:#fffdfb;box-shadow:0 18px 50px rgba(90,60,50,.28);width:min(92vw,720px);max-width:92vw;overflow:hidden;max-height:84vh;max-height:84dvh}
.data-modal::backdrop{background:rgba(59,42,38,.42)}
.data-modal .modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #f0e4dc}
.data-modal .modal-head h3{font-size:13px;margin:0;color:#776052;font-weight:650;letter-spacing:.04em}
.data-modal .modal-close{border:1px solid #efc9c7;background:transparent;color:#ce7574;border-radius:50%;width:30px;height:30px;font-size:15px;cursor:pointer;line-height:1;padding:0}
.data-modal .modal-close:hover{background:#ffefed}
.data-modal .modal-body{min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
@media(max-width:750px){
  .single-page .calc-side .integrated-data{grid-template-columns:minmax(0,1fr)}
  .data-modal{width:94vw;max-height:86vh;max-height:86dvh}
}

/* V1.7.10: 卡片样式回到 1.7.7 暖白；保留按压感与入场动画（无玻璃模糊段）。仅 UI 层改动。 */
.calc-side .integrated-data>details>summary{cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;transition:transform .12s ease,box-shadow .12s ease}
.calc-side .integrated-data>details>summary:active{transform:scale(.96) translateY(1px);box-shadow:0 1px 4px rgba(84,54,44,.12);transition-duration:.05s}
@keyframes cardBackdropIn{from{opacity:0}to{opacity:1}}
.data-modal::backdrop{animation:cardBackdropIn .34s ease}
@keyframes cardPanelIn{0%{opacity:0;transform:translateY(28px) scale(.93)}100%{opacity:1;transform:none}}
.data-modal[open]{animation:cardPanelIn .46s cubic-bezier(.22,1.1,.36,1.05)}
@keyframes cardFadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.data-modal[open] .modal-head{animation:cardFadeUp .4s .1s both cubic-bezier(.22,1,.36,1)}
/* Move the scroll container inside the clipped dialog, not its scrollable contents. */
.data-modal[open] .modal-body>*{animation:none}
.data-modal[open] .modal-body{animation:cardFadeUp .42s .16s both cubic-bezier(.22,1,.36,1)}

/* V1.7.11: 左上角博客图标换成博客真实 logo(叶子/Y 双描边 SVG)，原 ◈ 字符退役；保留 blush 配色贴合本站暖色。仅 UI 层改动。 */
.blog-mark{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:21px;font-size:0;transform:none;color:var(--ye-blush)}
@media(max-width:750px){.blog-mark{width:16px;height:17px}}

/* V1.7.13: 分享/收藏按钮默认去掉珊瑚描边（仅悬停显示）；顶栏底部红线改中间实、两端渐隐。仅 UI 层改动。 */
#shareHome{border-color:transparent}
#shareHome:hover{border-color:#efc9c7}
.topbar{position:relative;border-bottom:0}
.topbar::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;pointer-events:none;background:linear-gradient(90deg,rgba(240,200,198,0) 0%,rgba(240,200,198,.5) 25%,rgba(240,200,198,.95) 50%,rgba(240,200,198,.5) 75%,rgba(240,200,198,0) 100%)}

/* V1.7.14: 月度测算弹窗去掉 Ghost 滚动条——弹窗改 flex 列布局，仅表格内部滚动。仅 UI 层改动。 */
.data-modal[open]{display:flex;flex-direction:column;overflow:hidden}
.data-modal[open] .modal-head{flex-shrink:0}
.data-modal[open] .modal-body{flex:1;min-height:0;max-height:none}
dialog.monthly-dialog .monthly-body{display:flex;flex-direction:column;min-height:0}
dialog.monthly-dialog .monthly-body>*{flex-shrink:0}
dialog.monthly-dialog .monthly-table{flex:1;min-height:160px;max-height:none}
@media(max-width:750px){dialog.monthly-dialog .monthly-table{min-height:120px}}

/* V1.7.15: 整体 UI 精修——标题层级统一(卡题15/节题12/h4 11)、8-9px 小字升 10px、间距节奏一致。传统审美：层级分明、留白一致。仅 UI 层改动。 */
.single-page .compact-layout .card-head h3{font-size:15px}
section .funding-timeline .funding-yield-heading h3{font-size:12px}
.single-page .funding-yield-heading h3{font-size:12px}
section .published-funding-heading h4{font-size:11.5px}
.data-disclosure>summary{font-size:12px}
.single-page .result-status{font-size:10px}
.single-page .compact-basis{font-size:10px}
.single-page .current-market-summary>small{font-size:10px}
.single-page .current-market-summary>span{font-size:10px}
.single-page .ratio-summary>span{font-size:10px}
.single-page .funding-yield-heading>span{font-size:10px}
.single-page .form-unit{font-size:10px}
.single-page .hint{font-size:10px}
.single-page .published-total>small{font-size:10px}
.single-page .published-total>span{font-size:11px}
.single-page .published-result-grid span{font-size:10px}
.single-page .compact-scenario-pills button small{font-size:10px}
.single-page .issue-summary span{font-size:10px}
.single-page .issue-summary strong{font-size:13px}
section .historical-occupancy{font-size:10px}
section .published-funding-heading>span{font-size:10px}
section .cap-outcomes span{font-size:10px}
section .funding-timeline .funding-date span{font-size:10px}
section .funding-timeline .compact-schedule .funding-days>span{font-size:10px}
.single-page .current-thresholds{gap:10px}
.single-page .current-yields{gap:10px}
.single-page .compact-layout .card-head{margin-bottom:12px}
.single-page .funding-yield-heading{margin-bottom:11px}
@media(max-width:750px){
  .single-page .compact-layout .card-head h3{font-size:14px}
  section .funding-timeline .funding-yield-heading h3{font-size:12px}
  .single-page .funding-yield-heading h3{font-size:12px}
  .data-disclosure>summary{font-size:11.5px}
  .single-page .funding-yield-heading>span{font-size:9px}
}

/* V1.7.16: 「收益与年化」与「首日卖出对照」两行标题合并为一行，上市日期并入右侧注释。仅 UI 层改动。 */
#fundingListingDate{font-size:10px;color:#a28c7d;font-variant-numeric:tabular-nums}
#fundingListingDate:not(:empty)::before{content:" · "}

/* Keep the full announcement precision readable beside the participant count. */
@media(max-width:360px){#publishedRate{font-size:13px;letter-spacing:0}}

/* V1.9.12: issuer calendar below scenario yields; published results omit it. */
.issuance-progress{padding:15px 20px 14px;border-top:1px solid #f1ddd5;background:#fffdfa}
.issuance-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}
.issuance-progress-heading h4{margin:0;font-size:12px;color:#8a6253}
.issuance-progress-heading>span{font-size:10px;color:#a28c7d;text-align:right}
.issuance-progress ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));list-style:none;margin:0;padding:0}
.issuance-progress li{position:relative;min-width:0;text-align:center;padding:0 2px 21px;color:#a69c94}
.issuance-progress .progress-label{display:flex;align-items:center;justify-content:center;min-height:28px;font-size:11px;line-height:14px}
.issuance-progress time,.issuance-progress .progress-missing{display:block;white-space:nowrap;font-size:10px;line-height:16px;font-variant-numeric:tabular-nums}
.issuance-progress li::after{content:"";position:absolute;height:3px;background:#e5dfd9;left:50%;width:100%;bottom:5px}
.issuance-progress li:last-child::after{display:none}
.issuance-progress li.segment-past::after{background:#cc806b}
.issuance-progress .progress-node{position:absolute;z-index:1;bottom:1px;left:50%;transform:translateX(-50%);width:11px;height:11px;border:3px solid #f3ece6;border-radius:50%;background:#c7c0b9;box-sizing:content-box}
.issuance-progress li.is-past,.issuance-progress li.is-today{color:#b46f59}
.issuance-progress li.is-past .progress-node,.issuance-progress li.is-today .progress-node{background:#cc806b}
.issuance-progress li[aria-current=step] .progress-node{box-shadow:0 0 0 3px #f5e2d8}
.issuance-progress>p{margin:9px 0 0;font-size:10px;line-height:1.6;color:#ab9789}
.issuance-progress .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:390px){.issuance-progress{padding:13px 12px}.issuance-progress .progress-label{font-size:10px}.issuance-progress time,.issuance-progress .progress-missing{font-size:9px;letter-spacing:-.2px}.issuance-progress-heading>span{font-size:9px}}


/* V1.9.14: quiet baseline hint and amount entry inside the custom option. */
.scenario-baseline{margin:0 20px 10px;font-size:10px;line-height:1.6;color:#a28c7d}
.scenario-baseline #marketEstimate{font-weight:600;color:#8a6253;font-variant-numeric:tabular-nums}
.compact-scenario-pills{grid-auto-rows:48px}
.custom-scenario-cell{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-width:0;border:1px solid transparent;border-radius:5px}
.custom-scenario-cell>button{width:100%;height:100%;min-width:0}
.custom-scenario-cell.is-editing{padding:3px 4px;background:#fffdfa;border-color:#ebc0b6;box-shadow:0 2px 6px #8a4f4010}
.compact-scenario-pills .custom-scenario-cell.is-editing>button{height:16px;flex-shrink:0;padding:0;border:0;background:none;box-shadow:none;font-size:10px;line-height:14px;color:#c16d65}
.custom-scenario-cell.is-editing>button small{display:none}
.custom-inline-input{display:flex;align-items:center;gap:2px;width:100%;max-width:110px;margin:0 auto;min-width:0;height:22px;border-bottom:1px solid #ead0c3}
.custom-inline-input input{width:100%;min-width:0;height:21px;padding:0;border:0!important;border-radius:0;outline:none!important;box-shadow:none!important;background:transparent;font-size:13px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums;color:#8a6253;caret-color:#bd7965;appearance:textfield;-moz-appearance:textfield}
.custom-inline-input input::-webkit-inner-spin-button,.custom-inline-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.custom-inline-input input:focus,.custom-inline-input input:focus-visible{outline:none!important;box-shadow:none!important}
.custom-inline-input input::placeholder{color:#bfa597;font-size:10px;font-weight:400}
.custom-scenario-cell.is-editing:focus-within{border-color:#d69a84;box-shadow:0 0 0 2px #dba48d20}
.custom-scenario-cell.is-editing:focus-within .custom-inline-input{border-bottom-color:#d69a84}
.custom-inline-input>span{flex-shrink:0;font-size:9px;color:#a28c7d}
.custom-inline-input input[aria-invalid=true]{border-color:#c85d51;color:#b14b40}
.custom-funds-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:750px){.scenario-baseline{margin-left:16px;margin-right:16px}}

@media(max-width:390px){.custom-inline-input input{font-size:12px}}

/* V1.9.16: one centered set of issuance facts and funding dates on the left. */
.single-page .calc-form .issue-summary{gap:15px 10px;margin-top:13px}
.single-page .calc-form .issue-summary>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;text-align:center}
.single-page .calc-form .issue-summary strong{display:block;width:100%;text-align:center}
.single-page .calc-form .published-issue-facts>div{text-align:center}
.single-page .calc-form .funding-timeline .funding-date{align-items:center;text-align:center}
.single-page .calc-form .funding-timeline .funding-date strong{display:block;width:100%;text-align:center}
.single-page .calc-form .funding-timeline .compact-schedule .funding-days{flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center}
.single-page .calc-form .funding-timeline .funding-days>span,.single-page .calc-form .funding-timeline .funding-days>strong{display:block;width:100%;text-align:center}

/* V1.9.19: compact issuance note below cap funds; align both desktop columns. */
.single-page .scenario-baseline #marketEstimate{font-size:16px;line-height:1.2;color:#bd7965}
.single-page .current-scenario-summary{align-items:center;margin-bottom:12px;gap:12px}
.single-page .current-market-summary{min-width:0;text-align:right;gap:4px}
.single-page .current-market-summary>strong{font-size:17px}
.scenario-issuance-stats{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px 10px;max-width:100%;font-size:9px;line-height:1.6;color:#a08b80}
.scenario-issuance-stats>span{white-space:nowrap}
.scenario-issuance-stats strong{font-size:inherit;font-weight:500;color:#826c61;font-variant-numeric:tabular-nums}
.single-page .compact-layout{align-items:stretch}
.single-page .compact-layout>.calc-form,.single-page .compact-layout>.calc-side{min-width:0;min-height:0}
.single-page .calc-side>.compact-results{flex:1 0 auto}
.single-page .compact-results .funding-yield{margin-top:0}
.single-page .calc-side>.integrated-data{flex:0 0 auto}
@media(max-width:750px){
 .single-page .current-scenario-summary{flex-wrap:wrap;row-gap:7px}
 .single-page .current-market-summary{flex:1 1 180px}
 .single-page .current-market-summary>strong{font-size:15px}
 .single-page .scenario-baseline #marketEstimate{font-size:15px}
 .single-page .calc-side>.compact-results{flex:0 0 auto}
}

/* Scenario annualization shares the funding-line card treatment. */
.single-page #yieldTable{gap:9px;margin-top:10px}
.single-page #yieldTable>.yield-tile{border:1px solid #eee0da;border-radius:8px;padding:10px 12px 9px;background:#fffcfa;min-width:0;gap:6px}
.single-page #yieldTable>.yield-tile>strong{overflow-wrap:anywhere}
.single-page #yieldTable>.yield-tile>small:empty{display:none}
@media(max-width:750px){
 .single-page #yieldTable{gap:6px}
 .single-page #yieldTable>.yield-tile{padding:9px 7px;gap:7px}
 .single-page #yieldTable>.yield-tile>strong{font-size:19px}
}

/* V1.9.20: one visual system for pending, published and detail views. */
:root{
 --ui-surface:#fffdfb;--ui-inset:#fcf8f5;--ui-border:#eaded7;
 --ui-text:#594a43;--ui-muted:#927f75;--ui-accent:#c47a69;
 --ui-radius:8px;--ui-gap:10px;
}
.single-page{color:var(--ui-text)}
.single-page .card,.single-page .data-disclosure,.data-modal,.monthly-dialog{
 background:var(--ui-surface);border-color:var(--ui-border);box-shadow:none;
}
.single-page :is(.threshold-tile,.published-funding-tile,.published-total,.funding-schedule,.monthly-entry-button,.historical-yield-tile),
.single-page .cap-outcomes>div,.single-page #yieldTable>.yield-tile{
 background:var(--ui-inset);border:1px solid var(--ui-border);border-radius:var(--ui-radius);box-shadow:none;
}
.single-page .funding-yield,body[data-data-mode="published"] .single-page .funding-yield,
.single-page .issuance-progress,.single-page .first-day-panel{
 background:transparent;border-color:var(--ui-border);
}
.single-page .compact-scenario-pills{background:var(--ui-inset);border-color:var(--ui-border);border-radius:var(--ui-radius)}
.single-page .compact-scenario-pills button.chosen{background:var(--ui-surface);border-color:var(--ui-accent);box-shadow:none}
.single-page .monthly-entry-button,.single-page .data-disclosure>summary{color:var(--ui-text)}
.single-page .monthly-entry-button:hover,.single-page .data-disclosure:hover{border-color:var(--ui-accent);background:var(--ui-inset);box-shadow:0 2px 8px #594a4309}
.single-page .compact-page-title h1{font-size:22px;font-weight:600;letter-spacing:0;line-height:1.4}
.single-page .compact-layout .card-head h3{font-size:14px;font-weight:600;color:var(--ui-text)}
.single-page :is(.funding-yield-heading h3,.published-funding-heading h4,.issuance-progress-heading h4,.monthly-entry-button>span,.sale-option h4){font-size:12px;line-height:1.5;font-weight:600;color:var(--ui-text)}
.single-page :is(.form-row label,.data-disclosure>summary,.compact-scenario-pills button){font-size:12px;line-height:1.5}
.single-page :is(.issue-summary span,.funding-date span,.funding-days>span,.ratio-summary>span,.current-market-summary>span,.threshold-tile>span,.published-result-grid span,.published-total>span,.published-funding-tile>span,.cap-outcomes span,.sale-price-row>span,.yield-tile>span){font-size:11px;line-height:1.5;color:var(--ui-muted)}
.single-page :is(.card-head p,.monthly-entry-button small,.funding-yield-heading>span,.published-funding-heading>span,.compact-caveat,.scenario-baseline,.published-funding-tile small,.published-funding-tile em,.sale-return-block>small,.first-day-range,.issuance-progress-heading>span,.issuance-progress p,.progress-date,.compact-scenario-pills button small){font-size:10px;line-height:1.6;color:var(--ui-muted)}
.single-page :is(strong,em){font-family:inherit;font-variant-numeric:tabular-nums;letter-spacing:0}
.single-page :is(.issue-summary strong,.funding-date strong){font-size:14px;font-weight:600;color:var(--ui-text)}
.single-page .current-market-summary>strong,.single-page .threshold-tile>strong,.single-page .published-funding-tile>strong{font-size:18px;line-height:1.4;font-weight:600;color:var(--ui-text)}
.single-page .ratio-summary>strong,.single-page .published-result-grid strong,.single-page #publishedRate{font-family:inherit;font-size:24px;line-height:1.35;font-weight:600;letter-spacing:0;overflow-wrap:anywhere}
.single-page .ratio-summary>strong,.single-page .published-total>strong,.single-page #yieldTable>.yield-tile>strong,.single-page .cap-outcomes strong{color:var(--ui-accent)}
.single-page .published-total>strong{font-family:inherit;font-size:28px;line-height:1.35;font-weight:600}
.single-page #yieldTable>.yield-tile>strong{font-family:inherit;font-size:24px;line-height:1.35;font-weight:600}
.single-page .cap-outcomes strong,.single-page .historical-yield-tile .sale-price-row strong{font-family:inherit;font-size:20px;line-height:1.4;font-weight:600}
.single-page .historical-yield-tile>strong,.single-page .historical-yield-tile .sale-return-block>strong{font-family:inherit;font-size:28px;line-height:1.4;font-weight:600;color:var(--ui-accent)}
.single-page :is(.current-thresholds,.current-yields,.cap-outcomes,.historical-yields){gap:var(--ui-gap)}
.single-page .threshold-tile,.single-page #yieldTable>.yield-tile,.single-page .published-funding-tile{padding:12px;gap:6px}
.single-page .cap-outcomes>div{padding:12px}
.single-page .compact-layout .card-head{margin-bottom:8px}
.single-page .compact-results .funding-yield,.single-page .issuance-progress{padding-top:14px;padding-bottom:14px}
.single-page .scenario-issuance-stats{font-size:10px;line-height:1.6;color:var(--ui-muted)}
.single-page .scenario-issuance-stats strong{font-size:inherit;color:var(--ui-text)}
.single-page .issuance-progress .progress-label{font-size:11px}
.single-page .funding-timeline .compact-schedule .funding-days em{font-size:28px;color:var(--ui-accent)}
.single-page .scenario-baseline #marketEstimate{font-size:16px;color:var(--ui-accent)}
.data-modal .metric,.monthly-dialog .monthly-stat{background:var(--ui-inset);border-color:var(--ui-border);border-radius:var(--ui-radius)}
.data-modal .metric strong,.monthly-dialog strong{font-family:inherit;font-variant-numeric:tabular-nums}
.data-modal .modal-head h3,.monthly-dialog .monthly-head h3{font-size:16px;color:var(--ui-text)}
@media(max-width:750px){
 .single-page{--ui-gap:8px}
 .single-page .compact-page-title h1{font-size:20px}
 .single-page .threshold-tile,.single-page #yieldTable>.yield-tile,.single-page .published-funding-tile{padding:10px 7px}
 .single-page .threshold-tile>span,.single-page .yield-tile>span{font-size:10px}
 .single-page .threshold-tile>strong,.single-page .published-funding-tile>strong{font-size:16px}
 .single-page #yieldTable>.yield-tile>strong{font-size:20px}
 .single-page .published-result-grid strong,.single-page #publishedRate{font-size:20px}
 .single-page .historical-yield-tile>strong,.single-page .historical-yield-tile .sale-return-block>strong{font-size:24px}
 .single-page .published-total>strong{font-size:26px}
 .single-page .current-market-summary>strong{font-size:18px}
}
@media(max-width:360px){
 .single-page .published-result-grid strong,.single-page #publishedRate{font-size:17px}
 .single-page .cap-outcomes strong,.single-page .historical-yield-tile .sale-price-row strong{font-size:18px}
}
.single-page #yieldTable>.yield-tile>span{white-space:normal}
.single-page .yield-figure>strong{font-family:inherit;font-size:28px;line-height:1.35;font-weight:600;letter-spacing:0}
.single-page .annual-flag,.monthly-dialog .annual-flag{border:0;background:transparent;padding:0;color:var(--ui-muted);font-size:11px;font-weight:500}
.monthly-dialog .monthly-stat{background:var(--ui-inset);border-color:var(--ui-border)}
.monthly-dialog .monthly-table th{background:var(--ui-inset)}
@media(max-width:750px){
 .single-page #yieldTable>.yield-tile{padding:10px 7px}
 .single-page .yield-figure>strong{font-size:24px}
}
.single-page .calc-form .funding-timeline .funding-schedule{background:var(--ui-inset);border:1px solid var(--ui-border);border-radius:var(--ui-radius)}
:root{--ui-font:"Helvetica Neue",-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.single-page .published-funding-tile>strong,.single-page .annual-issue-stats b,
.single-page .historical-yield-tile .yield-figure strong,
.monthly-dialog .monthly-stat .yield-figure strong,.monthly-dialog .monthly-table td.yield-cell strong{font-family:var(--ui-font);letter-spacing:0}
.single-page .historical-yield-tile .yield-figure strong{font-size:28px}
.single-page .compact-scenario-pills button{line-height:1.2}
.single-page .compact-scenario-pills button small{font-size:9px;line-height:1.35}
@media(max-width:750px){.single-page .historical-yield-tile .yield-figure strong{font-size:24px}}
@media(max-width:360px){
 .single-page .threshold-tile>strong{font-size:14px;white-space:nowrap;overflow-wrap:normal}
 .single-page #publishedRate{font-size:15px;white-space:nowrap;overflow-wrap:normal}
}

/* V1.9.21: keep the funding unit inline instead of forcing a mobile line. */
.single-page .threshold-tile>strong small{display:inline;margin-top:0;white-space:nowrap}
