:root{--bg: #0f1d3c;--surface: #142345;--surface-raised: #1c3058;--surface-hover: #223960;--border: #40577e;--text: #f1f5ff;--text-muted: #b8c9e4;--button-text: #0b145f;--accent: #0863ff;--accent-hover: #3d86ff;--accent-text: #85b4ff;--success: #7cdea0;--warning: #ffd073;--error: #ff9b91;--radius: 4px;--highlight: #85b4ff;--highlight-bg: #243e6b}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:linear-gradient(135deg,#03458f,#0757b3,#0d66c6);color:var(--text);line-height:1.6;padding:1rem;min-height:100vh}.app{width:100%;margin:0 auto}@media (min-width: 768px){.app{max-width:600px}}@media (max-width: 767px){body{padding:.75rem}}.brand-header{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-bottom:.75rem}.brand-mark{position:relative;display:inline-block;width:38px;height:42px;flex:none}.brand-card{position:absolute;width:24px;height:33px;border:2px solid #fff;border-radius:3px}.brand-card-yellow{top:1px;left:1px;background:#ffdc20;transform:rotate(-12deg)}.brand-card-blue{top:7px;left:12px;background:#0863ff;transform:rotate(10deg)}.brand-wordmark{color:#fff;font-size:1.7rem;font-weight:800;letter-spacing:-.04em}.brand-wordmark span:last-child{color:#ffdc20}h1{font-size:1.7rem;color:#fff}.subtitle{color:#fff;font-size:.95rem;margin-bottom:.75rem}h2{font-size:1.3rem;margin-bottom:.75rem;color:var(--text)}.hint{color:var(--text-muted);font-size:.9rem;margin-bottom:1rem}section{background:var(--surface);border-radius:var(--radius);padding:1rem;margin-bottom:.75rem;border:1px solid var(--border)}.hidden{display:none}[hidden]{display:none!important}input::placeholder{color:var(--text-muted);opacity:1}.auth-panel{padding:1.25rem}.auth-panel form{display:grid;gap:.65rem}.auth-panel h1{color:var(--text);font-size:1.35rem}.auth-panel label{font-weight:700}.auth-panel input{width:100%;min-height:44px;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);padding:.65rem;font:inherit}.auth-panel button{min-height:44px;border:0;border-radius:var(--radius);background:#ffdc20;color:var(--button-text);padding:.65rem;font:inherit;font-weight:700;cursor:pointer}.auth-panel button:disabled{opacity:.6;cursor:wait}.auth-panel :focus-visible{outline:3px solid var(--accent);outline-offset:2px}.search-bar{display:flex;gap:.5rem;margin-bottom:1rem}.search-input{flex:1;min-width:0;padding:.75rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);font-size:1rem}.search-input:focus{outline:3px solid var(--highlight);outline-offset:2px}.search-button{padding:.75rem 1.5rem;min-height:44px;background:#ffdc20;color:var(--button-text);border:none;border-radius:var(--radius);cursor:pointer;font-size:1rem;transition:background .2s}.search-button:hover{background:#ffe435}.search-button:focus-visible{outline:3px solid var(--highlight);outline-offset:2px}.results-list{display:flex;flex-direction:column;gap:1.25rem}.search-ranked-list{display:grid;gap:.75rem}.url-filter-warning{margin-bottom:.75rem;padding:.75rem;border:1px solid var(--warning);border-radius:var(--radius);color:var(--text);background:var(--surface-raised)}.result-item{width:100%;color:inherit;text-align:left;padding:.75rem 1rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);transition:border-color .2s}.result-item:hover{border-color:var(--accent)}.search-card-group{display:flex;flex-direction:column;gap:1rem;margin-bottom:0}.search-card-name{margin:0;font-size:1.25rem}.search-card-kicker{color:var(--text-muted);font-size:.72rem;font-weight:700;letter-spacing:.09em}.search-set-group{display:flex;flex-direction:column;gap:.75rem;margin-bottom:0;padding:0;border:0;border-radius:0;background:transparent}.search-set-header{margin:0;padding:.7rem .85rem;border-left:3px solid var(--accent);background:var(--surface);text-align:left}.search-set-name{margin:0;font-size:1rem;overflow-wrap:break-word}.search-set-meta{margin-top:.15rem;color:var(--text-muted);font-size:.8rem}.search-set-printings{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:.75rem}.result-name{font-weight:600;font-size:1rem}.result-meta{color:var(--text-muted);font-size:.85rem}.variants-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:.75rem}.printing-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:.85rem;padding:1rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);transition:border-color .2s}.printing-card:hover{border-color:var(--accent)}.printing-header{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem;margin-bottom:.35rem}.printing-details{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;min-width:0}.printing-card-name{color:var(--text);font-size:.95rem;font-weight:700;line-height:1.25}.printing-card-name .printing-field-label{font-size:.78rem}.printing-identity-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:.45rem}.printing-treatment{font-weight:600}.printing-monikers{display:grid;gap:.22rem;min-width:0;overflow-wrap:break-word;color:var(--text);font-size:.82rem;line-height:1.35}.printing-field-label{color:var(--text-muted);font-weight:600}.available-finishes{display:flex;flex-direction:column;gap:.4rem;width:100%;margin-top:.45rem}.available-finishes-label{color:var(--text-muted);font-size:.78rem;font-weight:600}.available-finish-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.finish-badge{min-height:36px;padding:.4rem .75rem;border:1px solid var(--border);border-radius:999px;color:var(--text);background:var(--surface);cursor:pointer;font:inherit;font-size:.82rem;transition:border-color .2s,background .2s}.finish-badge:hover{border-color:var(--accent);background:var(--surface-hover)}.finish-badge:focus-visible{outline:3px solid var(--highlight);outline-offset:2px}.finish-badge-price{margin-left:.35rem;font-size:.75rem;font-weight:600;color:var(--text-muted)}.finish-badge-activity,.finish-badge-activity-date{display:block;max-width:13rem;margin-top:.2rem;color:var(--text-muted);font-size:.7rem;line-height:1.25;white-space:normal}.finish-badge-activity-date{margin-top:.1rem}.printing-image-link{display:block;border-radius:6px;overflow:hidden;align-self:start}.printing-image-link:focus-visible{outline:3px solid var(--highlight);outline-offset:2px}.printing-image{display:block;width:100%;height:auto;aspect-ratio:488 / 680;object-fit:cover}.list-image{width:84px}.printing-image-placeholder{display:flex;align-items:center;justify-content:center;width:84px;aspect-ratio:488 / 680;padding:.4rem;border:1px dashed var(--border);border-radius:6px;color:var(--text-muted);background:var(--surface);font-size:.7rem;line-height:1.2;text-align:center}.printing-meta{display:flex;flex-wrap:wrap;gap:.3rem .55rem;margin-bottom:.75rem;color:var(--text-muted);font-size:.8rem}.printing-set-primary{font-weight:700;font-size:1rem}.printing-set-secondary,.printing-collector{color:var(--text-muted);font-size:.85rem}.printing-rarity{color:var(--text-muted);font-size:.8rem;text-transform:capitalize}.printing-language{color:var(--text-muted)}.finish-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.finish-button{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .9rem;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;font-size:.9rem;transition:border-color .2s,background .2s;min-height:44px}.finish-button:hover{border-color:var(--accent)}.finish-button.selected{border:2px solid var(--highlight);background:var(--highlight-bg);font-weight:600}.finish-button.selected:before{content:"✓";font-weight:700;color:var(--highlight)}.finish-label{font-size:.9rem}.finish-price-badge{font-size:.7rem;font-weight:600;padding:.1rem .35rem;border-radius:3px;text-transform:uppercase;letter-spacing:.02em}.finish-price-badge.has-price{background:#4caf5033;color:var(--success)}.finish-price-badge.no-price{background:#ff980026;color:var(--warning)}.summary-card{display:grid;grid-template-columns:140px minmax(0,1fr);gap:1rem;padding:1rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius)}.summary-image{width:140px}.summary-details{display:flex;min-width:0;flex-direction:column;gap:.25rem}.summary-name{font-weight:700;font-size:1.1rem}.summary-set{display:flex;align-items:baseline;gap:.4rem}.summary-set-primary{font-weight:600;font-size:1rem}.summary-set-secondary{color:var(--text-muted);font-size:.85rem}.summary-meta{display:flex;gap:.5rem;color:var(--text-muted);font-size:.85rem}.summary-finish{color:var(--accent-text);font-weight:600;font-size:.95rem}.live-region{margin-top:.5rem;color:var(--text-muted);font-size:.85rem;font-style:italic;min-height:1.2em}.price-amount{font-size:2.5rem;font-weight:700;color:var(--success)}.price-amount.stale{color:var(--warning)}.price-amount.missing{color:var(--text-muted);font-size:1.5rem}.price-amount.unavailable{color:var(--error);font-size:1.5rem}.price-label{color:var(--text-muted);font-size:.9rem}.price-freshness{display:inline-block;padding:.2rem .6rem;border-radius:4px;font-size:.8rem;font-weight:600;text-transform:uppercase}.price-freshness.fresh{background:#4caf5033;color:var(--success)}.price-freshness.stale{background:#ff980033;color:var(--warning)}.price-timestamp{color:var(--text-muted);font-size:.85rem}.price-identity{color:var(--text-muted);font-size:.8rem;margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--border)}.price-refresh-action{margin-top:1rem}.refresh-hint{color:var(--text-muted);font-size:.9rem;margin-bottom:.5rem}.data-details{margin-top:1rem;border-top:1px solid var(--border);padding-top:.5rem}.data-details>summary{cursor:pointer;color:var(--text-muted);font-size:.85rem;font-weight:500;padding:.25rem 0;list-style:none;-webkit-user-select:none;user-select:none}.data-details>summary:before{content:"▸";display:inline-block;margin-right:.4rem;transition:transform .2s}.data-details[open]>summary:before{transform:rotate(90deg)}.data-details[open]>summary{margin-bottom:.5rem}.data-details-content{display:flex;flex-direction:column;gap:.2rem;padding-bottom:.5rem}.data-detail-row{display:flex;justify-content:space-between;gap:1rem;font-size:.8rem}.data-detail-label{color:var(--text-muted);font-weight:500}.data-detail-value{color:var(--text);text-align:right;word-break:break-all}.mtgjson-references{margin-top:1rem}.mtgjson-refs-header{font-size:.9rem;font-weight:600;color:var(--text);margin-bottom:.25rem}.mtgjson-refs-note{font-size:.75rem;color:var(--text-muted);margin:0 0 .75rem;line-height:1.4}.mtgjson-refs-empty{font-size:.8rem;color:var(--text-muted);font-style:italic}.mtgjson-refs-list{display:flex;flex-direction:column;gap:.4rem}.mtgjson-ref-row{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;font-size:.85rem}.mtgjson-ref-marketplace{flex:1 1 12rem;color:var(--text);font-weight:500}.mtgjson-ref-price{flex:0 0 auto;color:var(--text);font-variant-numeric:tabular-nums}.mtgjson-ref-date{flex:1 1 10rem;text-align:right;color:var(--text-muted);font-size:.75rem}.cardkingdom-offer-comparison{margin-top:.75rem;padding:.65rem .75rem;border-left:3px solid var(--highlight);background:color-mix(in srgb,var(--highlight) 8%,transparent);font-size:.85rem;line-height:1.4}.cardkingdom-offer-comparison p{margin:0}.cardkingdom-offer-note{margin-top:.35rem!important;color:var(--text-muted);font-size:.75rem}.mtgjson-refs-agreement{margin-top:.5rem;font-size:.75rem;font-weight:500;padding:.25rem .5rem;border-radius:3px;display:inline-block}.mtgjson-refs-no-live-price{margin-bottom:.5rem;font-size:.8rem;font-weight:500;padding:.4rem .6rem;border-radius:4px;background:#eab3081f;color:var(--warning)}.analysis-agreement{margin:.5rem 0;font-size:.8rem;font-weight:500;padding:.4rem .6rem;border-radius:4px}.agreement-confirmed{background:#22c55e1f;color:var(--success)}.agreement-divergent{background:#ef44441f;color:var(--error)}.agreement-insufficient{background:#eab3081f;color:var(--warning)}.summary-data-details{margin-top:.75rem}.refresh-price-button{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1.2rem;font-size:1rem;font-weight:600;color:var(--bg);background:var(--highlight);border:none;border-radius:6px;cursor:pointer;transition:opacity .2s}.refresh-price-button:hover:not(:disabled){opacity:.85}.refresh-price-button:disabled{opacity:.5;cursor:wait}.refresh-progress{padding:.5rem 0;color:var(--highlight);font-size:.9rem;font-weight:500;margin-bottom:.5rem}.history-display{display:flex;flex-direction:column;gap:.25rem}.history-point{display:flex;justify-content:space-between;padding:.5rem;background:var(--bg);border-radius:4px;font-size:.9rem}.history-date{color:var(--text-muted)}.history-value{font-weight:600}.history-controls{display:flex;gap:.25rem;margin-bottom:.5rem;flex-wrap:wrap}.history-range-button{padding:.3rem .7rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--text-muted);cursor:pointer;font-size:.85rem;font-weight:600}.history-range-button.active{background:var(--accent);color:#fff;border-color:var(--accent)}.history-stats{display:flex;gap:1rem;flex-wrap:wrap;font-size:.85rem;color:var(--text-muted);margin-bottom:.5rem}.history-stat strong{color:var(--text);font-weight:600}.history-chart{color:var(--success);margin-bottom:.75rem}.sparkline{width:100%;height:60px;display:block}.price-supply{color:var(--text-muted);font-size:.85rem}.price-stale-hint{color:var(--warning);font-size:.85rem;margin-top:.25rem}.comparison-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.25rem}.comparison-row{padding:0}.comparison-select{width:100%;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.5rem .75rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--text);cursor:pointer;text-align:left;font-size:.9rem}.comparison-select:hover:not(:disabled){border-color:var(--accent)}.comparison-select:disabled{cursor:default}.comparison-row.current .comparison-select{border-color:var(--accent);background:var(--highlight-bg)}.comparison-set{flex:1 1 auto}.comparison-price{font-weight:700;white-space:nowrap}.comparison-badge{display:inline-block;padding:.1rem .4rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;background:var(--accent);color:#fff;margin-left:.25rem}.comparison-tag{display:inline-block;padding:.1rem .4rem;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase;margin-left:.25rem}.comparison-tag.low{background:#4caf5033;color:var(--success)}.comparison-tag.high{background:#f4433626;color:var(--error)}.comparison-supply{color:var(--text-muted);font-size:.8rem;flex-basis:100%}.loading{color:var(--text-muted);font-style:italic}.error-message{color:var(--error);padding:.75rem;background:#f443361a;border-radius:var(--radius)}.purchase-input-row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.purchase-input-row label{font-weight:600}.purchase-input-row input{width:100px;padding:.5rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--text)}.purchase-input-row button{padding:.5rem 1rem;border:none;border-radius:var(--radius);background:var(--accent);color:#fff;cursor:pointer;font-weight:600}.analysis-card{padding:1rem;background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);margin-top:.5rem}.analysis-verdict{font-size:1.4rem;font-weight:700;margin-bottom:.5rem}.verdict-great-buy,.verdict-good-buy{color:var(--success)}.verdict-fair{color:var(--text)}.verdict-expensive{color:var(--warning)}.verdict-very-expensive{color:var(--error)}.verdict-value-uncertain{color:var(--warning)}.verdict-basic{color:var(--text-muted)}.verdict-insufficient{color:var(--warning)}.verdict-unavailable{color:var(--error)}.analysis-offer{font-size:1.1rem;margin-bottom:.5rem}.analysis-fair-value{margin-bottom:.5rem}.analysis-savings{color:var(--success);font-weight:600;margin-bottom:.25rem}.analysis-overpayment{color:var(--error);font-weight:600;margin-bottom:.25rem}.analysis-references{font-size:.9rem;color:var(--text-muted);margin:.5rem 0}.analysis-references>div{margin:.15rem 0}.analysis-trend,.analysis-confidence{font-size:.9rem;margin:.25rem 0}.analysis-reasons ul,.analysis-limitations ul{margin:.25rem 0;padding-left:1.5rem;font-size:.85rem;color:var(--text-muted)}.analysis-methodology{font-size:.75rem;color:var(--text-muted);margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--border)}.analysis-disclaimer{font-size:.8rem;color:var(--text-muted);margin:0 0 .75rem;padding:.5rem .75rem;background:var(--surface-raised, rgba(0, 0, 0, .03));border-left:3px solid var(--border);border-radius:2px}.analysis-user-message{padding:.5rem;background:#ff98001a;border-radius:var(--radius);margin:.5rem 0}@media (max-width: 767px){h1{font-size:1.5rem}h2{font-size:1.1rem}.variants-grid{grid-template-columns:1fr;gap:.5rem}.printing-card{padding:.75rem}.summary-card{grid-template-columns:96px minmax(0,1fr)}.summary-image{width:96px}.printing-set-primary{font-size:1.05rem}.finish-button{padding:.6rem 1rem;font-size:.95rem;min-height:48px}.price-amount{font-size:2rem}.search-bar{flex-direction:column}.search-button{width:100%}.data-details{margin-top:.75rem}.data-details>summary{padding:.5rem 0;min-height:44px;display:flex;align-items:center}.data-detail-row{font-size:.85rem;padding:.2rem 0}.finish-price-badge{font-size:.65rem}.refresh-price-button{width:100%;min-height:48px;font-size:1rem}.price-refresh-action{margin-top:.75rem}.comparison-select{min-height:48px}}@media (prefers-reduced-motion: reduce){*{transition:none!important;scroll-behavior:auto!important}}.variant-filters{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-end;margin:.75rem 0;padding:.75rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.filter-row{display:flex;flex-direction:column;gap:.25rem}.filter-row label{font-size:.8rem;color:var(--text-muted)}.filter-row select,.filter-row input{padding:.4rem .5rem;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:4px;font-size:.9rem;min-width:120px}.visible-count{font-size:.85rem;color:var(--text-muted);margin:.5rem 0}.show-more-button{display:block;width:100%;padding:.6rem;margin:.75rem 0;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;font-size:.95rem;text-align:center}.show-more-button.hidden{display:none}.show-more-button:hover{background:var(--surface-hover)}@media (max-width: 767px){.variant-filters{flex-direction:column;align-items:stretch}.filter-row select,.filter-row input{min-width:0;width:100%}}.main-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid rgba(255,255,255,.45)}.nav-item{padding:.5rem 1rem;min-height:44px;min-width:44px;background:transparent;border:1px solid rgba(255,255,255,.45);border-radius:var(--radius);color:#fff;cursor:pointer;font-size:.95rem;transition:all .2s}.nav-item:hover{color:var(--text);background:var(--surface-hover)}.nav-item.active{color:#ffdc20;border-color:#ffdc20}.nav-item.active:hover{background:transparent}.nav-item:focus-visible{outline:3px solid #ffdc20;outline-offset:2px}.view{display:none}.view.active{display:block}.workflow-step{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:.75rem}.step-summary{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.step-summary.hidden{display:none}.step-label{font-size:.75rem;font-weight:700;letter-spacing:.05em;color:var(--text-muted);text-transform:uppercase;min-width:90px}.step-value{font-size:1rem;font-weight:500;color:var(--text);flex:1;min-width:0;overflow-wrap:break-word}.change-button{padding:.25rem .75rem;background:transparent;border:1px solid var(--border);border-radius:4px;color:var(--text-muted);cursor:pointer;font-size:.85rem;transition:all .2s}.change-button:hover{color:var(--accent-text);border-color:var(--accent)}.step-active{padding-top:.5rem}.step-instruction{color:var(--text);font-size:1rem;margin-bottom:.75rem;font-weight:500}.printing-list{display:flex;flex-direction:column;gap:.4rem}.printing-row{display:grid;grid-template-columns:48px 1fr auto;gap:.75rem;align-items:center;width:100%;padding:.6rem .75rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;color:inherit;text-align:left;transition:border-color .2s}.printing-row:hover{border-color:var(--accent)}.printing-row-details{display:flex;flex-direction:column;gap:.15rem;min-width:0}.printing-row-set{font-weight:600;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.printing-row-secondary{color:var(--text-muted);font-weight:400;font-size:.85rem}.printing-row-year{color:var(--text-muted);font-size:.85rem}.printing-row-price{font-weight:600;font-size:.95rem;color:var(--text);text-align:right;white-space:nowrap}.printing-row-price.no-price{color:var(--text-muted);font-weight:400;font-size:.85rem}.printing-row .printing-image,.printing-row .printing-image-placeholder{width:48px;height:48px;object-fit:cover;border-radius:4px}.printing-summary-card{display:grid;grid-template-columns:48px 1fr auto;gap:.75rem;align-items:center;width:100%}.printing-summary-card .printing-image,.printing-summary-card .printing-image-placeholder{width:48px;height:48px;object-fit:cover;border-radius:4px}.printing-summary-card .printing-image-link{display:block;width:48px;height:48px}.printing-summary-details{display:flex;flex-direction:column;gap:.15rem;min-width:0}.printing-summary-set{font-weight:600;font-size:.95rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.printing-summary-secondary{color:var(--text-muted);font-weight:400;font-size:.85rem}.printing-summary-price{font-weight:600;font-size:.95rem;color:var(--text);text-align:right;white-space:nowrap}.printing-summary-price.no-price{color:var(--text-muted);font-weight:400;font-size:.85rem}.printing-row .printing-image-link{display:block;width:48px;height:48px}.finish-options{display:flex;flex-wrap:wrap;gap:.5rem}.finish-option{padding:.6rem 1.25rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);cursor:pointer;font-size:1rem;transition:all .2s}.finish-option:hover{border-color:var(--accent);background:var(--surface-hover)}.finish-option.selected{border-color:var(--accent);background:var(--accent);color:#fff}.condition-listings-section{background:var(--surface);border:2px solid var(--border);border-radius:12px;padding:1.25rem;margin:1rem 0}.condition-listings-section h2{margin:0 0 .75rem}.condition-listings-section dl{display:grid;grid-template-columns:1fr auto;gap:.5rem 1rem}.condition-listings-section dd{margin:0;font-weight:700}.aggregate-assessment-limit{color:var(--text-muted)}.condition-options{display:flex;flex-wrap:wrap;gap:.5rem}.condition-option{padding:.6rem 1.25rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);cursor:pointer;font-size:1rem;transition:all .2s}.condition-option:hover{border-color:var(--accent);background:var(--surface-hover)}.condition-option.disabled{opacity:.5;cursor:not-allowed}.condition-option.disabled:hover{border-color:var(--border);background:var(--bg)}.condition-option.selected{border-color:var(--accent);background:var(--accent);color:#fff}.condition-note{display:block;font-size:.7rem;color:var(--text-muted);font-style:italic}.aggregate-notice{font-size:.85rem;color:var(--text-muted);font-style:italic;margin:0 0 .75rem}.offer-input-row{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem}.currency-prefix{font-size:1.5rem;font-weight:700;color:var(--text)}.offered-price-input{width:120px;padding:.75rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);font-size:1.5rem;font-weight:600}.offered-price-input:focus{outline:none;border-color:var(--accent)}.primary-action{padding:.75rem 2rem;background:#ffdc20;color:var(--button-text);border:none;border-radius:var(--radius);cursor:pointer;font-size:1.1rem;font-weight:600;transition:background .2s}.primary-action:hover{background:#ffe435}.verdict-section{background:var(--surface);border:2px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin-bottom:1rem}.analysis-verdict{font-size:2rem;font-weight:800;text-align:center;margin-bottom:.5rem;padding:.75rem;border-radius:var(--radius)}.verdict-great-buy{color:var(--success);background:#4caf501a}.verdict-good-buy{color:var(--success);background:#8bc34a1a}.verdict-fair{color:var(--text);background:#ffffff0d}.verdict-expensive{color:var(--warning);background:#ff98001a}.verdict-very-expensive{color:var(--error);background:#f443361a}.verdict-value-uncertain,.verdict-insufficient,.verdict-unavailable{color:var(--text-muted);background:#8892b01a}.verdict-basic{color:var(--text);background:#ffffff0d}.analysis-why-blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;margin:1rem 0}.why-block{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:.75rem 1rem}.why-label{font-size:.75rem;font-weight:700;letter-spacing:.05em;color:var(--text-muted);text-transform:uppercase;margin-bottom:.25rem}.why-value{font-size:1.1rem;font-weight:600;color:var(--text);margin-bottom:.15rem}.why-detail{font-size:.85rem;color:var(--text-muted)}.analysis-confidence{margin:1rem 0;padding:.75rem 1rem;background:var(--bg);border-radius:var(--radius);border:1px solid var(--border)}.confidence-explanation{font-size:.9rem;color:var(--text-muted);margin-top:.25rem}.analysis-additional-refs,.analysis-reasons,.analysis-limitations{margin-top:.75rem}.analysis-additional-refs summary,.analysis-reasons summary,.analysis-limitations summary{cursor:pointer;color:var(--text-muted);font-size:.9rem;padding:.4rem 0}.analysis-ref-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.4rem;padding:.5rem 0;font-size:.85rem;color:var(--text-muted)}.analysis-reasons ul,.analysis-limitations ul{padding-left:1.5rem;font-size:.85rem;color:var(--text-muted)}.selection-identity{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:.75rem}.selection-identity-card{display:flex;flex-direction:column;gap:.15rem}.selection-identity-name{font-size:1.2rem;font-weight:700;color:var(--text)}.selection-identity-set{font-size:.95rem;color:var(--text-muted)}.selection-identity-meta{font-size:.9rem;color:var(--text-muted)}.market-snapshot-section,.market-activity-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;margin-bottom:.75rem}.market-snapshot-card{display:flex;flex-direction:column;gap:.4rem}.snapshot-row{display:flex;justify-content:space-between;align-items:baseline;padding:.4rem 0;border-bottom:1px solid var(--border)}.snapshot-row:last-child{border-bottom:none}.snapshot-label{color:var(--text-muted);font-size:.9rem}.snapshot-value{font-weight:600;color:var(--text)}.market-snapshot-empty{color:var(--text-muted);font-size:.9rem}.snapshot-tcgplayer-link{color:var(--accent-text);font-size:.9rem;align-self:flex-start;margin-top:.2rem}.snapshot-tcgplayer-link:visited{color:var(--accent-text)}.snapshot-tcgplayer-note{color:var(--text-muted);font-size:.78rem}.mtgjson-references{margin-top:.75rem;padding-top:.5rem;border-top:1px solid var(--border)}.mtgjson-references-header{font-size:.85rem;font-weight:600;color:var(--text-muted);margin-bottom:.3rem}.mtgjson-ref-row .snapshot-date{font-size:.8rem;color:var(--text-muted);margin-left:.5rem}.mtgjson-references-note{font-size:.78rem;color:var(--text-muted);font-style:italic;margin-top:.3rem}.stale-label{display:inline-block;margin-left:.4rem;padding:.05rem .35rem;font-size:.72rem;font-weight:700;text-transform:uppercase;color:var(--button-text);background:var(--warning, #b8860b);border-radius:3px}.market-activity-card{display:flex;flex-direction:column;gap:.75rem}.activity-summary{display:flex;flex-wrap:wrap;gap:1rem}.activity-row{display:flex;flex-direction:column;gap:.1rem}.activity-label{font-size:.75rem;font-weight:700;letter-spacing:.05em;color:var(--text-muted);text-transform:uppercase}.activity-value{font-size:1rem;font-weight:600;color:var(--text)}.activity-value .trend-up{color:var(--success)}.activity-value .trend-down{color:var(--error)}.activity-table{width:100%;border-collapse:collapse;font-size:.85rem}.activity-table th{text-align:left;padding:.4rem .5rem;color:var(--text-muted);font-weight:600;border-bottom:1px solid var(--border)}.activity-table-row td{padding:.35rem .5rem;border-bottom:1px solid var(--border)}.activity-date{color:var(--text-muted)}.activity-price{font-weight:600;color:var(--text)}.market-activity-empty{color:var(--text-muted)}.price-history-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:.75rem 1.25rem;margin-bottom:.75rem}.collapsible-summary{cursor:pointer;font-weight:600;color:var(--text);padding:.4rem 0}.live-region{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.recent-checks-list{display:flex;flex-direction:column;gap:.5rem}.recent-check-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem;width:100%;padding:.75rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;color:inherit;text-align:left;transition:border-color .2s}.recent-check-row:hover{border-color:var(--accent)}.recent-check-name{font-weight:700;font-size:1rem;flex-basis:100%}.recent-check-meta{color:var(--text-muted);font-size:.85rem}.recent-check-offer{font-size:.9rem;color:var(--text)}.recent-check-verdict{font-weight:700;font-size:.9rem;padding:.15rem .5rem;border-radius:4px}.recent-check-date{color:var(--text-muted);font-size:.8rem;margin-left:auto}.refresh-progress{padding:.5rem 0;color:var(--text-muted);font-size:.9rem;font-style:italic}.fetch-notice:not(:empty),.history-fetch-notice{margin:.5rem 0;color:var(--text-muted);font-size:.9rem}.fetch-notice p,.history-fetch-notice p{margin:.35rem 0}.condition-option:disabled{cursor:wait}@media (max-width: 767px){.nav-item{font-size:.85rem;padding:.5rem .75rem}.printing-row{grid-template-columns:40px 1fr auto;gap:.5rem;padding:.5rem}.printing-row .printing-image,.printing-row .printing-image-placeholder,.printing-row .printing-image-link{width:40px;height:40px}.analysis-why-blocks{grid-template-columns:1fr}.analysis-verdict{font-size:1.5rem}.offered-price-input{width:100px;font-size:1.25rem}.activity-table{font-size:.8rem}}.printing-search-filters{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:.5rem;margin-bottom:1rem}.printing-search-filters .set-search-input{flex:1 1 200px;min-width:120px;padding:.75rem;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);font-size:1rem;height:2.75rem;cursor:pointer;transition:border-color .2s}.printing-search-filters .set-search-input:hover{border-color:var(--accent)}.printing-search-filters .set-search-input:focus{outline:none;border-color:var(--accent)}.printing-search-filters .set-search-input:focus-visible{outline:3px solid var(--highlight);outline-offset:2px}.printing-search-filters .more-filters-toggle{flex:0 0 auto;padding:.75rem 1rem;background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);font-size:1rem;height:2.75rem;cursor:pointer;transition:border-color .2s,background .2s}.printing-search-filters .more-filters-toggle:hover{border-color:var(--accent);background:var(--surface-hover)}.printing-search-filters .more-filters-toggle:focus-visible{outline:3px solid var(--highlight);outline-offset:2px}.more-filters{margin-top:0;margin-bottom:1rem;padding:1rem 1.25rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.filter-group{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-bottom:.5rem}.filter-group-label{font-weight:600;font-size:.85rem;margin-right:.25rem}.filter-chip{padding:.25rem .6rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--text);cursor:pointer;font-size:.85rem}.filter-chip[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}.secondary-button{min-height:44px;padding:.5rem 1rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text);font:inherit;font-size:.9rem;cursor:pointer;transition:border-color .2s,background .2s}.secondary-button:hover:not(:disabled){border-color:var(--accent);background:var(--surface-hover)}.secondary-button:focus-visible{outline:3px solid var(--highlight);outline-offset:2px}.secondary-button:disabled{opacity:.5;cursor:default}.clear-filters-button{margin-top:.25rem}.clear-link-filters{display:block;margin-top:.5rem}.reported-sales-filter{display:flex;align-items:flex-start;gap:.4rem;font-size:.85rem;cursor:pointer}.reported-sales-filter input{flex:none;accent-color:var(--accent)}.filter-hint{margin:0 0 .75rem;color:var(--text-muted);font-size:.8rem}.search-order-control{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:0 0 .75rem}.search-order-control label{color:var(--text-muted);font-size:.85rem;font-weight:600}.search-order-control select{max-width:100%;padding:.5rem;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);font:inherit;font-size:.9rem;cursor:pointer}.search-order-control select:focus-visible{outline:3px solid var(--highlight);outline-offset:2px}.search-pager:not([hidden]){display:flex;justify-content:center;align-items:center;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.search-pager span{color:var(--text-muted);font-size:.9rem}@media (max-width: 767px){.printing-search-filters{flex-direction:column;align-items:stretch}.printing-search-filters .set-search-input,.printing-search-filters .more-filters-toggle{width:100%;flex-basis:auto}.clear-filters-button{width:100%}}.step-card-summary{margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}.step-card-active.selection-made .search-bar,.step-card-active.selection-made .printing-search-filters,.step-card-active.selection-made .more-filters,.step-card-active.selection-made .search-order-control,.step-card-active.selection-made .search-pager,.step-card-active.selection-made .step-instruction{display:none}.result-item.selected-printing{border-color:var(--accent);border-width:2px;background:var(--highlight-bg)}.result-item.selected-printing:hover{border-color:var(--accent)}.finish-badge.selected{background:var(--accent);color:#fff;border-color:var(--accent);font-weight:600}.finish-badge.selected:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.evidence-page-status{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;margin-bottom:.75rem}.evidence-page-status.hidden{display:none}.evidence-state p{color:var(--text-muted);font-size:.9rem}.evidence-state h2{margin:0 0 .5rem;font-size:1.05rem}.evidence-state--error,.evidence-state--safety{border-color:var(--warning, #b8860b)}.evidence-state .change-button,.evidence-state .primary-action,.snapshot-notes{margin-top:.5rem}.snapshot-note{color:var(--text-muted);font-size:.82rem;margin:.2rem 0}.snapshot-note .optional-retry-button{margin-left:.4rem}.snapshot-date{font-size:.8rem;color:var(--text-muted);margin-left:.5rem}.activity-note{color:var(--text-muted);font-size:.82rem;margin:.25rem 0 0}.retry-button{background:none;border:none;padding:0;color:var(--accent-text);font:inherit;text-decoration:underline;cursor:pointer}.retry-button:hover{color:var(--accent-hover)}.history-empty{color:var(--text-muted);font-size:.9rem}.snapshot-row,.mtgjson-ref-row,.mtgjson-refs-header{position:relative}.info-button{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;margin-left:.35rem;vertical-align:middle;border-radius:50%;border:1px solid var(--text-muted);background:transparent;color:var(--text-muted);cursor:help;padding:0;flex:none}.info-button:before{content:"?";font-size:.7rem;font-weight:700;line-height:1}.info-button:hover,.info-button:focus-visible{color:var(--text);border-color:var(--text)}.info-button:focus-visible{outline:2px solid var(--accent-text);outline-offset:1px}.info-tooltip{position:absolute;top:100%;left:0;right:0;z-index:20;margin-top:.25rem;padding:.5rem .65rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);font-size:.8rem;font-weight:400;line-height:1.4;text-align:left;white-space:normal}
