[hidden]{display:none!important}.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}
:root{--page:#f7f8f4;--sidebar:#fff;--sidebar-ink:#17211b;--sidebar-muted:#65746c;--sidebar-line:#e0e5dd;--nav-active:#eaf0e5;--nav-active-ink:#233e32;--on-primary:#f8faf9;--link:#254d3e;--focus:#c76335;--hover:#f0f4ed;--font-body:'DM Sans',system-ui,sans-serif;--font-heading:Manrope,system-ui,sans-serif;--radius:10px;--radius-small:7px;--content-pad:32px;--content-max:1650px;--card-gap:17px;--card-pad:14px;--picture-height:174px;--grid-desktop:4;--grid-medium:3;--grid-small:2;background:var(--page);color:var(--ink);font-family:var(--font-body)}
body,.auth-form,dialog{background:var(--page);color:var(--ink)}h1,h2,h3,.brand,.figure-name,.stat-value,.market-condition>strong{font-family:var(--font-heading)}a,table button.link{color:var(--link)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--focus)}.eyebrow,.hint,.muted,.source-caption,.attribution,.stat-label,.result-bar,.figure-sub,.figure-code,.table-id,.card-note,.page-heading p,.meta-list dt,.component label small{color:var(--muted)}
.btn,.panel,.table-wrap,.stat,.figure-card,.component,.market-panel,.dialog-head{background:var(--paper);border-color:var(--line);border-radius:var(--radius)}.btn,.badge,.segments,.nav button,.notes-box,.market-condition,.dialog-actions .btn{border-radius:var(--radius-small)}.btn{color:var(--ink)}.btn:hover{background:var(--hover);border-color:var(--muted)}.btn.primary,.btn.primary:hover{background:var(--green);border-color:var(--green);color:var(--on-primary)}.btn.primary:hover{filter:brightness(.94)}.btn.ghost{background:transparent;border-color:transparent}.btn.danger{color:var(--danger)}.topbar{background:var(--paper);color:var(--muted)}.topbar .dot{background:var(--green)}
.field input,.field select,.field textarea,.search,input.control,select.control,.collection-tools select{background:var(--paper);color:var(--ink);border-color:var(--line);border-radius:var(--radius-small)}.field input::placeholder,.search::placeholder{color:var(--muted)}input[type=checkbox],input[type=range]{accent-color:var(--green)}th,.figure-picture,.detail-image,.stat-icon,.market-condition,.segments,.file-drop,.note-banner{background:var(--wash);color:var(--ink);border-color:var(--line)}td{border-color:var(--line)}.price,.card-bottom .price{color:var(--ink)}.price small{color:var(--muted)}.card-bottom,.figure-picture{border-color:var(--line)}.card-bottom .open{background:var(--wash);color:var(--link)}.segments button{color:var(--muted)}.segments button.active{background:var(--paper);color:var(--ink)}.notes-box{background:var(--wash);color:var(--ink)}.figure-picture .copy-count{background:var(--paper);color:var(--muted)}.figure-picture .figure-fallback,.detail-image svg{color:var(--muted)}.badge.outline{color:var(--ink)}
.sidebar{background:var(--sidebar);color:var(--sidebar-ink);border-color:var(--sidebar-line)}.sidebar .brand,.sidebar .account{color:var(--sidebar-ink)}.sidebar .brand small,.nav-label,.private-note{color:var(--sidebar-muted)}.private-note{border-color:var(--sidebar-line)}.nav button{color:var(--sidebar-muted)}.nav button.active{background:var(--nav-active);color:var(--nav-active-ink)}.nav button:hover{background:var(--nav-active)}.nav .count,.avatar{background:var(--nav-active);color:var(--nav-active-ink)}.sidebar .btn.ghost{color:var(--sidebar-ink)}
.content{max-width:var(--content-max);padding:var(--content-pad)}.cards{grid-template-columns:repeat(var(--grid-desktop),minmax(0,1fr));gap:var(--card-gap)}.figure-info{padding:var(--card-pad)}/* A bounded, out-of-flow image cannot enlarge a grid track or cover copy text. */
.figure-picture{height:var(--picture-height);position:relative;display:block;overflow:hidden;isolation:isolate;padding:0}
.figure-picture img,.figure-picture .figure-fallback{position:absolute;inset:16px;width:calc(100% - 32px);height:calc(100% - 32px);min-width:0;min-height:0;max-width:calc(100% - 32px);max-height:calc(100% - 32px);margin:0;display:block;object-fit:contain;object-position:center;pointer-events:none}
.figure-info{position:relative;background:var(--paper)}.card-flags{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.figure-name{font-size:16px}.figure-name-button{border:0;background:none;padding:0;text-align:left;color:inherit;cursor:pointer;width:100%;font:inherit;line-height:inherit}.figure-sub{gap:5px;flex-wrap:wrap}.card-notes{font-size:14px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:6px 0}.card-bottom{min-height:38px;gap:8px}.attribution{font-size:14px;padding-top:24px}.dialog-head{border-radius:0}.dialog-body{background:var(--page)}dialog{border-radius:var(--radius)}#toast{background:var(--green);color:var(--on-primary);border-radius:var(--radius)}#toast.error{background:#8d3535;color:#fff}.appearance-unsaved{padding:4px 8px;border:1px solid var(--line);border-radius:var(--radius-small);background:var(--wash);color:var(--ink);font-size:14px}
:root[data-tone=dark] .figure-picture img,:root[data-tone=dark] .detail-image img{mix-blend-mode:normal}:root[data-density=compact] .panel{padding:17px}:root[data-density=compact] .stat{padding:12px 14px}:root[data-density=compact] td,:root[data-density=compact] th{padding:9px 12px}:root[data-density=compact] .nav button{padding-top:9px;padding-bottom:9px}:root[data-show-stats=false] .collection-stats,:root[data-show-price-note=false] .collection-price-note{display:none}
:root[data-hidden-fields~=image] .card-image,:root[data-hidden-fields~=identifier] .card-identifier,:root[data-hidden-fields~=theme] .card-theme,:root[data-hidden-fields~=year] .card-year,:root[data-hidden-fields~=condition] .card-condition,:root[data-hidden-fields~=notes] .card-copy-notes,:root[data-hidden-fields~=location] .card-location,:root[data-hidden-fields~=checklist] .card-checklist,:root[data-hidden-fields~=price] .card-price,:root[data-hidden-fields~=duplicates] .card-duplicates,:root[data-hidden-fields~=source] .card-source{display:none}
.appearance-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}.appearance-panel{margin-bottom:18px}.appearance-panel h2{font-size:18px}.appearance-panel .hint{margin-top:12px}.appearance-colors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.color-inputs{display:flex;align-items:center;gap:8px}.field .color-inputs input[type=color]{width:46px;height:42px;min-width:46px;padding:3px;cursor:pointer}.color-inputs input[type=text]{min-width:0;font-family:ui-monospace,monospace}.palette-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.palette-preset{border:1px solid var(--line);border-radius:var(--radius-small);padding:10px 6px;background:var(--paper);font-size:14px;line-height:1.4;color:var(--ink);min-width:0}.palette-preset[aria-pressed=true]{outline:2px solid var(--link);outline-offset:1px}.palette-swatches{display:flex;justify-content:center;gap:2px;margin-bottom:8px}.palette-swatches i{width:14px;height:20px;border:1px solid #8884;border-radius:3px}.appearance-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;border:0;margin:0;padding:0}.appearance-check{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:400;line-height:1.4}.appearance-check input{width:17px;height:17px;flex:none}.field input[type=range]{padding:5px 0;background:transparent;border:0}.field output{float:right;color:var(--muted);font-weight:400}.appearance-preview{position:sticky;top:20px;min-width:0}.appearance-preview h2{font-size:18px;overflow-wrap:anywhere;margin:12px 0}.appearance-preview #appearance-preview-content{margin:18px 0}.appearance-preview .figure-card{max-width:100%}.appearance-preview .figure-picture{width:100%}.appearance-preview table{min-width:560px}.appearance-preview .figure-name{min-height:0}.appearance-preview>.hint:last-child{margin-bottom:0}.appearance-savebar{position:sticky;bottom:12px;z-index:4;display:grid;gap:12px;padding:15px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 20px #0001}.appearance-savebar>span{font-size:15px;color:var(--muted)}.appearance-savebar .row{gap:8px}.appearance-savebar .primary{margin-left:auto}
:root[data-navigation=top] .shell{display:block}:root[data-navigation=top] .sidebar{height:auto;position:sticky;top:0;z-index:10;padding:17px 28px;display:grid;grid-template-columns:auto 1fr;gap:14px;border-right:0;border-bottom:1px solid var(--sidebar-line)}:root[data-navigation=top] .sidebar .brand{padding:0;margin:0;max-width:400px}:root[data-navigation=top] .nav-label,:root[data-navigation=top] .private-note{display:none}:root[data-navigation=top] .nav{grid-column:1/-1;grid-row:2;display:flex;overflow:auto;gap:4px}:root[data-navigation=top] .nav button{white-space:nowrap}:root[data-navigation=top] .sidebar-bottom{grid-column:2;grid-row:1;margin:0;padding:0;justify-self:end}:root[data-navigation=top] .account{margin:0}:root[data-navigation=top] .account span{max-width:220px}:root[data-navigation=top] .sidebar .brand span{min-width:0;overflow-wrap:anywhere}
@media(max-width:1180px){.cards{grid-template-columns:repeat(var(--grid-medium),minmax(0,1fr))}.appearance-layout{grid-template-columns:minmax(0,1fr) 260px}.palette-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:850px){.cards{grid-template-columns:repeat(var(--grid-small),minmax(0,1fr))}.appearance-layout{grid-template-columns:1fr}.appearance-preview{position:static;max-width:100%;order:-1}.appearance-preview #appearance-preview-content{max-width:280px}.appearance-preview:has(table) #appearance-preview-content{max-width:100%}}@media(max-width:620px){.content{padding:min(var(--content-pad),20px) 17px}.appearance-colors,.appearance-checks{grid-template-columns:1fr 1fr}.appearance-savebar .row{flex-wrap:wrap}.appearance-savebar .primary{margin-left:0;flex:1}.palette-options{grid-template-columns:repeat(3,minmax(0,1fr))}:root[data-navigation=top] .sidebar{padding:16px 17px;position:relative}:root[data-navigation=top] .sidebar-bottom{display:block}:root[data-navigation=top] .account span,:root[data-navigation=top] .account .avatar{display:none}:root[data-navigation=top] .sidebar .brand small{display:none}.topbar{gap:8px;flex-wrap:wrap;height:auto;min-height:45px;padding-top:8px;padding-bottom:8px}}@media(max-width:380px){.cards{grid-template-columns:1fr}.appearance-colors{grid-template-columns:1fr}}
:root,body{color:var(--page-ink,var(--ink))}.panel,.table-wrap,.stat,.figure-card,.component,.market-panel,.dialog-head{color:var(--ink)}.page-heading p,.result-bar,.attribution{color:var(--page-muted,var(--muted))}

.brand.brand-logo{flex-direction:column;align-items:center;gap:8px;letter-spacing:0;min-width:0}
.brand-artwork{display:block;width:100%;max-width:100%;padding:8px;background:#fff;border-radius:10px;line-height:0;overflow:hidden}
.brand-logo img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
.brand-caption{display:grid;gap:4px;max-width:100%;text-align:center;overflow-wrap:anywhere}
.brand-custom-title{font-size:15px;line-height:1.3}
.brand-logo small{font-size:14px;line-height:1.5;letter-spacing:.2px;text-transform:none;margin:0}
.sidebar .brand.brand-logo{width:100%;max-width:180px;margin:0 auto 24px;padding:0;flex-shrink:0}
.auth-art .brand.brand-logo{width:min(340px,100%);align-self:center;margin:0 auto 34px;position:relative;z-index:1}
.boot-logo{display:block;width:200px;max-width:80vw;height:auto;margin:0 auto 18px;border-radius:10px}
:root[data-navigation=top] .sidebar .brand.brand-logo{width:116px;max-width:116px;margin:0;padding:0;gap:4px}
:root[data-navigation=top] .sidebar .brand-logo small{display:none}
@media(max-width:620px){.sidebar .brand.brand-logo{width:132px;margin:0 0 16px}.auth-art .brand.brand-logo{width:min(240px,100%);margin-bottom:6px}.brand-artwork{padding:6px}}

.sidebar .brand>span{min-width:0;overflow-wrap:anywhere}.brand [data-brand-name]{line-height:1.15}

/* Login colors use the blue sampled from the BrickBog wordmark. */
.auth{--auth-blue:#0661ac;--green:var(--auth-blue);--on-primary:#fff;--link:var(--auth-blue);--focus:var(--auth-blue);--page:#f7faff;--paper:#fff;--ink:#17395b;--muted:#516779;--line:#b6c6d7;--hover:#edf4fb;--wash:#e9f1f9;color:var(--ink)}
.auth .auth-art{background:var(--auth-blue);color:#fff}
.auth-art .auth-copy h1{color:#fff}
.auth-art .auth-copy .eyebrow,.auth-art .brand small,.auth-art .auth-footer{color:#d1e8fc}
.auth-art .auth-copy p{color:#e3f0fc}
.auth .auth-form{background:var(--page);color:var(--ink)}
.auth-form .eyebrow{color:var(--auth-blue)}
.auth-form .btn.primary{font-weight:700}
.auth .auth-grid{pointer-events:none}
