.my-catalog .catalog-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) 165px 180px 190px;gap:18px;align-items:end}.my-catalog label{font-size:12px;font-weight:600;display:block}.my-catalog input:not([type=checkbox]),.my-catalog select{display:block;width:100%;min-width:0;margin-top:7px;padding:11px 12px;border:1px solid #c9c5bf;border-radius:2px;background:#fff;color:#252525;font:inherit;font-size:14px}.catalog-actions,.catalog-pages{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 8px}.catalog-feedback{font-size:12px;color:#625f59;min-height:1.5em}.catalog-feedback.error,.my-catalog [data-error]{color:#963e36}.catalog-list{border-top:1px solid #d8d5d0;background:#fff}.catalog-row{padding:22px 24px 13px;border-bottom:1px solid #d8d5d0}.catalog-main{display:grid;grid-template-columns:20px 94px minmax(0,1fr) 170px 36px;gap:20px;align-items:start}.catalog-pick{width:16px;height:16px;accent-color:#252525;margin-top:15px}.catalog-photo{height:94px;display:grid;place-items:center;color:#78746f;font-size:11px}.catalog-photo img{width:100%;height:100%;object-fit:contain}.catalog-product h2{font-size:16px;margin:5px 0 6px;line-height:1.5}.catalog-product p{margin:5px 0;font-size:13px;line-height:1.55}.catalog-meta{color:#615f5a}.catalog-description{color:#333;white-space:pre-line}.catalog-specs{color:#54514d}.catalog-specs b{font-size:12px;font-weight:600}.catalog-class{font-size:13px;padding-top:8px}.catalog-class small{display:block;margin-top:8px;color:#6e695f}.catalog-unavailable{font-size:12px;display:block;margin-top:10px;color:#805749}.catalog-star{border:0;background:transparent;font-size:27px;color:#72583d;cursor:pointer;padding:0}.catalog-history{margin:8px 0 0 154px;font-size:12px;color:#625f59}.catalog-history summary{cursor:pointer;width:max-content;max-width:100%}.catalog-history p{margin:8px 0}.catalog-pages>div{display:flex;align-items:center;gap:14px}.catalog-pages{font-size:12px}.catalog-dialog{width:min(850px,calc(100vw - 40px));max-height:calc(100vh - 50px);padding:28px;border:1px solid #ccc8c2;background:#faf9f7;color:#252525}.catalog-dialog::backdrop{background:#0005}.catalog-dialog-head{display:flex;align-items:center;justify-content:space-between}.catalog-dialog-head h2{font-size:22px}.catalog-close{background:transparent;border:1px solid #ccc;font-size:21px;width:34px;height:34px;cursor:pointer}.catalog-selection-head,.catalog-selection{display:grid;grid-template-columns:minmax(0,1fr) 200px 75px;gap:16px;align-items:center}.catalog-selection-head{margin:22px 0 0;padding-bottom:10px;font-size:11px;color:#6b675f;border-bottom:1px solid #ccc}.catalog-selection{padding:12px 0;border-bottom:1px solid #ddd;font-size:13px}.catalog-selection small{display:block;margin-top:5px;color:#6b675f}.catalog-selection input{margin:0!important}.catalog-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.my-catalog .pill.custom{font-size:11px;padding:4px 10px;vertical-align:middle}.my-catalog button:disabled{opacity:.5;cursor:default}@media(max-width:1050px){.my-catalog .catalog-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-main{grid-template-columns:18px 74px minmax(0,1fr) 130px 30px;gap:14px}.catalog-photo{height:74px}.catalog-history{margin-left:120px}}@media(max-width:700px){.my-catalog .catalog-toolbar{grid-template-columns:1fr 1fr}.catalog-search{grid-column:1/-1}.catalog-main{grid-template-columns:18px 64px minmax(0,1fr) 28px}.catalog-class{grid-column:3;grid-row:2;padding:0}.catalog-star{grid-column:4;grid-row:1}.catalog-row{padding:16px 12px}.catalog-history{margin-left:110px}.catalog-actions{flex-wrap:wrap}.catalog-selection-head,.catalog-selection{grid-template-columns:minmax(0,1fr) 120px 60px;gap:8px}.catalog-dialog{padding:16px}.catalog-pages{flex-wrap:wrap}}

.my-catalog .catalog-product,.my-catalog .catalog-class,.my-catalog .catalog-selection>span{min-width:0;overflow-wrap:anywhere}.my-catalog .catalog-photo{overflow:hidden}.my-catalog .catalog-star{line-height:1.5}.my-catalog .catalog-actions .tabs{gap:6px}.my-catalog .catalog-feedback{margin:8px 0 10px}.my-catalog .catalog-class>span{font-weight:600}.my-catalog .catalog-dialog .catalog-selection-head{color:#54514d}@media(max-width:500px){.my-catalog .catalog-toolbar{gap:12px}.my-catalog .catalog-toolbar .catalog-search{grid-column:1/-1}.my-catalog .catalog-main{gap:10px}.my-catalog .catalog-history{margin-left:102px}.my-catalog .catalog-dialog .catalog-selection-head{display:none}.my-catalog .catalog-dialog .catalog-selection{grid-template-columns:minmax(0,1fr) 60px}.my-catalog .catalog-dialog .catalog-selection>span{grid-column:1/-1}.my-catalog .catalog-dialog-actions .btn{white-space:normal}.my-catalog .catalog-dialog{max-height:calc(100dvh - 24px);width:calc(100vw - 24px)}}

/* Catalog cards: product imagery, name, brand and SKU remain in the closed card. */
.my-catalog .catalog-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:18px;border:0;background:none;align-items:start}
.my-catalog .catalog-card{min-width:0;background:#fff;border:1px solid #ddd7cf}
.my-catalog .catalog-card-photo{position:relative;padding:20px 20px 0}
.my-catalog .catalog-photo{position:relative;height:auto;aspect-ratio:4/3;width:100%;overflow:hidden}
.my-catalog .catalog-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.my-catalog .catalog-card-controls{position:absolute;inset:10px 10px auto;z-index:1;display:flex;align-items:center;justify-content:space-between;pointer-events:none}
.my-catalog .catalog-card-controls>*{pointer-events:auto}
.my-catalog .catalog-pick{width:17px;height:17px;margin:6px;accent-color:#252525;cursor:pointer}
.my-catalog .catalog-star{display:grid;place-items:center;background:#fffffff0;border-radius:2px;width:31px;height:31px;padding:0;line-height:1;font-size:24px}
.my-catalog .catalog-card-body{padding:15px 18px 14px}
.my-catalog .catalog-card h2{font-size:14px;font-weight:600;line-height:1.45;margin:0 0 5px;overflow-wrap:anywhere}
.my-catalog .catalog-sku{font-size:12px;color:#665f56;margin:0;line-height:1.5;overflow-wrap:anywhere}
.my-catalog .catalog-details{font-size:12px;color:#3e3b37;margin-top:13px}
.my-catalog .catalog-details>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;list-style:none;font-size:11px;color:#625f59}
.my-catalog .catalog-details>summary::-webkit-details-marker{display:none}
.my-catalog .catalog-details>summary::after{content:'+';font-size:17px;line-height:1}
.my-catalog .catalog-details[open]>summary::after{content:'−'}
.my-catalog .catalog-details-body{padding-top:8px;overflow-wrap:anywhere}
.my-catalog .catalog-details-body p{margin:6px 0;font-size:12px;line-height:1.6}
.my-catalog .catalog-details-body .catalog-brand{font-weight:600}
.my-catalog .catalog-details-body .catalog-classification{font-size:11px;color:#625f59}
.my-catalog .catalog-details-body b{font-weight:600}
.my-catalog .catalog-details-body .pill{display:inline-block;margin:4px 0}
.my-catalog .catalog-history{margin:12px 0 0;padding-top:10px;border-top:1px solid #e5e0d9;font-size:11px;color:#625f59}
.my-catalog .catalog-history p{font-size:11px;margin:6px 0}
.my-catalog .catalog-activity{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0}
.my-catalog .catalog-status{display:inline-flex;align-items:center;padding:4px 9px;border:1px solid #4e3a2e;border-radius:3px;background:#f6f4f1;color:#4e3a2e;font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap}
.my-catalog .catalog-status.is-purchased{background:#4e3a2e;color:#f6f4f1}
.my-catalog .catalog-unavailable{position:absolute;bottom:4px;left:12px;right:12px;text-align:center;background:#f3f0ebeb;color:#6d5b4e;font-size:10px;padding:4px 6px;margin:0}
.my-catalog .catalog-list>.empty{grid-column:1/-1}
@media(min-width:1600px){.my-catalog .catalog-list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.my-catalog .catalog-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.my-catalog .catalog-card-photo{padding:16px 10px 0}.my-catalog .catalog-card-body{padding:12px}.my-catalog .catalog-card h2{font-size:12px}.my-catalog .catalog-sku{font-size:11px}.my-catalog .catalog-card-controls{inset:5px 5px auto}.my-catalog .catalog-star{width:27px;height:27px;font-size:22px}}
@media(max-width:360px){.my-catalog .catalog-list{grid-template-columns:1fr}}

.my-catalog .catalog-card-meta{display:flex;flex-wrap:wrap;column-gap:10px;row-gap:2px;margin:0;line-height:1.5;overflow-wrap:anywhere}.my-catalog .catalog-card-meta .catalog-brand{font-size:12px;font-weight:600;color:#49443e}.my-catalog .catalog-card-meta .catalog-sku{font-size:12px;color:#665f56}

/* Palette accents make favorites easy to find without adding height. */
.my-catalog .catalog-card{border-color:#cfc7bf}
.my-catalog .catalog-star{width:34px;height:34px;border:1px solid #cfc7bf;background:#fff;color:#4e3a2e;border-radius:3px;font-size:24px}
.my-catalog .catalog-star[aria-pressed="true"]{border-color:#9f7d57;background:#f6f4f1;color:#9f7d57}
.my-catalog .catalog-star:hover{border-color:#4e3a2e;background:#f6f4f1}
.my-catalog .catalog-star:focus-visible{outline:2px solid #4e3a2e;outline-offset:3px}

/* One Books product per card; quote-specific configurations stay in history. */
.my-catalog .catalog-history-entry{margin-top:9px;border-bottom:1px solid #e5e0d9;padding-bottom:9px}
.my-catalog .catalog-history-entry>summary{display:block;cursor:pointer;list-style:none;max-width:100%;width:100%;line-height:1.6}
.my-catalog .catalog-history-entry>summary::-webkit-details-marker{display:none}
.my-catalog .catalog-history-entry>summary strong{color:#4e3a2e;font-weight:600}
.my-catalog .catalog-history-entry>summary strong::after{content:' +';font-weight:400}
.my-catalog .catalog-history-entry[open]>summary strong::after{content:' −'}
.my-catalog .catalog-history-entry>summary span{display:block;margin-top:2px}
.my-catalog .catalog-history-selection{background:#f6f4f1;padding:8px 10px;margin-top:7px}
.my-catalog .catalog-history-selection p{margin:3px 0;font-size:11px}
.my-catalog .catalog-variant-choice{font-size:11px;margin-top:9px}
.my-catalog .catalog-variant-choice select{font-size:11px;max-width:100%;padding:8px;margin-top:4px}

/* Approved product-information hierarchy, including saved configurations. */
.my-catalog .catalog-card-body h2{font:700 13px/1.5 Montserrat,Arial,sans-serif;color:#252525}
.my-catalog .catalog-card-body p,.my-catalog .catalog-history-selection p{font:400 12px/1.65 Montserrat,Arial,sans-serif;color:#454545}
.my-catalog .catalog-card-body .catalog-card-meta{font-size:11px;color:#655f57}
.my-catalog .catalog-card-body b,.my-catalog .catalog-brand{font-weight:600;color:#454545}

.catalog-selection-identity{display:flex;align-items:center;gap:12px;min-width:0}.catalog-selection-identity>img{width:60px;height:60px;object-fit:contain;background:#fff;flex:none}.catalog-selection-identity>span{min-width:0}.catalog-dialog input:focus-visible,.catalog-dialog select:focus-visible{outline:2px solid #9f7d57;outline-offset:-2px}
/* Keep classification controls compact without changing the approved product cards. */
.my-catalog .catalog-toolbar{grid-template-columns:minmax(220px,1.7fr) repeat(5,minmax(110px,1fr));gap:12px}
.my-catalog .catalog-classification-feedback{font-size:12px;color:#625f59;margin:8px 0 0}
.my-catalog .catalog-classification-feedback:empty{display:none}
.my-catalog .catalog-classification-feedback.error{color:#963e36}
.my-catalog .catalog-toolbar select:disabled{opacity:.6}
@media(max-width:1400px){.my-catalog .catalog-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.my-catalog .catalog-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.my-catalog .catalog-toolbar .catalog-search{grid-column:1/-1}}
