/* A central research surface, with artwork left and compact prices right. */
.card-page-main:has(.history-record){width:min(3000px,100%);padding-inline:clamp(16px,3vw,90px);}
.record-heading{padding:3px 0 24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 25px;align-items:center;}
.record-heading>.eyebrow,.record-heading>.subtitle{grid-column:1;}.record-heading>#detailName{font:600 clamp(32px,3vw,58px)/1.1 Manrope;letter-spacing:-1.8px;margin:9px 0;grid-column:1;}.record-heading>.subtitle{color:var(--muted);font-size:12px;margin:4px 0;}.record-heading>.detail-actions{grid-column:2;grid-row:1/4;justify-content:end;margin:0;}
.history-record{grid-template-columns:minmax(220px,.85fr) minmax(380px,1.5fr) minmax(240px,.85fr);gap:clamp(20px,2vw,50px);align-items:start;}
.history-record>.detail-art{top:20px;padding:0;}.history-record .card-art-zoom{max-width:580px;}.history-record>.detail-info{padding:0 0 35px;min-width:0;}.history-record>.detail-info>h3:first-child{margin-top:0;}.history-record>.detail-info .price-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.history-record>.detail-info .price-cell{padding:12px 10px;}.history-record>.detail-info .price-cell strong{font-size:clamp(19px,1.45vw,29px);}.history-record>.detail-info .source-note{font-size:9px;line-height:1.8;}.record-center{min-width:0;}.record-center>.card-story{margin-top:25px;}.record-center .price-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.record-center .facts{grid-template-columns:repeat(2,minmax(0,1fr));}.record-center .card-section{margin-top:25px;}
.history-panel{--history-accent:#aaead8;min-width:0;padding:25px 24px 18px;border:1px solid #96a5bd24;border-radius:15px;background:linear-gradient(145deg,#13202977,#0b122075);box-shadow:0 18px 60px #0002;color:var(--text);}
.history-panel:has(.history-mode [data-history-mode="graded"].selected){--history-accent:#c4a5fa;}
@media(max-width:760px){.history-record>.detail-art{order:1;}.history-record>.record-center{display:contents;}.record-history-host{width:100%;order:2;}.history-record>.detail-info{order:3;}.history-record .record-center>.card-story{order:4;width:100%;}.history-record .record-center>.card-section{order:5;width:100%;}}
.history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;}.history-heading .eyebrow{font-size:8px;letter-spacing:1.7px;color:#91bcb5;}.history-heading h2{font:600 22px/1.3 Manrope;letter-spacing:-.7px;margin:7px 0 0;}.history-data-tag{font-size:7px;letter-spacing:1px;color:#9ba9bb;border:1px solid #97a9bf25;border-radius:4px;padding:6px;white-space:nowrap;}
.history-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:22px 0 20px;}.history-mode{padding:3px;}.history-mode button{font-size:11px;padding:7px 12px;}.history-mode button.selected{background:#9be0cf20;color:var(--history-accent);}.history-grade-label{min-width:0;flex:1;}.history-grade-label select{font-size:10px;width:100%;max-width:210px;padding:8px;}.history-ranges{display:flex;gap:2px;margin-left:auto;}.history-ranges button{background:transparent;border:0;border-radius:5px;font-size:10px;padding:7px 8px;color:#8a9aaf;}.history-ranges button.selected{background:#a3bad51c;color:var(--history-accent);}.history-ranges button:hover{color:#e0e9f2;background:#9ab7ce18;}
.history-value-row{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:86px;}.history-value-row>div>span{font-size:9px;letter-spacing:.4px;color:#97a7b9;}.history-value-row strong{display:block;font:600 clamp(28px,2.2vw,43px)/1.2 Manrope;margin:5px 0;color:#e3edf2;letter-spacing:-1.4px;}.history-value-row small{display:block;font-size:10px;color:#899bad;margin-top:5px;}.history-change{text-align:right;}.history-change>span{font:600 15px Manrope;white-space:nowrap;}.history-change .up{color:#9be0bf!important;}.history-change .down{color:#e8a1b3!important;}.history-change small{font-size:8px;}
.history-chart-wrap{position:relative;margin:12px -6px 5px;}.history-plot{width:100%;min-height:230px;border-radius:8px;color:var(--history-accent);touch-action:pan-y;outline-offset:1px;}.history-plot svg{display:block;width:100%;height:auto;min-height:230px;overflow:visible;}.history-grid line{stroke:#8aa0b81a;stroke-width:1;}.history-grid text{fill:#899bad;font:12px 'DM Sans',sans-serif;}.history-area{fill:url(#historyFill);}.history-line{stroke:currentColor;fill:none;stroke-width:2.7;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;}.history-last-point,.history-sale-point{fill:currentColor;stroke:#0d1825;stroke-width:2;vector-effect:non-scaling-stroke;}.history-sale-point{filter:drop-shadow(0 0 5px #b69beb55);}.history-crosshair{stroke:currentColor;stroke-opacity:.4;stroke-dasharray:4 4;opacity:0;}.history-active-point{fill:currentColor;stroke:#f1f5fc;stroke-width:1.5;opacity:0;}
.history-tooltip{position:absolute;pointer-events:none;z-index:2;border:1px solid #b3b9d742;border-radius:8px;background:#0b1326ed;padding:9px 12px;min-width:140px;box-shadow:0 8px 25px #0006;}.history-tooltip b,.history-tooltip span,.history-tooltip small{display:block;}.history-tooltip b{font:600 15px Manrope;color:var(--history-accent);}.history-tooltip span{font-size:10px;color:#bdc9d6;margin-top:3px;}.history-tooltip small{font-size:8px;color:#8d9db0;margin-top:4px;}
.history-summary{display:flex;gap:18px;justify-content:space-between;padding:14px 0;border-top:1px solid #9aabc321;flex-wrap:wrap;}.history-summary>span{font-size:10px;color:#99aabe;}.history-summary small{display:block;font-size:7px;letter-spacing:1px;color:#8093a8;margin-bottom:5px;}.history-summary b{font:500 11px Manrope;color:#cbd9e4;}.history-source{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:9px;color:#a7bbce;margin-top:4px;}.history-source a{color:var(--history-accent);}.history-method{font-size:9px;line-height:1.8;color:#8699ae;margin:9px 0 0;}.history-records{margin-top:13px;border-top:1px solid #9aabc318;padding-top:10px;color:#9badbf;font-size:9px;}.history-records summary{cursor:pointer;}.history-table-scroll{max-height:260px;overflow:auto;margin-top:12px;}.history-records table{width:100%;border-collapse:collapse;font-size:10px;text-align:left;}.history-records td,.history-records th{padding:9px 7px;border-bottom:1px solid #9ba6ba1a;}.history-records td:nth-child(2){font-variant-numeric:tabular-nums;color:var(--history-accent);white-space:nowrap;}.history-records a{color:#c4b2e4;}.history-empty{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px;padding:30px 18px;background:radial-gradient(ellipse,#a0bdca08,transparent 70%);}.history-empty-orbit{font-size:38px;color:#93a7bd;}.history-empty strong{font:500 14px/1.6 Manrope;color:#b5c5d4;max-width:390px;}.history-empty p{font-size:11px;color:#8095aa;line-height:1.8;margin:0;}.history-empty button{padding:9px 15px;border:1px solid #9cb2c142;border-radius:6px;background:#9db9c012;color:#bcdbda;font-size:10px;}.history-loading{font-size:12px;color:#9bb9c7;}
@media(min-width:2600px){.history-panel{padding:32px;}.history-heading h2{font-size:28px;}.history-controls{margin-block:25px;}.history-ranges button,.history-mode button{font-size:12px;}.history-grade-label select{font-size:12px;}.history-record .card-art-zoom{max-width:700px;}.history-panel .history-plot,.history-panel .history-plot svg{min-height:330px;}}
@media(max-width:1350px) and (min-width:761px){.history-record{grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);gap:28px;}.history-record>.detail-info{grid-column:2;grid-row:2;}.history-record>.record-center{grid-column:2;grid-row:1;}.history-record>.detail-art{grid-column:1;grid-row:1/3;}.history-record>.detail-info .price-grid{grid-template-columns:repeat(4,minmax(0,1fr));}.history-record>.detail-info .price-cell strong{font-size:20px;}.history-panel{padding:20px 17px;}.history-data-tag{display:none;}}
@media(max-width:760px){.record-heading{display:block;padding-bottom:24px;}.record-heading>#detailName{font-size:38px;}.record-heading>.detail-actions{justify-content:start;margin-top:18px;}.history-record{display:flex;flex-direction:column;gap:26px;}.history-record>.detail-art{position:static;width:100%;}.history-record .card-art-zoom{max-width:320px;width:min(78vw,320px);}.history-record>.record-center,.history-record>.detail-info{width:100%;}.history-panel{padding:20px 15px 16px;}.history-heading h2{font-size:21px;}.history-data-tag{display:none;}.history-controls{gap:9px;margin-block:18px;}.history-mode button{padding:8px 13px;}.history-ranges{margin-left:0;width:100%;justify-content:space-between;}.history-ranges button{flex:1;}.history-value-row strong{font-size:32px;}.history-change>span{font-size:12px;}.history-plot,.history-plot svg{min-height:180px;}.history-grid text{font-size:16px;}.history-summary{gap:15px;}.history-summary>span:last-child{width:100%;}.history-record>.detail-info .price-grid{grid-template-columns:1fr 1fr;}.history-record>.detail-info .price-cell strong{font-size:24px;}.history-chart-wrap{margin-inline:-10px;}.history-empty{min-height:230px;}.history-records td{font-size:9px;padding-inline:3px;}}
