/*!/wp-content/plugins/book-shelf-planner/assets/app.css*/.thbooks{--bp-bg:#fff;--bp-soft:#f3f7f8;--bp-text:#182a31;--bp-muted:#536970;--bp-line:#cbd9de;--bp-accent:#55c6e6;--bp-focus:#087a9a;background:var(--bp-bg);color:var(--bp-text);border:1px solid var(--bp-line);border-radius:18px;padding:clamp(16px,3vw,30px);font:16px/1.5 system-ui,sans-serif;margin:24px 0;isolation:isolate;color-scheme:light}body.dark .thbooks,html[data-mode="dark"] .thbooks,.thbooks[data-theme="dark"]{--bp-bg:#111b22;--bp-soft:#1b2933;--bp-text:#eaf2f6;--bp-muted:#b2c5ce;--bp-line:#40545f;--bp-focus:#76dcf3;color-scheme:dark}@media(prefers-color-scheme:dark){html:not([data-mode]) body:not(.light) .thbooks{--bp-bg:#111b22;--bp-soft:#1b2933;--bp-text:#eaf2f6;--bp-muted:#b2c5ce;--bp-line:#40545f;--bp-focus:#76dcf3;color-scheme:dark}}.thbooks *{box-sizing:border-box}.thbooks [hidden]{display:none!important}.thbooks h2,.thbooks h3,.thbooks p{color:inherit;margin:0 0 10px;padding:0}.thbooks h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.03em;line-height:1.2}.thbooks h3{font-size:19px;line-height:1.4}.thbooks .thbooks-eyebrow{display:block;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.13em;color:var(--bp-muted);margin-bottom:8px}.thbooks .thbooks-muted{font-size:13px;color:var(--bp-muted)}.thbooks button,.thbooks select,.thbooks input{font:inherit;line-height:1.3;letter-spacing:normal;text-transform:none;border:1px solid var(--bp-line);border-radius:7px;color:var(--bp-text);background:var(--bp-bg);margin:0;min-height:42px;box-shadow:none;max-width:100%}.thbooks button{padding:9px 13px;cursor:pointer;font-weight:600;white-space:normal}.thbooks input,.thbooks select{width:100%;padding:9px 10px}.thbooks button:hover,.thbooks button:active{background:var(--bp-soft);color:var(--bp-text);border-color:var(--bp-focus)}.thbooks button:focus-visible,.thbooks input:focus-visible,.thbooks select:focus-visible,.thbooks summary:focus-visible{outline:3px solid var(--bp-focus);outline-offset:3px}.thbooks button:disabled{opacity:.5;cursor:default}.thbooks .thbooks-primary{background:var(--bp-accent);color:#102b36;border-color:var(--bp-accent)}.thbooks .thbooks-primary:hover{background:#84dcf2;color:#102b36}.thbooks label{display:block;font-size:12px;font-weight:650;color:var(--bp-muted);margin:0}.thbooks label input,.thbooks label select{display:block;margin-top:5px;color:var(--bp-text)}.thbooks-intro,.thbooks-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.thbooks-intro{margin-bottom:24px;align-items:flex-start}.thbooks-intro>label{min-width:160px}.thbooks-card{padding:18px;background:var(--bp-soft);border-radius:12px;border:1px solid var(--bp-line);margin-bottom:16px}.thbooks-section-head{margin-bottom:10px}.thbooks-section-head h3{margin:0}.thbooks-row{display:grid;grid-template-columns:minmax(130px,1.5fr) repeat(3,minmax(65px,.7fr)) 65px 96px 44px;gap:8px;align-items:end;padding:12px 0;border-top:1px solid var(--bp-line)}.thbooks-row-container{grid-template-columns:minmax(130px,1.5fr) repeat(3,minmax(65px,1fr)) 65px 44px}.thbooks-row button{padding:7px}.thbooks-options{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:16px}.thbooks-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px;align-items:center}.thbooks .thbooks-file{border:1px dashed var(--bp-line);padding:7px 10px;border-radius:7px;max-width:240px}.thbooks .thbooks-file input{border:0;min-height:0;padding:0;font-size:11px;background:none}.thbooks-status{margin:16px 0!important;padding:12px 14px;background:var(--bp-soft);border-radius:8px;font-size:14px}.thbooks-status[data-error="true"]{font-weight:650}.thbooks-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0 12px}.thbooks-metrics>div{background:var(--bp-soft);border:1px solid var(--bp-line);border-radius:10px;padding:15px}.thbooks-metrics strong{font-size:25px;display:block;letter-spacing:-.03em}.thbooks-metrics span{font-size:12px;color:var(--bp-muted)}.thbooks-view-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:20px 0 12px}.thbooks-view-controls label:first-child{flex:1;min-width:160px}.thbooks-visual{background:var(--bp-soft);border:1px solid var(--bp-line);border-radius:12px;overflow:hidden}.thbooks svg{width:100%;height:auto;display:block;max-height:540px}.thbooks-steps{display:flex!important;align-items:center;gap:14px;margin:14px 0!important}.thbooks-steps input{flex:1;width:auto!important;min-height:32px;accent-color:var(--bp-focus)}.thbooks-steps span{min-width:85px}.thbooks table{width:100%;border-collapse:collapse;font-size:13px;margin:10px 0;background:var(--bp-bg);color:var(--bp-text)}.thbooks th,.thbooks td{text-align:left;padding:10px;border-bottom:1px solid var(--bp-line);background:#fff0;color:inherit}.thbooks th{font-size:12px;color:var(--bp-muted)}.thbooks-table-wrap{overflow:auto}.thbooks summary{cursor:pointer;font-weight:650;padding:12px 0}.thbooks-about{border-top:1px solid var(--bp-line);margin-top:22px;font-size:13px}.thbooks-unplaced{background:var(--bp-soft);padding:16px;border-radius:10px;margin:18px 0}.thbooks-unplaced li{font-size:13px;margin:7px 0}.thbooks .thbooks-pick{min-height:32px;padding:4px 8px;text-align:left;font-size:13px;border-color:#fff0;background:var(--bp-soft)}.thbooks .thbooks-pick[aria-pressed="true"]{border-color:var(--bp-focus)}@media(max-width:760px){.thbooks-row,.thbooks-row-container{grid-template-columns:repeat(3,minmax(0,1fr))}.thbooks-row label:first-child,.thbooks-row-container label:first-child{grid-column:1/3}.thbooks-row label:nth-child(5),.thbooks-row-container label:nth-child(5){grid-column:3;grid-row:1}.thbooks-row label:nth-child(6){grid-column:1/3}.thbooks-row button{grid-column:3}.thbooks-intro{flex-direction:column}.thbooks-intro>label{width:100%}.thbooks-options{grid-template-columns:1fr}.thbooks-metrics{gap:6px}.thbooks-metrics>div{padding:10px}.thbooks-metrics strong{font-size:20px}.thbooks-card{padding:12px}.thbooks-steps{flex-wrap:wrap}.thbooks-steps input{min-width:130px}.thbooks-view-controls button{font-size:13px}.thbooks h3{font-size:17px}}.thbooks .thbooks-intro{justify-content:flex-end;margin-bottom:16px}.thbooks .thbooks-rotation-help{margin:10px 0 0;line-height:1.65}.thbooks .thbooks-rotation-help strong{color:var(--bp-text)}.thbooks .thbooks-row-number{font-weight:inherit;color:inherit}.thbooks input[aria-invalid="true"]{border:2px solid #d65432;outline:2px solid #d65432;outline-offset:2px}.thbooks .thbooks-field-error{grid-column:1/-1;display:block;margin-top:7px;font-size:12px;line-height:1.4;color:var(--bp-text);font-weight:600}.thbooks[data-layout="shelf-flat"] .thbooks-flat-toggle,.thbooks[data-layout="shelf-upright"] .thbooks-flat-toggle{visibility:hidden}.thbooks[data-layout="shelf-flat"] .thbooks-rotation-help,.thbooks[data-layout="shelf-upright"] .thbooks-rotation-help{display:none}.thbooks .thbooks-stack{display:flex;align-items:center;gap:10px;margin-top:14px}.thbooks .thbooks-stack input{width:18px;min-height:18px;height:18px;margin:0}.thbooks [hidden]{display:none!important}.thbooks .thbooks-bulk-flat{display:flex;align-items:center;gap:8px;font-size:13px}.thbooks[data-layout="shelf-flat"] .thbooks-bulk-flat,.thbooks[data-layout="shelf-upright"] .thbooks-bulk-flat{display:none}.thbooks .thbooks-allocation{margin-top:18px}.thbooks .thbooks-visual{position:relative}.thbooks .thbooks-box-tooltip{position:absolute;z-index:2;max-width:calc(100% - 16px);padding:8px 12px;border:1px solid var(--bp-line);border-radius:8px;background:var(--bp-bg);color:var(--bp-text);box-shadow:0 3px 12px #0003;font-size:14px;font-weight:650;line-height:1.4;overflow-wrap:anywhere;pointer-events:none}.thbooks [data-box]{cursor:pointer;touch-action:manipulation}.thbooks [data-box]:focus-visible polygon,.thbooks [data-box][aria-pressed="true"] polygon{stroke:var(--bp-text);stroke-width:2.5}.thbooks label.thbooks-flat-toggle{display:block;color:var(--bp-muted)}.thbooks .thbooks-flat-toggle,.thbooks .thbooks-bulk-flat{position:relative;cursor:pointer}.thbooks .thbooks-flat-toggle input[type="checkbox"],.thbooks .thbooks-bulk-flat input[type="checkbox"]{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;border:0;opacity:0;clip-path:inset(50%)}.thbooks .thbooks-switch-track{display:flex;align-items:stretch;position:relative;flex-shrink:0;width:100%;height:42px;margin-top:5px;padding:4px;border:1px solid var(--bp-line);border-radius:8px;background:var(--bp-soft);color:var(--bp-muted);box-sizing:border-box;gap:2px}.thbooks .thbooks-bulk-flat .thbooks-switch-track{width:96px;margin-top:0}.thbooks .thbooks-switch-option{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;border:1px solid #fff0;border-radius:5px;font-size:11px;font-weight:650;line-height:1;user-select:none}.thbooks input:checked+.thbooks-switch-track [data-value="yes"],.thbooks input:not(:checked):not(:indeterminate)+.thbooks-switch-track [data-value="no"]{background:var(--bp-bg);color:var(--bp-text);border-color:var(--bp-line);box-shadow:0 1px 2px #0001}.thbooks input:indeterminate+.thbooks-switch-track{border-style:dashed}.thbooks input:focus-visible+.thbooks-switch-track{outline:2px solid var(--bp-focus);outline-offset:3px}.thbooks input:disabled+.thbooks-switch-track{opacity:.5;cursor:wait}@media(max-width:460px){.thbooks .thbooks-section-head{flex-wrap:wrap}}.thbooks .thbooks-flat-toggle .thbooks-switch-track{width:96px}.thbooks .thbooks-segments-field{min-width:0;margin:0;padding:0;border:0}.thbooks .thbooks-segments-field legend{float:none;width:auto;margin:0 0 5px;padding:0;font:650 12px/1.5 system-ui,sans-serif;color:var(--bp-muted)}.thbooks .thbooks-segments{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid var(--bp-line);border-radius:8px;background:var(--bp-soft);margin-bottom:10px}.thbooks .thbooks-segment{position:relative;display:flex;flex:1 1 120px;cursor:pointer;min-width:0}.thbooks .thbooks-segment input{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0;opacity:0;clip-path:inset(50%)}.thbooks .thbooks-segment span{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:8px 10px;border:1px solid #fff0;border-radius:5px;text-align:center;font-size:13px;line-height:1.4;color:var(--bp-muted)}.thbooks .thbooks-segment input:checked+span{background:var(--bp-bg);color:var(--bp-text);border-color:var(--bp-line);box-shadow:0 1px 2px #0001}.thbooks .thbooks-segment input:focus-visible+span{outline:2px solid var(--bp-focus);outline-offset:1px}.thbooks .thbooks-segment input:disabled+span{opacity:.5;cursor:wait}.thbooks .thbooks-box-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.thbooks .thbooks-bulk-flat{cursor:default;font-weight:650;color:var(--bp-muted)}.thbooks .thbooks-bulk-control{position:relative;cursor:pointer}.thbooks .thbooks-steps input[type="range"]{padding:0;border:0;background:#fff0;box-shadow:none;margin:0;height:32px;border-radius:0}.thbooks .thbooks-view-controls select,.thbooks .thbooks-view-controls button{height:42px;min-height:42px;line-height:1.3;box-sizing:border-box}@media(min-width:761px){.thbooks .thbooks-options .thbooks-segments-field{display:flex;flex-direction:column}.thbooks .thbooks-options .thbooks-segments{flex:1;flex-wrap:nowrap;margin-bottom:0}.thbooks .thbooks-options .thbooks-segment{flex:1 1 0%}.thbooks .thbooks-options .thbooks-segment span{height:100%}}.thbooks{border:0}.thbooks .thbooks-card,.thbooks .thbooks-metrics>div,.thbooks .thbooks-visual{border:0}.thbooks .thbooks-entry-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:16px}.thbooks .thbooks-entry-mode{width:330px;max-width:100%}.thbooks .thbooks-bgg-logo{display:block;background:#fff;border-radius:6px;padding:6px;line-height:0}.thbooks .thbooks-bgg-logo img{display:block;width:180px;height:auto;margin:0}.thbooks .thbooks-bgg-search{display:flex;gap:10px;align-items:end;margin-bottom:10px}.thbooks .thbooks-bgg-search label{flex:1;min-width:0}.thbooks .thbooks-bgg-games{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;max-height:240px;overflow:auto}.thbooks .thbooks-bgg-dimensions{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:10px;margin:12px 0}.thbooks .thbooks-bgg [data-role="bgg-status"]:empty{display:none}.thbooks .thbooks-bgg [data-role="bgg-review"]>label{max-width:340px}.thbooks .thbooks-bgg [data-role="bgg-editions"]{margin:12px 0}@media(max-width:600px){.thbooks .thbooks-bgg-dimensions{grid-template-columns:repeat(3,minmax(0,1fr))}.thbooks .thbooks-bgg-dimensions label:first-child{grid-column:1/-1}.thbooks .thbooks-bgg-search{flex-wrap:wrap}.thbooks .thbooks-bgg-search label{flex-basis:100%}}.thbooks .thbooks-cover-toggle{display:flex;align-items:center;gap:8px;margin:12px 0;font-weight:600}.thbooks .thbooks-cover-toggle input{width:18px;height:18px;margin:0;accent-color:var(--bp-accent)}.thbooks .thbooks-barcode{margin:14px 0}.thbooks .thbooks-barcode summary{cursor:pointer;margin-bottom:12px}.thbooks [data-role="barcode-video"]{display:block;width:100%;max-width:480px;max-height:300px;object-fit:contain;background:#111;margin-bottom:10px}.thbooks .thbooks-search-or{display:flex;align-items:center;gap:14px;color:var(--bp-muted);font-size:12px;font-weight:700;margin:18px 0}.thbooks .thbooks-search-or::before,.thbooks .thbooks-search-or::after{content:"";height:1px;flex:1;background:var(--bp-line)}.thbooks .thbooks-unit-field .thbooks-segments{display:inline-flex;width:auto}.thbooks .thbooks-unit-field .thbooks-segment{flex:0 0 auto}.thbooks .thbooks-unit-field .thbooks-segment span{min-width:70px;text-align:center}.thbooks .thbooks-scan-control{position:relative;display:inline-flex;align-items:stretch;border:1px solid var(--bp-line);border-radius:8px;background:var(--bp-bg);flex-shrink:0}.thbooks .thbooks-scan-control>button{border:0;background:#fff0;box-shadow:none;margin:0}.thbooks .thbooks-scan-control>button:first-child{padding-right:5px;border-radius:8px 0 0 8px}.thbooks .thbooks-camera-info-button{padding:0 10px;min-width:40px;min-height:44px;border-radius:0 8px 8px 0;font-size:19px;line-height:1;color:var(--bp-muted)}.thbooks .thbooks-camera-info{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:300px;max-width:calc(100vw - 64px);padding:14px;background:var(--bp-bg);color:var(--bp-text);border:1px solid var(--bp-line);border-radius:8px;box-shadow:0 5px 18px #0003;font-size:14px;line-height:1.5;font-weight:400}.thbooks [data-role="barcode-camera-note"]:empty{display:none}.thbooks .thbooks-barcode .thbooks-bgg-search input,.thbooks .thbooks-barcode .thbooks-bgg-search>button,.thbooks .thbooks-scan-control{height:44px;min-height:44px;box-sizing:border-box}.thbooks .thbooks-scan-control>button{height:42px;min-height:42px}.thbooks .thbooks-flat-heading{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:650;color:var(--bp-muted);margin-bottom:5px}.thbooks .thbooks-flat-control{display:block;position:relative}.thbooks button.thbooks-info{border:0;background:#fff0;box-shadow:none;color:var(--bp-muted);font-size:17px;line-height:1;min-height:28px;min-width:28px;padding:4px;cursor:pointer;margin:0}.thbooks .thbooks-option-info{position:relative;display:flex;flex:1 1 120px;min-width:0}.thbooks .thbooks-option-info>.thbooks-segment{flex:1}.thbooks .thbooks-option-info>.thbooks-segment>span{padding-right:36px}.thbooks .thbooks-option-info>.thbooks-info{position:absolute;right:5px;top:50%;transform:translateY(-50%)}.thbooks .thbooks-help-popup{position:fixed;z-index:10000;width:310px;max-width:calc(100vw - 24px);padding:14px;border:1px solid var(--bp-line);border-radius:8px;background:var(--bp-bg);color:var(--bp-text);box-shadow:0 5px 18px #0003;font-size:14px;line-height:1.5;font-weight:400;max-height:calc(100vh - 24px);overflow:auto}.thbooks .thbooks-about>h3{font-size:14px;font-weight:650;margin:0;padding:12px 0}.thbooks .thbooks-entry-table{overflow-x:auto;margin-bottom:12px}.thbooks .thbooks-row,.thbooks .thbooks-row-header{display:grid;grid-template-columns:30px minmax(140px,1.5fr) repeat(3,minmax(65px,.7fr)) 65px 96px 44px;gap:8px;min-width:730px;align-items:center}.thbooks .thbooks-row-container,.thbooks .thbooks-header-container{grid-template-columns:30px minmax(140px,1.5fr) repeat(3,minmax(65px,1fr)) 65px 44px;min-width:630px}.thbooks .thbooks-row-header{font-size:12px;font-weight:650;color:var(--bp-muted);padding:4px 0 8px}.thbooks .thbooks-row-header .thbooks-flat-heading{margin:0}.thbooks .thbooks-row{padding:8px 0}.thbooks .thbooks-row-index{font-weight:650;color:var(--bp-muted);text-align:right;padding-right:3px}.thbooks .thbooks-row>label>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.thbooks .thbooks-row>label input{margin-top:0}.thbooks .thbooks-row>label,.thbooks .thbooks-row>.thbooks-flat-toggle,.thbooks .thbooks-row>.thbooks-remove{grid-column:auto;grid-row:auto;min-width:0}.thbooks .thbooks-row .thbooks-field-error{grid-column:2/-1}.thbooks[data-layout="shelf-flat"] .thbooks-row-header .thbooks-flat-heading,.thbooks[data-layout="shelf-upright"] .thbooks-row-header .thbooks-flat-heading{visibility:hidden}.thbooks .thbooks-row,.thbooks .thbooks-row-header{grid-template-columns:30px minmax(140px,1.5fr) repeat(3,minmax(65px,1fr)) 65px 44px;min-width:630px}.thbooks .thbooks-row-header>span:not(:first-child):not(:last-child){padding-left:11px}.thbooks .thbooks-entry-table{container-type:inline-size}.thbooks .thbooks-mobile-flat-heading{display:none}@container (max-width:760px){.thbooks .thbooks-row-header{display:none}.thbooks .thbooks-row{position:relative;min-width:0;width:100%;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 8px;align-items:end;padding:12px 0}.thbooks .thbooks-row>.thbooks-row-index{position:absolute;left:0;top:55px;transform:translateY(-50%);width:20px;text-align:left;padding:0}.thbooks .thbooks-row>label:nth-child(2){grid-column:1/6;grid-row:1;padding-left:25px}.thbooks .thbooks-row>.thbooks-remove{grid-column:6;grid-row:1;height:44px;min-width:0;padding:5px}.thbooks .thbooks-row>label:nth-child(3){grid-column:1/3;grid-row:2}.thbooks .thbooks-row>label:nth-child(4){grid-column:3/5;grid-row:2}.thbooks .thbooks-row>label:nth-child(5){grid-column:5/7;grid-row:2}.thbooks .thbooks-row>label:nth-child(6){grid-column:1/3;grid-row:3}.thbooks .thbooks-row>label>span{position:static;width:auto;height:auto;margin:0 0 5px;padding:0;overflow:visible;clip-path:none;white-space:normal;display:block}.thbooks .thbooks-row>label input{font-size:16px;min-height:44px;width:100%;min-width:0}.thbooks .thbooks-row>.thbooks-flat-toggle{grid-column:3/7;grid-row:3;width:120px;max-width:100%}.thbooks .thbooks-mobile-flat-heading{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:650;color:var(--bp-muted);min-height:23px;margin-bottom:0}.thbooks .thbooks-row .thbooks-field-error{grid-column:1/-1}}