/* V1.9.0: keep provenance together, with compact historical returns and monthly drill-down. */
.monthly-entry{display:block!important;padding-top:16px!important}
.monthly-entry-button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;padding:13px 15px;border:1px solid #e8ccbe;border-radius:8px;color:#996e58;background:linear-gradient(115deg,#fff7ef,#fbf4e9);font:inherit;text-align:left;cursor:pointer;transition:transform .12s,box-shadow .15s}
.monthly-entry-button>span{font-size:12px;font-weight:600}.monthly-entry-button small{font-size:9px;color:#ab8c78}
.monthly-entry-button:hover{box-shadow:0 4px 14px #bfa28a25}.monthly-entry-button:active{transform:scale(.98) translateY(1px)}
.rules-entry-button{margin-top:9px}
.funding-timeline{margin:18px 20px 20px;padding-top:16px;border-top:1px dashed #ecdcd0;min-width:0}
.funding-timeline .funding-yield-heading{margin-bottom:11px}
.funding-timeline .funding-yield-heading h3{font-size:11px}
.funding-timeline .compact-schedule{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;padding:12px;border:1px solid #ead8c9;border-radius:7px;background:linear-gradient(115deg,#fffcf8,#fbf4e9)}
.funding-timeline .funding-date strong{font-size:12px;white-space:nowrap}
.funding-timeline .funding-date span{font-size:9px}
.funding-timeline .compact-schedule .funding-days{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;border-left:0;border-top:1px dashed #e7d4c5;padding:10px 0 0;margin-top:1px}
.funding-timeline .funding-days>span{font-size:9px}
.funding-timeline .historical-occupancy{margin-top:10px;line-height:1.8}
@media(max-width:1050px){.funding-timeline{margin-left:16px;margin-right:16px}}
@media(max-width:900px){.funding-timeline{margin-top:15px;margin-bottom:16px;padding-top:13px}}
.ipo-rules-content{color:#8d725e;font-size:12px;line-height:1.9}
.ipo-rules-content .rules-intro{margin:0 0 15px;color:#a18873;font-size:11px}
.ipo-rules-content section+section{margin-top:14px}
.ipo-rules-content h4{margin:0 0 5px;color:#936a52;font-size:13px}
.ipo-rules-content p{margin:5px 0}
.rules-sources{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:18px;padding-top:13px;border-top:1px dashed #ecdcd0;font-size:11px}
.rules-sources>span{color:#ab917b}.rules-sources a{color:#b77760;text-underline-offset:3px}
.broker-time-hint{margin:10px 0 4px;padding:10px 12px;border:1px solid #ead2be;border-left:3px solid #d59b78;border-radius:6px;background:#fff7ed}
.broker-time-hint strong{color:#a16546;font-size:12px;font-weight:600}.broker-time-hint p{font-size:11px;line-height:1.8}
.historical-yields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:0}
.historical-yield-tile{display:flex;flex-direction:column;gap:5px;padding:11px 12px;border:1px solid #eeded2;border-radius:7px;background:#fffdfa;min-width:0}
.historical-yield-tile>span{font-size:10px;color:#9d8270}.historical-yield-tile strong{font:600 22px/1.3 Georgia,'Times New Roman',serif;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.historical-yield-tile small{font-size:10px;color:#a18b79}.historical-yield-tile small b{font-weight:600}
.historical-occupancy{font-size:9px;color:#a08876;margin:9px 0 0;line-height:1.7}
.return-up{color:#bd7865!important}.return-down{color:#648676!important}.return-flat{color:#8d7b6b!important}
.return-empty{grid-column:1/-1;color:#a38b78;font-size:10px;line-height:1.8;margin:3px 0}
.calculation-notes .first-day-source{font-size:10px;line-height:1.8;display:flex;flex-wrap:wrap;gap:4px 9px;margin:5px 0}
.calculation-notes .data-source-info{font-size:10px;line-height:1.8;margin:0 0 7px;padding:0}
.calculation-notes .bottom-note b{font-weight:600}.calculation-notes .bottom-note{overflow-wrap:anywhere}
.notes-warning>summary{color:#ae725c!important}
.monthly-dialog{width:min(94vw,940px);max-width:94vw}
.monthly-dialog .modal-head>div{min-width:0}.monthly-dialog .modal-head p{margin:5px 0 0;font-size:10px;color:#a58c79}
.monthly-dialog .monthly-body{padding:16px 18px;animation:none}
.monthly-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.monthly-controls{flex-wrap:wrap}
.month-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:9px;min-width:0;flex:1 1 280px;max-width:420px}
.month-range label{min-width:0}.month-range select{width:100%;min-width:0}
.monthly-table time{display:inline-block;white-space:nowrap}
.month-range-separator{padding-bottom:11px;font-size:11px;color:#ad9580}
.monthly-controls>button{flex:0 0 auto;margin-left:auto}
.monthly-controls label{display:flex;flex-direction:column;gap:6px;color:#9b7e6a;font-size:10px}
.monthly-controls select,.monthly-controls button{min-height:36px;border:1px solid #e5d1c3;border-radius:6px;padding:7px 10px;color:#866852;background:#fffdf9;font:inherit;font-size:11px}
.monthly-controls button{cursor:pointer}.monthly-controls button:disabled{opacity:.55;cursor:wait}.monthly-controls button:active{transform:translateY(1px)}
#monthlyProgress{font-size:10px;line-height:1.7;color:#a18a78;margin:11px 0}
.monthly-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 16px}
.monthly-summary>div{display:flex;flex-direction:column;gap:6px;padding:13px;background:#fcf6ee;border:1px solid #edddcf;border-radius:7px;min-width:0}
.monthly-summary span{font-size:10px;color:#9c7c65}.monthly-summary strong{font:600 25px/1.3 Georgia,'Times New Roman',serif;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.monthly-summary small{font-size:9px;color:#a9907b;line-height:1.6}
.monthly-table{overflow:auto;max-height:42vh;overscroll-behavior:contain;border:1px solid #eadbcf;border-radius:7px}
.monthly-table table{width:100%;border-collapse:collapse;font-size:11px;color:#826650;min-width:700px;font-variant-numeric:tabular-nums}
.monthly-table th{position:sticky;top:0;background:#f8eee4;text-align:left;font-size:10px;font-weight:500;z-index:1}
.monthly-table th,.monthly-table td{padding:11px 12px;border-bottom:1px solid #efe3d7;white-space:nowrap;vertical-align:middle}
.monthly-table td small{display:block;font-size:9px;color:#ad9580;margin-top:5px;font-weight:400;max-width:220px;white-space:normal;line-height:1.6}
.monthly-table button{border:0;padding:0;background:transparent;text-align:left;font:inherit;color:#886751;cursor:pointer}.monthly-table button:active{transform:scale(.98)}
.overlap-flag{border-radius:4px;padding:3px 6px;background:#fff0dd;color:#ac7740;font-size:10px}
.monthly-overlap-summary,.monthly-assumptions{font-size:10px;line-height:1.8;color:#a38b76;margin:12px 0 0}
#monthlyOverlaps details{font-size:10px;color:#a08066;margin-top:9px}#monthlyOverlaps summary{cursor:pointer}#monthlyOverlaps ul{padding-left:18px;max-height:140px;overflow:auto;line-height:1.9}
.monthly-assumptions button{font:inherit;color:#b77d62;border:0;background:transparent;padding:0;cursor:pointer}
[hidden].historical-yields,[hidden].historical-occupancy{display:none!important}
@media(max-width:750px){.historical-yields{gap:9px;margin-top:0}.historical-yield-tile{padding:9px}.historical-yield-tile strong{font-size:20px}.historical-yield-tile>span,.historical-yield-tile small{font-size:9px}.historical-occupancy{font-size:8px}.monthly-entry{padding-top:12px!important}.monthly-dialog .modal-head{padding:12px 14px}.monthly-dialog .monthly-body{padding:12px}.monthly-summary{gap:9px}.monthly-summary>div{padding:10px}.monthly-summary strong{font-size:22px}.monthly-summary span{font-size:9px}.monthly-controls select{font-size:16px}.monthly-controls button{font-size:10px}.monthly-table table{min-width:660px}}
@media(prefers-reduced-motion:reduce){.monthly-entry-button{transition:none}}
@media(max-width:750px){
 .monthly-table{border:0;border-radius:0;max-height:40vh;overflow-x:hidden}
 .monthly-table table{min-width:0;width:100%;display:block}
 .monthly-table thead{display:none}.monthly-table tbody{display:grid;gap:9px}
 .monthly-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:5px 4px;background:#fffdf9;border:1px solid #eadbcf;border-radius:7px;min-width:0}
 .monthly-table td{display:block;min-width:0;padding:7px 8px;border:0;white-space:normal;overflow-wrap:anywhere;font-size:12px}
 .monthly-table td:nth-child(2){font-size:10px;text-align:right;line-height:1.7}
 .monthly-table td:nth-child(3)::before,.monthly-table td:nth-child(4)::before{display:block;color:#a38b76;font-size:9px;margin-bottom:5px}
 .monthly-table td:nth-child(3)::before{content:'开盘卖出年化'}.monthly-table td:nth-child(4)::before{content:'收盘卖出年化'}
 .monthly-table td:nth-child(5){grid-column:1/-1;border-top:1px dashed #eddfd1;font-size:10px;margin:3px 5px 0;padding:8px 3px 4px}
 .monthly-table td:nth-child(5) small{max-width:none;display:inline;margin-left:9px}
 .monthly-table button{max-width:100%;overflow-wrap:anywhere}.monthly-table td small{max-width:100%}
}

/* V1.9.1: the annualised figure leads the tiles and the monthly statistics. */
.yield-figure{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.annual-flag{flex:0 0 auto;font-style:normal;font-size:12px;font-weight:650;line-height:1.5;letter-spacing:.06em;color:#9d5f3b;background:#f9e2ce;border:1px solid #e6c3a6;border-radius:4px;padding:2px 6px}
.historical-yield-tile .yield-figure strong{font:600 32px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.01em}
.historical-yield-tile small{font-size:10px;color:#a18b79}
.historical-yield-tile small b{font-weight:600;font-variant-numeric:tabular-nums}
.monthly-summary>div.monthly-stat{padding:13px 14px 14px;background:#fdf3e9;border:1px solid #e8c8b2;border-left:3px solid #d2926c;border-radius:7px}
.monthly-stat .stat-label{font-size:10px;color:#9c7c65}
.monthly-stat .yield-figure{margin:2px 0 1px}
.monthly-stat .yield-figure strong{font:600 31px/1.18 Georgia,'Times New Roman',serif;letter-spacing:-.01em}
.monthly-stat>small{font-size:9px;color:#a9907b;line-height:1.7}
.monthly-stat .annual-basis{font-size:10px;line-height:1.8;color:#a18b79;margin:2px 0 0;overflow-wrap:anywhere}
.annual-basis b{font-weight:600;font-variant-numeric:tabular-nums;color:#987354}
.monthly-table td.yield-cell strong{display:block;font:600 13px/1.45 Georgia,'Times New Roman',serif;font-variant-numeric:tabular-nums}
.monthly-table td.yield-cell small{margin-top:3px}
@media(max-width:750px){
 .historical-yield-tile .yield-figure,.monthly-stat .yield-figure{flex-direction:column;align-items:flex-start;gap:4px}
 .historical-yield-tile .yield-figure strong{font-size:27px}
 .annual-flag{font-size:10px;padding:2px 5px;letter-spacing:.04em}
 .monthly-stat .yield-figure strong{font-size:26px}
}

/* V1.9.2: each sale method keeps its own price, change and capital returns together. */
.funding-yield>.first-day-panel{padding:0;border:0;background:transparent}
.sale-option{gap:0;padding:11px 13px}
.sale-option h4{margin:0 0 9px;font-size:11px;font-weight:600;color:#82604e}
.sale-price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 9px}
.sale-price-row>span{font-size:10px;color:#9d8270}
.historical-yield-tile .sale-price-row strong{font:600 20px/1.3 Georgia,'Times New Roman',serif;color:#795a49}
.sale-change{margin:4px 0 0;line-height:1.5}
.sale-change .is-up{color:#bd7865}.sale-change .is-down{color:#648676}.sale-change .is-flat{color:#8d7b6b}
.sale-return-block{border-top:1px solid #efdfd3;padding-top:9px;margin-top:9px}
.sale-return-block>small{display:block;margin-top:5px;line-height:1.6}
.historical-return-status{font-size:10px;color:#a17e65;line-height:1.8;margin:8px 0 0}
.card-head p:empty,.threshold-tile em:empty,.yield-tile small:empty{display:none}
.calculation-notes .bottom-note h4{font-size:11px;color:#8d6952;margin:13px 0 6px}
.calculation-notes .bottom-note h4:first-child{margin-top:0}
.monthly-table .month-sale-price{display:block;font-size:11px;color:#826650}
.monthly-table td.yield-cell .month-sale-change{margin:3px 0 7px;font-size:9px}
.monthly-table td.yield-cell strong{font-size:15px}
.compact-page-title .page-title-group{display:flex;align-items:center;flex-wrap:wrap;gap:7px 17px;min-width:0}
.annual-issue-stats{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;color:#9c7a65;font-size:11px;line-height:1.6}
.annual-issue-stats[hidden]{display:none}
.annual-issue-stats b{font:600 17px/1.2 Georgia,'Times New Roman',serif;color:#bf7a63;font-variant-numeric:tabular-nums;margin:0 1px}
.annual-issue-stats small{font-size:9px;color:#b09a88;margin-left:5px}
.single-page .compact-results .published-total{display:flex;align-items:baseline;gap:4px 10px;padding:10px 14px;margin-bottom:10px}
.single-page .compact-results .published-total>strong{font-size:27px;min-width:0}
.published-funding{margin-top:13px;padding-top:12px;border-top:1px dashed #ecdcd0}
.published-funding[hidden]{display:none}
.published-funding-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
.published-funding-heading h4{font-size:11px;font-weight:600;color:#8d6952;margin:0}
.published-funding-heading>span,.published-funding>p{font-size:9px;color:#a68b76;line-height:1.7}
.published-funding>p{margin:7px 0 0}
.cap-outcomes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cap-outcomes>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 11px;background:#faf4ec;border:1px solid #eddfd1;border-radius:6px;min-width:0}
.cap-outcomes span{color:#96755e;font-size:10px;line-height:1.6}
.cap-outcomes span small{display:block;color:#ae9581;font-size:9px}
.cap-outcomes strong{font:600 23px/1.3 Georgia,'Times New Roman',serif;color:#ad7257;white-space:nowrap}
.cap-outcomes strong small{font-size:10px;font-weight:400;margin-left:3px}
.funding-tier-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;margin:5px 0;color:#a0856e;font-size:9px}
.funding-tier-nav{display:flex;gap:5px}.funding-tier-nav[hidden]{display:none}
.funding-tier-nav button{width:26px;height:24px;padding:0;border:1px solid #e7d2c2;border-radius:5px;background:#fffaf4;color:#a0755b;font:20px/1 Georgia,serif;cursor:pointer;transition:transform .12s,background .15s}
.funding-tier-nav button:active{transform:scale(.94) translateY(1px)}.funding-tier-nav button:hover{background:#f8ede1}.funding-tier-nav button:disabled{opacity:.35;cursor:default}
.published-funding-rows{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 16px)/3);gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#e4c9b5 transparent;padding-bottom:3px;min-width:0}
.published-funding-rows:empty{display:none}.published-funding-rows:focus-visible{outline:2px solid #c78d70;outline-offset:3px}
.published-funding-tile{display:flex;flex-direction:column;gap:5px;min-width:0;padding:9px 10px;border:1px solid #eddccf;border-radius:6px;background:#fffdfa;scroll-snap-align:start}
.published-funding-tile>span{font-size:10px;color:#9c7c65}
.published-funding-tile>strong{font:600 18px/1.4 Georgia,'Times New Roman',serif;color:#a66e54;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.published-funding-tile small{font-size:9px;font-weight:400;color:#a18b79}
.published-funding-tile em{font-style:normal;font-size:9px;line-height:1.6;color:#b27551}
.published-funding-tile.over-cap{background:#fff6ee;border-color:#eacbb7}
@media(max-width:750px){
 .single-page .compact-results .published-total{flex-wrap:wrap}
 .published-total>span{flex-basis:100%}
 .published-funding-rows{grid-auto-columns:calc((100% - 8px)/2)}
 .published-funding-tile{gap:4px;padding:8px 9px}
 .published-funding-tile>strong{font-size:17px}
 .published-funding-tile>small{font-size:8px}
 .cap-outcomes>div{flex-direction:column;align-items:flex-start;padding:8px;gap:5px}.cap-outcomes strong{font-size:21px}.cap-outcomes span{font-size:9px}.cap-outcomes span small{font-size:8px}
 .monthly-controls{gap:8px}.monthly-controls .month-range{flex:1 0 100%;max-width:none}
 .month-range select{padding-left:6px;padding-right:6px}
 .monthly-stat .yield-figure strong{font-size:clamp(20px,6.2vw,26px);white-space:nowrap;overflow-wrap:normal}
 .single-page .compact-page-title{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px}
 .compact-page-title .page-title-group{display:contents}
 .compact-page-title h1{grid-column:1;grid-row:1}
 .compact-page-title .data-refresh-button{grid-column:2;grid-row:1}
 .annual-issue-stats{grid-column:1/-1;grid-row:2;justify-self:start;font-size:10px}
 .historical-yields{grid-template-columns:1fr;gap:8px}
 .sale-option{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'title title' 'price returns' 'change returns';column-gap:10px;padding:10px 11px}
 .sale-option h4{grid-area:title;margin-bottom:8px}
 .sale-price-row{grid-area:price;display:block;align-self:end}
 .sale-price-row>span{display:block;margin-bottom:4px}
 .historical-yield-tile .sale-price-row strong{font-size:19px}
 .sale-change{grid-area:change;margin-top:4px;align-self:start}
 .sale-return-block{grid-area:returns;border-top:0;border-left:1px solid #efdfd3;margin:0;padding:0 0 0 10px;align-self:center}
 .sale-return-block .yield-figure{gap:2px}
 .sale-return-block>small{font-size:9px;margin-top:4px}
 .historical-yield-tile .yield-figure strong{font-size:28px}
 .monthly-table td:nth-child(3)::before{content:'开盘卖出'}.monthly-table td:nth-child(4)::before{content:'收盘卖出'}
 .monthly-table .month-sale-price{font-size:11px}
}
@media(max-width:360px){.historical-yield-tile .yield-figure strong{font-size:24px}}
