.cat-workspace{--cat-line:#e2e2de;--cat-muted:#676767;color:#252525;width:100%;padding-bottom:32px}.cat-toolbar{display:flex;gap:8px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.cat-spacer{flex:1}.cat-workspace input,.cat-workspace select,.cat-dialog input,.cat-dialog select,.cat-dialog textarea{background:#fff;border:1px solid #d4d7da;color:#252525;border-radius:7px;padding:8px 10px;font:inherit;font-size:13px;min-width:0}.cat-workspace input:focus,.cat-workspace select:focus,.cat-dialog input:focus,.cat-dialog select:focus,.cat-dialog textarea:focus{outline:2px solid #42688f;outline-offset:1px}.cat-toolbar input[type=search]{width:300px;height:36px}.cat-workspace .btn,.cat-dialog .btn{background:#fff;color:#252525;border-color:#d4d7da}.cat-workspace .btn.ghost,.cat-dialog .btn.ghost{background:transparent;border-color:transparent;color:#626262}.cat-workspace .btn.pri,.cat-dialog .btn.pri{background:#42688f;color:#fff;border-color:#42688f}.cat-modes{display:flex;border:1px solid #d4d7da;border-radius:7px;overflow:hidden}.cat-modes button{background:transparent;border:0;color:#676767;padding:8px 11px;font:inherit;font-size:12px}.cat-modes button[aria-pressed=true]{background:#edf2f7;color:#42688f}.cat-filterbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;border:1px solid #d1d8df;background:#edf1f5;border-radius:10px;padding:14px}.cat-filterbar label{display:grid;gap:6px;color:#676767;font-size:11px;flex:1;min-width:116px}.cat-filterbar label select{width:100%}.cat-more{position:relative;align-self:end}.cat-more summary{list-style:none;cursor:pointer;border:1px solid #d4d7da;border-radius:7px;padding:9px 11px;font-size:12px;white-space:nowrap}.cat-more[open]>div{position:absolute;right:0;top:42px;z-index:8;background:#fff;box-shadow:0 12px 40px #0002;border:1px solid #d4d7da;padding:18px;border-radius:10px;display:grid;grid-template-columns:1fr 1fr;gap:15px;width:370px}.cat-result{display:flex;align-items:center;gap:10px;padding:16px 0;color:#676767;font-size:12px}.cat-result>span:first-child{flex:1}.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}.cat-card{min-width:0;border:1px solid #e2e2de;border-radius:9px;overflow:hidden;background:#fff}.cat-photo{position:relative;aspect-ratio:1;background:#f1f1ef}.cat-photo>button{border:0;padding:0;width:100%;height:100%;display:block;background:transparent;cursor:pointer}.cat-photo img{display:block;width:100%;height:100%;object-fit:cover}.cat-no-photo{color:#727272;font-size:12px;display:flex;align-items:center;justify-content:center;height:100%;min-height:50px}.cat-photo>input{position:absolute;top:12px;left:12px;width:18px;height:18px;accent-color:#42688f;cursor:pointer}.cat-stock{position:absolute;bottom:11px;left:11px;background:#ffffffeb;border:1px solid #cbd4dc;border-radius:5px;padding:4px 8px;font-size:10px;text-transform:capitalize;pointer-events:none;color:#394f67}.cat-stock.available{border-color:#b7cada}.cat-stock.sold,.cat-stock.archived{color:#676767}.cat-card-body{padding:14px;display:grid;gap:7px}.cat-card-body>small{color:#676767;font-size:10px}.cat-name{font:inherit;font-size:15px;color:#252525;background:none;border:none;padding:0;text-align:left;line-height:1.35;font-weight:500;cursor:pointer}.cat-card-body>span{font-size:12px;color:#676767}.cat-card-body>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.cat-card-body b{font-size:13px;font-weight:500}.cat-connection{display:inline-flex;align-items:center;color:#676767;font-size:12px;margin-right:12px}.cat-table-wrap{overflow:auto}.cat-table{width:100%;border-collapse:collapse;font-size:12px}.cat-table th{text-align:left;color:#676767;font-weight:500;padding:12px 8px;border-bottom:1px solid #d4d7da;white-space:nowrap}.cat-table td{padding:12px 8px;border-bottom:1px solid #e2e2de;vertical-align:middle}.cat-table small{display:block;color:#676767;margin-top:4px;font-size:11px}.cat-table-piece{display:flex;gap:12px;align-items:center;background:none;border:0;color:#252525;text-align:left;cursor:pointer;min-width:160px}.cat-table-piece img{width:45px;height:45px;object-fit:cover;border-radius:5px}.cat-table-piece .cat-no-photo{width:45px;font-size:9px}.cat-table input[type=checkbox]{accent-color:#42688f}.cat-empty{padding:70px 0;color:#676767;text-align:center}.cat-empty b{font-size:19px;color:#252525;font-weight:500}.cat-empty p{font-size:13px}.cat-feedback,.cat-alert{font-size:13px;padding:14px 0;color:#785b2f}.cat-alert{border-bottom:1px solid #ddc9a7}.cat-dialog{padding:0;border:1px solid #d4d7da;border-radius:12px;color:#252525;background:#fff;max-width:1100px;width:calc(100% - 48px);max-height:calc(100dvh - 48px);box-shadow:0 20px 70px #0009}.cat-dialog::backdrop{background:#28282899}.cat-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 50px)}.cat-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px;border-bottom:1px solid #e2e2de}.cat-dialog h2{font-size:20px;font-weight:500;margin:0}.cat-dialog header p{font-size:12px;color:#676767;margin:7px 0 0}.cat-dialog-body{padding:26px;overflow:auto;display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);gap:30px}.cat-dialog-body.cat-simple{display:block}.cat-dialog h3{font-size:13px;font-weight:500;margin:0 0 14px}.cat-dialog h3:not(:first-child){margin-top:28px}.cat-editor-fields>label{display:grid;gap:7px;font-size:12px;color:#676767;margin-top:16px}.cat-dialog textarea{resize:vertical;min-height:100px;width:100%;box-sizing:border-box}.cat-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cat-field-grid label,.cat-simple>label{display:grid;gap:7px;color:#676767;font-size:12px}.cat-main-photo{background:#f1f1ef;aspect-ratio:1;display:grid;place-items:center;border-radius:8px;overflow:hidden;color:#727272;font-size:13px}.cat-main-photo img{width:100%;height:100%;object-fit:contain}.cat-photo-list{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0}.cat-photo-list button{padding:0;background:transparent;color:#676767;border:0;font:inherit;cursor:pointer}.cat-photo-list img{width:50px;height:50px;object-fit:cover;border:1px solid #d4d7da;border-radius:5px}.cat-editor-media>p,.cat-help,.cat-simple>p{color:#676767;font-size:12px;line-height:1.5}.cat-editor-media input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.cat-dialog footer{border-top:1px solid #e2e2de;padding:16px 26px;display:flex;align-items:center;gap:10px}.cat-error{font-size:12px;line-height:1.4;color:#785b2f;flex:1}.cat-dialog button:disabled,.cat-workspace button:disabled{opacity:.45;cursor:default}.cat-dialog input:disabled,.cat-dialog select:disabled,.cat-dialog textarea:disabled{opacity:.55}.cat-dialog input[type=number]{width:100%}.cat-field-grid input,.cat-field-grid select{width:100%;box-sizing:border-box}.cat-workspace button:focus-visible,.cat-dialog button:focus-visible{outline:2px solid #42688f;outline-offset:2px}
@media(max-width:900px){.cat-filterbar label{min-width:130px}.cat-dialog-body{grid-template-columns:1fr 1.4fr;gap:20px}.cat-result{flex-wrap:wrap}}
@media(max-width:650px){.cat-toolbar input[type=search]{width:100%}.cat-toolbar select{max-width:48%}.cat-spacer{display:none}.cat-connection{font-size:10px;display:none}.cat-filterbar{gap:10px}.cat-filterbar label{min-width:calc(50% - 12px)}.cat-more[open]>div{right:auto;left:0;width:min(340px,calc(100vw - 56px));box-sizing:border-box}.cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cat-card-body{padding:10px}.cat-name{font-size:13px}.cat-card-body>div{flex-wrap:wrap}.cat-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.cat-dialog form{max-height:calc(100dvh - 18px)}.cat-dialog header{padding:16px}.cat-dialog-body{padding:16px;display:block}.cat-editor-media{margin-bottom:24px}.cat-main-photo{max-width:280px;margin:auto}.cat-dialog footer{padding:14px;flex-wrap:wrap}.cat-dialog footer .cat-error{flex-basis:100%}.cat-field-grid{gap:12px}.cat-result>span{font-size:11px}.cat-table-piece{min-width:140px}}
body.vf:has(#v-pieces.on) .main,body.vf:has(#v-gals.on) .main{background:#f7f7f5;color:#252525;font-family:Arial,sans-serif}body.vf:has(#v-pieces.on) .scroll,body.vf:has(#v-gals.on) .scroll{background:#f7f7f5}body.vf:has(#v-pieces.on) .wrap,body.vf:has(#v-gals.on) .wrap{max-width:none;width:100%}body.vf:has(#v-pieces.on) .top h1,body.vf:has(#v-gals.on) .top h1{font-family:Arial,sans-serif;color:#252525}body.vf:has(#v-pieces.on) .top .sub,body.vf:has(#v-gals.on) .top .sub{font-family:Arial,sans-serif;color:#676767}body.vf:has(#v-pieces.on) #topact>.btn,body.vf:has(#v-gals.on) #topact>.btn{background:#42688f;color:#fff;border-color:#42688f}.cat-workspace,.cat-dialog{font-family:Arial,sans-serif}.cat-workspace button,.cat-dialog button{font-family:Arial,sans-serif}
body.vf:has(#v-pieces.on) #topact>.btn:disabled{opacity:.45;cursor:default}@media(max-width:650px){body.vf:has(#v-pieces.on) .cat-connection{display:inline-flex;font-size:11px;margin:0 8px 0 0}}
@media(max-width:650px){.cat-more{flex-basis:100%;width:100%}.cat-more summary{width:fit-content}.cat-more[open]>div{position:static;width:100%;margin-top:10px;box-shadow:none}}

body.vf:has(#v-pieces.on) .top,body.vf:has(#v-designs.on) .top{display:none}
body.vf:has(#v-pieces.on) .scroll,body.vf:has(#v-designs.on) .scroll{padding-top:0;background:#f7f8f6}
body.vf:has(#v-pieces.on) .wrap,body.vf:has(#v-designs.on) .wrap{max-width:none;width:100%;padding-top:0}
.cat-header,.ds-header{background:#fafbf9;border-bottom:1px solid #dce3e1;color:#33453d;padding:16px 0 0;position:relative;z-index:8}
.cat-toolbar{gap:12px;margin:0;padding-bottom:13px;flex-wrap:nowrap;min-width:0}
.cat-toolbar h1,.ds-heading{font:600 19px/1.3 Arial,sans-serif;letter-spacing:-.3px;margin:0 12px 0 0;color:#33453d;flex:none}
.cat-header button,.cat-header summary,.cat-header select,.ds-header button,.ds-header input{font-family:Arial,sans-serif;font-size:12px;line-height:1.4;letter-spacing:0;text-transform:none;cursor:pointer}
.cat-header .btn{min-height:35px;padding:7px 12px;border-radius:8px;white-space:nowrap}
.cat-header .btn:not(.pri){background:transparent;border-color:#dce3dc;color:#53675a}
.cat-search{display:flex;align-items:center;gap:8px;flex:0 1 350px;min-width:180px;height:35px;padding:0 10px;background:#fff;border:1px solid #dce3dc;border-radius:8px;color:#849088;box-sizing:border-box}
.cat-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.cat-header .cat-search input{width:100%;height:32px;border:0;background:transparent;padding:0;font-size:12px;outline:none;cursor:text}.cat-search:focus-within{outline:2px solid #648e78;outline-offset:2px}
.cat-filterbar{border:0;border-top:1px solid #e5e9e6;background:transparent;border-radius:0;padding:6px 0;gap:8px;align-items:center;justify-content:space-between;flex-wrap:nowrap;min-height:46px;box-sizing:border-box}
.cat-primary-filters,.cat-refinements{display:flex;align-items:center;gap:5px;min-width:0}.cat-refinements{flex:none}
.cat-primary-filters>label{display:flex;flex-direction:row;align-items:center;gap:5px;flex:0 1 auto;min-width:0;color:#7a877d;font-size:11px;white-space:nowrap}
.cat-primary-filters>label+label{margin-left:8px}
.cat-primary-filters>label select{width:auto;max-width:190px;min-width:0;height:33px;background-color:transparent;border:1px solid transparent;color:#53675a;padding:6px 28px 6px 7px;font-size:12px}
.cat-primary-filters>label select:has(option:checked:not([value=""])){background-color:#eaf0eb;border-color:#dbe4dc;color:#344c3c}
.cat-menu{position:relative;flex:none}.cat-menu>summary{display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;border:1px solid transparent;border-radius:7px;color:#6d7c71;padding:7px 9px;min-height:33px;font-size:12px;box-sizing:border-box;white-space:nowrap;cursor:pointer}.cat-menu>summary::-webkit-details-marker{display:none}.cat-menu[open]>summary,.cat-menu>summary:hover{background:#edf2ed;color:#3b5341}
.cat-menu summary i{height:6px;width:6px;border-radius:50%;background:#456b94}.cat-menu>summary>span{font-size:13px;color:#8a968d}
.cat-menu .cat-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:20;background:#fff;box-shadow:0 12px 36px #23382b1c,0 2px 8px #23382b10;border:1px solid #d9e2da;border-radius:12px;padding:16px;box-sizing:border-box;max-height:min(620px,calc(100dvh - 180px));overflow:auto}
.cat-more[open]>.cat-popover{width:390px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.cat-popover label{display:grid;gap:6px;min-width:0;color:#7d8b80;font-size:11px}.cat-popover label select,.cat-popover label input{width:100%;height:36px;box-sizing:border-box;background-color:#f9fbf9;border-color:#dce4dd;color:#425c4b;font-size:12px}
.cat-popover>header{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.cat-popover strong{font-size:13px;font-weight:600;color:#3e5545}.cat-popover header button{border:0;background:none;color:#7d9284;padding:0;font-size:11px}
.cat-views>.cat-popover{width:240px;display:grid;gap:12px}.cat-sort{display:block;min-width:0!important;flex:0 1 auto!important}.cat-sort select{height:33px;max-width:174px;background-color:transparent;border-color:transparent;font-size:12px;color:#6d7c71;padding:6px 30px 6px 7px}
.cat-header .cat-connection{display:block;margin:0;font-size:11px}.cat-connection>summary{font-size:11px;color:#829087}.cat-connection>.cat-popover{width:290px;white-space:normal}.cat-connection-info p{font-size:12px;line-height:1.6;color:#718077;margin:9px 0 0}
.cat-modes{padding:3px;border-color:#d9e1db;background:#e9eeeb;border-radius:8px;flex:none;gap:2px;overflow:visible}.cat-modes button{display:flex;align-items:center;gap:6px;padding:5px 9px;min-height:28px;color:#66756b;border-radius:5px}.cat-modes button[aria-pressed=true]{background:#31433a;color:#fff;box-shadow:0 1px 3px #16251b20}.cat-modes svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.4}
.cat-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:0 0 10px}.cat-chips button{display:inline-flex;align-items:center;gap:7px;padding:4px 7px;background:#edf2ed;border:1px solid #dce5dd;color:#637b6a;border-radius:6px;font-size:10px;max-width:100%;overflow-wrap:anywhere}.cat-chips .cat-reset{border:0;background:none;color:#829388}
.cat-header button:focus-visible,.cat-header summary:focus-visible,.cat-header select:focus-visible{outline:2px solid #648e78;outline-offset:2px}
.cat-result{padding:13px 0;font-size:11px;min-height:46px;box-sizing:border-box}.cat-result .btn{font-size:11px}
.cat-grid{gap:16px}.cat-card{display:flex;flex-direction:column}.cat-card-body{flex:1;grid-template-rows:auto auto 1fr auto;align-content:start}.cat-card-body>div{align-self:end}.cat-photo img{object-fit:contain}.cat-stock{text-transform:none}
.cat-table-wrap{border:1px solid #dce3dc;border-radius:9px;background:#fff;max-height:calc(100dvh - 210px)}.cat-table{min-width:1000px}.cat-table th{position:sticky;top:0;z-index:2;background:#eef2ee;color:#506558;font-weight:600;padding:13px 12px;border-color:#dce3dc}.cat-table td{padding:12px}.cat-table tr:hover td{background:#f9fbf8}.cat-table th:nth-child(2),.cat-table td:nth-child(2){position:sticky;left:0;background:#fff;z-index:1}.cat-table th:nth-child(2){background:#eef2ee;z-index:3}.cat-table-piece{max-width:340px}.cat-table-piece img{object-fit:contain}.cat-table td:nth-child(6){white-space:nowrap;font-variant-numeric:tabular-nums}
.cat-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}
.ds-header{font-family:Arial,sans-serif;margin-bottom:18px}.ds-main{display:flex;align-items:center;gap:14px;padding-bottom:13px}.ds-main .search{font:12px Arial,sans-serif;background:#fff;border:1px solid #dce3dc;border-radius:8px;height:35px;max-width:350px;color:#35483c;margin:0}.ds-main .btn{margin-left:auto;background:#456b94;color:#fff;border:1px solid #456b94;border-radius:8px;min-height:35px;padding:8px 12px}.ds-header>.tabs.seg{display:flex;gap:5px;border-top:1px solid #e5e9e6;padding:6px 0;flex-wrap:wrap;background:none}.ds-header>.tabs.seg button{border:1px solid transparent;border-radius:7px;background:transparent;color:#76857b;padding:7px 10px;min-height:33px}.ds-header>.tabs.seg button.on{background:#eaf0eb;border-color:#dbe4dc;color:#344c3c}.ds-header>.tabs.seg em{margin-left:6px;color:#929d96;font-size:11px;font-style:normal}
body.vf:has(#v-designs.on) .main{background:#f7f8f6;color:#252525;font-family:Arial,sans-serif}
@media(min-width:901px) and (max-width:1350px){.cat-primary-filters>label{font-size:0;gap:0}.cat-primary-filters>label+label{margin-left:0}.cat-primary-filters>label select{max-width:145px}.cat-toolbar{gap:9px}.cat-connection>summary{font-size:10px}}
@media(max-width:900px){.cat-toolbar{flex-wrap:wrap;gap:8px}.cat-toolbar h1{margin-right:auto}.cat-toolbar .cat-spacer{display:none}.cat-search{order:5;flex-basis:100%;max-width:none}.cat-filterbar{flex-wrap:wrap;gap:5px}.cat-primary-filters{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.cat-primary-filters>label{display:grid;gap:2px;font-size:10px}.cat-primary-filters>label+label{margin-left:0}.cat-primary-filters>label select{width:100%;max-width:100%;border-color:#e0e7e0;background-color:#fff}.cat-refinements{margin-left:auto}.cat-header .cat-connection{display:block}.cat-connection>summary{font-size:10px}.cat-table-wrap{max-height:calc(100dvh - 290px)}}
@media(max-width:650px){.cat-header,.ds-header{padding-top:12px}.cat-toolbar h1{font-size:18px}.cat-header .btn{padding:7px 9px;font-size:11px}.cat-header .cat-connection{order:6;margin-left:auto}.cat-primary-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cat-refinements{width:100%;justify-content:space-between;gap:0}.cat-refinements .cat-more{flex-basis:auto;width:auto}.cat-more[open]>.cat-popover{position:absolute;left:0;right:auto;width:min(390px,calc(100vw - 50px));margin:0;max-height:calc(100dvh - 420px)}.cat-menu .cat-popover{max-width:calc(100vw - 50px)}.cat-views>.cat-popover{left:0;right:auto}.cat-connection>.cat-popover{left:auto;right:0}.cat-sort select{max-width:125px}.cat-modes button{padding:5px 7px;font-size:11px}.cat-modes svg{display:none}.cat-result{gap:7px}.cat-table-wrap{max-height:60dvh}.ds-main{flex-wrap:wrap;gap:10px}.ds-main .search{order:3;flex-basis:100%;max-width:none}.ds-main .btn{font-size:11px}.ds-header>.tabs.seg button{font-size:11px;padding:6px 8px}}

@media(min-width:901px) and (max-width:1100px){.cat-filterbar{flex-wrap:wrap}.cat-refinements{margin-left:auto}.cat-primary-filters{flex:1 1 100%}.cat-primary-filters>label{flex:1}.cat-primary-filters>label select{width:100%;max-width:none}}
 .cat-dialog.cat-piece-dialog{width:min(60rem,calc(100vw - 32px));max-width:none;height:auto;max-height:calc(100dvh - 32px);border:1px solid #d7dce0;border-radius:16px;background:#fff;margin:auto;box-sizing:border-box;box-shadow:0 24px 80px #0003}
.cat-piece-dialog>form{height:auto;max-height:calc(100dvh - 34px)}
.cat-piece-dialog>:is(form,.cat-saved-piece)>header{padding:18px 32px;background:#fafbf9;color:#33453d;flex:none}
.cat-piece-dialog>:is(form,.cat-saved-piece)>header h2{font-size:20px;letter-spacing:-.3px}
.cat-piece-dialog>:is(form,.cat-saved-piece)>header p{color:#718074}
.cat-piece-dialog .cat-dialog-body{flex:1;min-height:0;overflow:auto;grid-template-columns:minmax(0,420px) minmax(0,480px);gap:32px 48px;padding:28px 32px;align-content:start;align-items:start;justify-content:center;box-sizing:border-box}
.cat-piece-dialog .cat-editor-media{grid-column:1;grid-row:1;min-width:0;margin:0}
.cat-piece-dialog .cat-editor-fields{grid-column:2;grid-row:1;min-width:0;padding:0}
.cat-piece-dialog .cat-main-photo{max-width:420px;width:100%;height:auto;min-height:0;aspect-ratio:1;background:#f5f6f3;border-radius:0}
.cat-main-photo>button{border:0;padding:0;background:transparent;width:100%;height:100%;min-height:0;display:block;cursor:zoom-in}
.cat-photo-empty{display:grid;gap:12px;text-align:center;color:#889187}.cat-photo-empty>span{font-size:34px;font-weight:200}.cat-photo-empty>strong{font-size:15px;font-weight:400}
.cat-piece-dialog .cat-photo-list{gap:12px;margin:16px 0;flex-wrap:wrap;align-items:flex-start}
.cat-photo-item{display:grid;gap:5px;width:82px;min-width:0;text-align:center;font-size:10px;color:#788277}
.cat-photo-item[draggable=true]{cursor:grab}
.cat-photo-item>button[data-cat-photo]{display:block;padding:3px;border:1px solid transparent;border-radius:5px;width:82px;height:82px;box-sizing:border-box}
.cat-photo-item>button[aria-pressed=true]{border-color:#456c54;background:#eef3ed}
.cat-piece-dialog .cat-photo-item img{width:100%;height:100%;object-fit:contain;border:0;border-radius:2px;pointer-events:none}
.cat-photo-cover{min-height:12px;font-size:10px;line-height:1.2}
.cat-photo-actions{display:flex;justify-content:space-between;align-items:center}
.cat-dialog .cat-photo-actions button{min-width:25px;min-height:25px;padding:2px 4px;font-size:14px;border-radius:4px}
.cat-photo-actions button:hover{background:#edf1eb}.cat-dialog .cat-cover-action{font-size:10px;line-height:1.3;text-decoration:underline;padding:3px 0}
.cat-photo-upload{display:flex;gap:10px;flex-wrap:wrap}.cat-piece-dialog .cat-photo-upload input[type=file]{position:absolute;width:1px;height:1px;opacity:0;padding:0}.cat-photo-upload label{position:relative;cursor:pointer}.cat-photo-upload label:focus-within{outline:2px solid #42688f;outline-offset:2px}
.cat-piece-dialog .cat-editor-fields>label{margin:0 0 16px;display:grid;gap:7px;font-size:12px;color:#6b776d}
.cat-piece-dialog .cat-editor-fields>label:first-child input{font-size:21px;font-weight:500;padding:11px 12px;letter-spacing:-.3px}
.cat-piece-dialog .cat-editor-fields textarea{min-height:124px;line-height:1.6;font-size:13px;padding:10px 12px}
.cat-piece-dialog .cat-editor-fields input,.cat-piece-dialog .cat-editor-fields select,.cat-piece-dialog .cat-editor-fields textarea{border-color:#dce2d9;border-radius:6px}
.cat-piece-dialog .cat-field-grid{gap:14px 16px;margin-bottom:16px}
.cat-piece-dialog .cat-field-grid label{font-size:12px;color:#6b776d;gap:8px}
.cat-piece-dialog .cat-field-grid input,.cat-piece-dialog .cat-field-grid select{height:40px}
.cat-piece-dialog .cat-share{margin:26px 0 0;padding:18px 0 0;border-top:1px solid #e2e7df;color:#52684f}
.cat-share summary{cursor:pointer;font-size:12px;font-weight:500}.cat-share p{font-size:12px;line-height:1.6;color:#71806e}.cat-share label{display:grid;font-size:11px;gap:6px;margin:12px 0}.cat-share select{width:100%}
.cat-create-images{grid-column:1/-1;border-top:1px solid #e1e6dc;padding:22px 0 0;min-width:0}
.cat-create-images>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-size:15px;color:#3b5741;min-height:32px}.cat-create-images>summary::-webkit-details-marker{display:none}
.cat-create-images>.customer-media{margin:20px 0 0;max-width:none;padding:0;border:0;background:transparent;border-radius:0}
.cat-create-images .customer-media>header{padding:0 0 16px}.cat-create-images .cm-work{max-width:none}
.cat-create-hint{grid-column:1/-1;border-top:1px solid #e1e6dc;margin:0;padding:22px 0 0;font-size:12px;color:#71806e}
.cat-piece-dialog .cat-editor-actions{margin-top:22px;padding-top:20px;border-top:1px solid #e0e5de;display:grid;gap:12px}.cat-piece-dialog .cat-editor-actions .cat-error:empty{display:none}.cat-piece-dialog .cat-error{max-width:none;min-width:0;font-size:12px;flex:1}.cat-piece-dialog .cat-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none;margin-left:auto}.cat-piece-dialog .cat-footer-actions .btn{white-space:nowrap;min-height:40px;padding:9px 16px}.cat-piece-dialog .cat-footer-actions [data-cat-discard]{margin-right:auto}.cat-piece-dialog .cat-footer-actions [data-cat-save-piece]{min-width:126px}.cat-piece-dialog .cat-footer-actions{width:100%;margin:0;gap:10px}.cat-piece-dialog .cat-help{font-size:11px;margin:12px 0 0}
.cat-photo-viewer{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:20px;border:0;border-radius:0;box-sizing:border-box;background:#1b201d;color:#fff;overflow:hidden}
.cat-photo-viewer[open]{display:flex;flex-direction:column;gap:16px;align-items:center}
.cat-photo-viewer>img{width:100%;height:0;flex:1;min-height:0;object-fit:contain}.cat-photo-viewer>button{align-self:flex-end}.cat-photo-viewer>div{display:flex;align-items:center;gap:24px;font-size:12px}
.cat-photo-viewer .btn{font:inherit;font-size:13px;background:transparent;border:1px solid #69756b;color:#fff;border-radius:6px;padding:9px 14px;cursor:pointer}.cat-photo-viewer button:disabled{opacity:.4;cursor:default}

@media(max-width:900px){.cat-piece-dialog .cat-dialog-body{grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:28px;padding:24px}}
@media(max-width:700px){.cat-piece-dialog .cat-dialog-body{display:flex;flex-direction:column;gap:24px;padding:20px 16px}.cat-piece-dialog .cat-editor-media,.cat-piece-dialog .cat-editor-fields,.cat-create-images,.cat-create-hint{width:100%;box-sizing:border-box}.cat-piece-dialog .cat-editor-fields{padding:0}.cat-piece-dialog .cat-editor-media{max-width:420px;margin:0 auto}.cat-piece-dialog .cat-editor-fields{max-width:480px;align-self:center}.cat-piece-dialog .cat-main-photo{height:auto;min-height:0;aspect-ratio:1}.cat-piece-dialog>:is(form,.cat-saved-piece)>header{padding:15px 16px}.cat-piece-dialog .cat-error{max-width:100%;flex-basis:100%}.cat-piece-dialog .cat-error:empty{display:none}.cat-piece-dialog .cat-footer-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.cat-photo-item{width:70px}.cat-photo-item>button[data-cat-photo]{width:70px;height:70px}.cat-piece-dialog .cat-photo-list{gap:10px}.cat-photo-viewer{padding:16px}}
.cat-header-actions{display:flex;align-items:center;gap:10px}
.cat-piece-dialog .cat-editor-fields .cat-piece-name{font-size:18px;line-height:1.4;font-weight:500;letter-spacing:-.25px;min-height:72px;resize:vertical}
.cat-piece-dialog .cat-photo-list{margin:14px 0 8px;gap:10px}
.cat-photo-item{width:74px}.cat-photo-item>button[data-cat-photo]{width:74px;height:74px}
.cat-manage-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#f5f7f2;padding:12px;margin:8px 0 14px;font-size:11px;color:#65705f;border-radius:6px}
.cat-manage-toolbar>span{margin-right:auto}.cat-manage-toolbar>button{border:1px solid #dce2d5;border-radius:5px;background:#fff;font:inherit;padding:7px 9px;color:#53644e;cursor:pointer}.cat-manage-toolbar>button[data-cat-remove-photo]{color:#8b5146}
.cat-photo-upload{align-items:center}.cat-photo-upload>.btn{font-size:12px}
.cat-gem-launch{display:flex;align-items:center;gap:12px;width:100%;padding:14px 0;margin:18px 0 0;border:0;border-top:1px solid #e0e5dc;background:transparent;color:#334d39;text-align:left;font:inherit;cursor:pointer}
.cat-gem-mark{display:grid;place-items:center;flex:none;width:38px;height:42px}.cat-gem-mark svg{width:100%;height:100%}.cat-gem-launch>span:nth-child(2){flex:1;min-width:0}.cat-gem-launch strong{display:block;font-size:14px;font-weight:500}.cat-gem-launch small{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:#788271}.cat-gem-launch>span:last-child{font-size:18px;color:#85937c}
.cat-create-hint{margin:18px 0 0;padding:16px 0 0}
.cat-image-dialog{padding:0;border:1px solid #d6ddd0;border-radius:12px;color:#33463a;background:#fffefa;box-shadow:0 20px 70px #15281938;box-sizing:border-box;max-height:calc(100dvh - 48px);max-width:calc(100vw - 32px);font:13px Arial,sans-serif}
.cat-image-dialog::backdrop{background:#26332866}
.cat-image-dialog{width:680px;overflow:auto;position:fixed}
.cat-panel-close{font:inherit;font-size:22px;background:transparent;border:0;color:#64715d;cursor:pointer;line-height:1;padding:4px 7px}
.cat-image-dialog>.cat-panel-close{position:absolute;z-index:2;right:15px;top:15px}
.cat-image-dialog>.customer-media{border:0;border-radius:0;margin:0;padding:22px;background:transparent;font:inherit}
.cat-image-dialog .customer-media>header{padding-right:32px}
.cat-image-dialog button:focus-visible{outline:2px solid #63815b;outline-offset:2px}
@media(max-width:700px){.cat-image-dialog{max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px)}.cat-image-dialog>.customer-media{padding:18px}.cat-piece-dialog .cat-editor-fields .cat-piece-name{font-size:18px;min-height:72px}.cat-manage-toolbar{gap:6px}.cat-manage-toolbar>span{width:100%}.cat-photo-upload>.btn{font-size:11px}.cat-gem-launch{margin-top:16px}.cat-photo-item{width:68px}.cat-photo-item>button[data-cat-photo]{width:68px;height:68px}}
.cat-image-dialog>[data-piece-media].customer-media{padding:22px}.cat-image-dialog .customer-media .cm-gem-header{padding-right:28px}.cat-image-dialog .btn{font:12px Arial,sans-serif;color:#4d5847;background:#fff;border:1px solid #d5dbcc;border-radius:6px;padding:9px 12px;cursor:pointer}.cat-image-dialog .cm-generate>.btn{background:#334d39;color:#fff;border-color:#334d39}.cat-image-dialog .cm-work textarea{width:100%;box-sizing:border-box}.cat-image-dialog [data-piece-media] .cm-gem-header p{max-width:400px;line-height:1.5}
@media(max-width:700px){.cat-image-dialog>[data-piece-media].customer-media{padding:18px}.cat-image-dialog .customer-media .cm-gem-header{padding-right:24px}}
.cat-piece-dialog .btn.pri,.cat-image-dialog .cm-generate>.btn{background:#292826;border-color:#292826;color:#fff}.cat-gem-launch{color:#37352f}.cat-image-dialog .cm-gem-header>div:nth-child(2){flex:1;min-width:0}.cat-image-dialog .customer-media .cm-gem-header>span{flex:none}.cat-image-dialog>.cat-panel-close{background:#fffefa;border-radius:5px}
.cat-image-dialog .cm-composer{grid-template-columns:minmax(0,1fr)}.cat-image-dialog .cm-composer>div{min-width:0}.cat-image-dialog .cm-source-strip{max-width:100%;box-sizing:border-box}.cat-image-dialog .cm-results,.cat-image-dialog .cm-result{min-width:0}.cat-image-dialog .cm-result summary{min-width:0}.cat-image-dialog .cm-result summary strong{min-width:0;overflow-wrap:anywhere}

.cat-gem-launch.btn{margin-top:14px;padding:12px 14px;border:1px solid #c8d6c7;border-radius:9px;background:#eef4ed;color:#314e37;min-height:68px;box-shadow:none}.cat-gem-launch.btn:hover{background:#e4eee2;border-color:#a9bfa7}.cat-gem-launch.btn:focus-visible{outline:2px solid #42688f;outline-offset:3px}.cat-piece-dialog .cat-photo-upload .btn{border:1px solid #d8dfd5;background:#fff;color:#465b43;border-radius:7px;min-height:34px;padding:7px 13px}
.cat-image-status{display:inline-flex;align-items:center;gap:7px;font:11px/1.4 Arial,sans-serif;color:#496046;padding:6px 9px;border:1px solid #d9e4d7;border-radius:7px;background:#f0f5ed;max-width:100%;box-sizing:border-box}.cat-image-status.is-error{background:#fbf2ed;border-color:#ebd5c8;color:#8d5943}.cat-image-status.is-ready{background:#eef4ec;color:#42613d}.cat-image-spinner{display:inline-block;width:11px;height:11px;border:1.5px solid #bccdb7;border-top-color:#4f7045;border-radius:50%;animation:cat-image-spin .8s linear infinite;flex:none}.cat-editor-media>.cat-image-status{margin-top:12px}.cat-image-error{font-size:12px;line-height:1.5;color:#8d5943;margin:10px 0}.cat-card .cat-photo{position:relative}.cat-card .cat-photo>.cat-image-status{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);background:#fffef7ed;pointer-events:none;box-shadow:0 2px 8px #263a2110}.cat-card-body>.cat-card-images{display:flex;justify-content:flex-start;align-self:start;gap:6px;margin:8px 0 10px}.cat-card-images button{width:36px;height:36px;min-height:0;padding:0;border:1px solid #dfe5db;border-radius:5px;background:#f6f8f3;overflow:hidden;cursor:pointer}.cat-card-images img{display:block;width:100%;height:100%;object-fit:contain}.cat-table-piece .cat-image-status{margin-top:5px}.cat-photo-item[data-cat-generated=true] .cat-photo-cover{color:#617a57;font-size:10px}
@keyframes cat-image-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.cat-image-spinner{animation:none}}
.cat-source-stock{display:block;margin:6px 0;color:#496277;font:12px/1.5 Arial,sans-serif;white-space:normal}.cat-table-piece .cat-source-stock{margin-top:5px}.cat-shopify-source{margin-top:20px;padding-top:18px;border-top:1px solid #e2e5e8;font:13px/1.6 Arial,sans-serif;color:#46515b}.cat-shopify-source>header{display:flex;justify-content:space-between;gap:12px;align-items:center}.cat-shopify-source>header>span{font-size:11px;color:#68747e}.cat-shopify-source>p{margin:8px 0}.cat-shopify-source dl{margin:8px 0 12px}.cat-shopify-source dl>div{display:flex;justify-content:space-between;gap:14px;margin:4px 0}.cat-shopify-source dt{min-width:0;overflow-wrap:anywhere}.cat-shopify-source dd{margin:0;flex:none;font-variant-numeric:tabular-nums}.cat-shopify-source>small{display:block;color:#68747e;overflow-wrap:anywhere}.cat-source-photo-note{color:#496277}
.cat-origin{display:inline-flex;align-items:center;justify-self:start;align-self:start;width:fit-content;padding:3px 7px;border-radius:5px;background:#eef1f4;color:#586574;font:11px/1.4 Arial,sans-serif}.cat-origin.is-shopify{background:#eaf1f7;color:#42617f}.cat-card-body>.cat-origin{margin-top:7px}.cat-table-piece .cat-origin{margin-top:5px}.cat-editor-fields>.cat-shopify-source{margin:0 0 20px;padding:0 0 18px;border-top:0;border-bottom:1px solid #e2e5e8}.cat-shopify-source>header>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.cat-source-status{font:12px/1.4 Arial,sans-serif;color:#64717c}.cat-shopify-source>.cat-source-quantity{font-weight:600;font-size:14px;color:#3f5366}.cat-shopify-source>header .btn{font-size:12px;padding:7px 10px;min-height:34px;white-space:nowrap}
.cat-shopify-dialog{width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #d7dce0;border-radius:14px;background:#fff;color:#303840;font:13px/1.6 Arial,sans-serif;box-shadow:0 24px 80px #15202b30}.cat-shopify-dialog::backdrop{background:#17212b66}.cat-shopify-dialog>header,.cat-shopify-dialog>footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 22px;background:#f5f7f9}.cat-shopify-dialog>header{border-bottom:1px solid #e2e5e8}.cat-shopify-dialog>header h2{margin:0;font-size:20px;color:#2f373f}.cat-shopify-dialog>header p{margin:3px 0 0;color:#66727d;overflow-wrap:anywhere}.cat-shopify-dialog>footer{justify-content:flex-end;border-top:1px solid #e2e5e8}.cat-shopify-dialog .btn{padding:8px 14px;border:1px solid #cfd5db;border-radius:7px;background:#fff;color:#414d58;font:500 13px/1.5 Arial,sans-serif}.cat-shopify-dialog .btn.pri{background:#42688f;border-color:#42688f;color:#fff}.cat-shopify-dialog .btn:disabled{opacity:.5;cursor:not-allowed}.cat-shopify-body{max-height:calc(100dvh - 245px);overflow:auto;padding:4px 22px 20px}.cat-shopify-piece{padding:20px 0;border-bottom:1px solid #e2e5e8}.cat-shopify-piece>header{display:flex;flex-wrap:wrap;gap:6px 18px;justify-content:space-between;align-items:baseline}.cat-shopify-piece>header strong{font-size:15px}.cat-shopify-piece>header span{color:#677581;font-size:12px;overflow-wrap:anywhere}.cat-shopify-field-choices{display:grid;gap:12px;margin:16px 0}.cat-shopify-field-choices>label{display:flex;align-items:flex-start;gap:10px}.cat-shopify-field-choices input,.cat-shopify-image-choices input{width:17px;height:17px;accent-color:#42688f;flex:none;margin:3px 0}.cat-shopify-field-choices span{min-width:0}.cat-shopify-field-choices small{display:block;color:#65717b;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto}.cat-shopify-image-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.cat-shopify-image-choices>label{display:grid;grid-template-columns:20px minmax(0,1fr);gap:7px;align-items:start}.cat-shopify-image-choices img{width:100%;height:120px;object-fit:contain;background:#f7f8f9;border:1px solid #e2e5e8;border-radius:6px}.cat-shopify-image-choices span{grid-column:2;color:#63717c;font-size:12px}.cat-shopify-existing{margin:16px 0;color:#63717c}.cat-shopify-existing summary{cursor:pointer}.cat-shopify-existing>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.cat-shopify-existing img{width:62px;height:62px;object-fit:contain;border:1px solid #e2e5e8;border-radius:4px}.cat-shopify-warning,.cat-shopify-permission{margin:14px 0;padding:10px 12px;border-left:3px solid #b6873d;background:#fbf6eb;color:#745725}.cat-shopify-review-images{display:flex;flex-wrap:wrap;gap:12px}.cat-shopify-review-images figure{margin:0;width:140px}.cat-shopify-review-images img{width:140px;height:140px;object-fit:contain;background:#f7f8f9}.cat-shopify-review-images figcaption{font-size:12px;color:#63717c}.cat-shopify-piece dl>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;margin:10px 0}.cat-shopify-piece dt{font-weight:600}.cat-shopify-piece dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:600px){.cat-shopify-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 20px)}.cat-shopify-dialog>header,.cat-shopify-dialog>footer{padding:14px 16px}.cat-shopify-body{padding:0 16px 16px}.cat-shopify-piece dl>div{grid-template-columns:80px minmax(0,1fr)}.cat-shopify-image-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cat-workspace{--cat-line:var(--ix-border,#e2e5e8);color:var(--ix-ink,#252525)}
body.vf:has(#v-pieces.on) .scroll{padding-left:0;padding-right:0;scrollbar-gutter:auto;background:var(--ix-workspace,#f7f8f9)}
body.vf:has(#v-pieces.on) .wrap{padding-left:0;padding-right:0}
.cat-workspace{--cat-gutter:20px}
.cat-workspace>:not(.cat-header){margin-left:var(--cat-gutter);margin-right:var(--cat-gutter)}
.cat-header{padding:14px var(--cat-gutter) 0;background:var(--ix-header,#eef0f2);border:0;border-bottom:1px solid var(--cat-line);border-radius:0;color:var(--ix-ink,#252525)}
.cat-header .cat-toolbar{padding-bottom:14px;gap:12px}
.cat-toolbar h1{color:var(--ix-ink,#252525)}
.cat-header .cat-filterbar{background:var(--ix-paper,#fff);margin:0 calc(-1 * var(--cat-gutter));padding:6px var(--cat-gutter);min-height:48px;border-radius:0;border-top:1px solid var(--cat-line)}
.cat-header :is(.btn,.cat-modes button){display:inline-flex;align-items:center;justify-content:center;min-height:36px;line-height:1.4;text-align:center;border-radius:8px}
.cat-header .btn{border:1px solid #cfd5db;padding:8px 12px;color:#46515b}
.cat-header .btn.pri{background:var(--ix-blue,#42688f);border-color:var(--ix-blue,#42688f);color:#fff;font-weight:600}
.cat-header .cat-search{height:38px;border-color:#cfd5db}
.cat-header .cat-search input{height:34px}
.cat-header :is(.cat-primary-filters>label,.cat-menu>summary,.cat-sort select){color:#59646e}
.cat-header .cat-modes{background:var(--ix-header,#eef0f2);border-color:#d7dce0}
.cat-header .cat-modes button[aria-pressed=true]{background:var(--ix-charcoal,#282828);color:#fff}
.cat-card{border-color:var(--cat-line);border-radius:12px}
.cat-card-body{padding:15px}
.cat-piece-dialog{background:var(--ix-workspace,#f7f8f9)!important}
.cat-piece-dialog>:is(form,.cat-saved-piece)>header{padding:12px 24px;min-height:60px;background:var(--ix-charcoal,#282828);border:0;color:#fff}
.cat-editor-heading{display:flex;align-items:center;gap:20px;min-width:0}
.cat-piece-dialog>:is(form,.cat-saved-piece)>header .cat-editor-heading h2{font-size:16px;color:#fff}
.cat-piece-dialog>:is(form,.cat-saved-piece)>header .btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;background:#3a4146;border:1px solid #687176;border-radius:8px;color:#f2f4f5;padding:7px 12px;line-height:1.4}
.cat-piece-dialog>:is(form,.cat-saved-piece)>header .cat-editor-close{width:36px;min-width:36px;border-radius:50%;padding:0;font-size:22px}
.cat-piece-dialog .cat-dialog-body{grid-template-columns:minmax(0,32%) minmax(0,1fr);gap:16px;padding:16px;background:var(--ix-workspace,#f7f8f9)}
.cat-piece-dialog :is(.cat-editor-media,.cat-editor-fields){box-sizing:border-box;padding:20px;background:var(--ix-paper,#fff);border:1px solid var(--ix-border,#e2e5e8);border-radius:14px}
.cat-piece-dialog .cat-main-photo{max-width:340px;border-radius:9px}
.cat-piece-dialog .cat-editor-fields>label,.cat-piece-dialog .cat-field-grid label{color:#525c65;font-size:12px;font-weight:500}
.cat-piece-dialog .cat-editor-fields :is(input,select,textarea){border-color:#d7dce0;color:var(--ix-ink,#252525);background:#fff;border-radius:8px}
.cat-piece-dialog .cat-footer-actions .btn,.cat-piece-dialog .cat-photo-upload .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 15px;border:1px solid #cfd5db;border-radius:8px;font:500 13px/1.4 Arial,sans-serif;text-align:center}
.cat-piece-dialog .cat-footer-actions [data-cat-save-piece]{min-width:100px;background:var(--ix-blue,#42688f);border-color:var(--ix-blue,#42688f);color:#fff;font-weight:600}
.cat-piece-dialog .cat-footer-actions [data-cat-save-piece]:hover:not(:disabled){background:#365a7e}
.cat-piece-dialog .cat-editor-actions{margin-top:20px;padding-top:18px;border-color:var(--ix-border,#e2e5e8)}
.cat-header .cat-refinements{display:grid;grid-template-columns:88px 78px 172px 146px;align-items:center;gap:6px}
.cat-header .cat-refinements>:is(.cat-menu,.cat-sort,.cat-modes){align-self:center;margin:0;min-width:0;width:100%;box-sizing:border-box}
.cat-header .cat-refinements>.cat-menu>summary,.cat-header .cat-sort select{display:flex;align-items:center;justify-content:center;height:36px;min-height:36px;width:100%;max-width:none;box-sizing:border-box;border:1px solid var(--ix-border,#e2e5e8);border-radius:8px;background:#fff;padding:7px 10px;line-height:20px}
.cat-header .cat-sort select{display:block;padding-right:26px}
.cat-header .cat-refinements>.cat-menu[open]>summary,.cat-header .cat-refinements>.cat-menu>summary:hover{background:#f0f3f6;border-color:#b9c7d4;color:#3f5870}
.cat-header .cat-modes{height:36px;min-height:36px;padding:3px;gap:2px;background:#eef0f2;border-color:var(--ix-border,#e2e5e8)}
.cat-header .cat-modes button{flex:1;justify-content:center;min-height:28px;padding:3px 8px;line-height:20px;font-size:12px}
.cat-header .cat-modes button[aria-pressed=true]{background:var(--ix-charcoal,#282828)}
.cat-header .cat-primary-filters>label select{height:36px;box-sizing:border-box;line-height:20px}
.cat-header .cat-filterbar{min-height:52px}
@media(min-width:901px) and (max-width:1200px){.cat-header .cat-filterbar{flex-wrap:wrap;gap:8px}.cat-header .cat-primary-filters{flex:1 1 100%}.cat-header .cat-primary-filters>label{flex:1}.cat-header .cat-primary-filters>label select{width:100%;max-width:none}.cat-header .cat-refinements{margin-left:auto}}
@media(max-width:900px){.cat-header .cat-primary-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.cat-header .cat-refinements{margin-left:auto}}
@media(max-width:650px){.cat-header .cat-primary-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.cat-header .cat-primary-filters>label:last-child{grid-column:auto}.cat-header .cat-refinements{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:4px}.cat-header .cat-modes svg{display:block}.cat-header .cat-views>.cat-popover{left:auto;right:0}.cat-header .cat-more[open]>.cat-popover{max-height:min(430px,calc(100dvh - 120px))}}
body.vf:has(#v-designs.on) .scroll{padding-left:0;padding-right:0;scrollbar-gutter:auto;background:var(--ix-workspace,#f7f8f9)}
body.vf:has(#v-designs.on) .wrap{padding-left:0;padding-right:0}
#v-designs{--ds-gutter:20px;color:var(--ix-ink,#252525)}
#v-designs>:not(.ds-header){margin-left:var(--ds-gutter);margin-right:var(--ds-gutter)}
#v-designs .ds-header{padding:14px var(--ds-gutter) 0;background:var(--ix-header,#eef0f2);border-color:var(--ix-border,#e2e5e8);margin-bottom:20px}
#v-designs .ds-main{min-height:38px;padding-bottom:14px;gap:16px}
#v-designs .ds-heading{color:var(--ix-ink,#252525)}
#v-designs .ds-main .search{width:350px;min-width:0;height:38px;border:1px solid #cfd5db;border-radius:8px;padding:8px 12px;background:#fff;color:#343c44;box-sizing:border-box}
#v-designs .ds-main .btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;line-height:20px;padding:8px 14px;background:var(--ix-blue,#42688f);border-color:var(--ix-blue,#42688f);border-radius:8px;font-weight:600;white-space:nowrap}
#v-designs .ds-header>.tabs.seg{margin:0 calc(-1 * var(--ds-gutter));padding:7px var(--ds-gutter);gap:6px;background:#fff;border-top:1px solid var(--ix-border,#e2e5e8)}
#v-designs .ds-header>.tabs.seg button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px;border:1px solid transparent;border-radius:8px;color:#59646e;line-height:20px}
#v-designs .ds-header>.tabs.seg button.on{background:var(--ix-charcoal,#282828);border-color:var(--ix-charcoal,#282828);color:#fff}
#v-designs .ds-header>.tabs.seg em{margin-left:7px;color:inherit;opacity:.75;font-variant-numeric:tabular-nums}
#v-designs .pg{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;padding-bottom:24px}
#v-designs .pc.ds{min-width:0;padding:0;text-align:left;font-family:Arial,sans-serif;color:var(--ix-ink,#252525);background:#fff;border:1px solid var(--ix-border,#e2e5e8);border-radius:12px;transition:border-color .15s,box-shadow .15s}
#v-designs .pc.ds:hover{transform:none;border-color:#b3c2d0;box-shadow:0 3px 12px #2433400a}
#v-designs .pc.ds:focus-visible{outline:2px solid var(--ix-blue,#42688f);outline-offset:3px}
#v-designs .pc.ds .b{padding:15px}
#v-designs .pc.ds .b b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;line-height:1.45;font-size:14px;font-weight:600;min-height:41px}
#v-designs .pc.ds .b small{color:#68747e;line-height:1.5}
#v-designs .ds-st{color:#68747e;font:12px/1.5 Arial,sans-serif;letter-spacing:0}
#v-designs .ds-st.sent{color:#346c55}#v-designs .ds-st.made{color:#805c27}
@media(max-width:650px){#v-designs{--ds-gutter:12px}#v-designs .ds-main{gap:10px}#v-designs .ds-main .search{flex-basis:100%;width:100%}#v-designs .ds-main .btn{font-size:12px}#v-designs .ds-header>.tabs.seg button{font-size:12px;padding:7px 9px}#v-designs .pg{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#v-designs .pc.ds .b{padding:12px}#v-designs .pc.ds .b b{font-size:13px}}
@media(max-width:900px){.cat-piece-dialog .cat-dialog-body{grid-template-columns:minmax(0,35%) minmax(0,1fr);gap:16px;padding:16px}.cat-piece-dialog :is(.cat-editor-media,.cat-editor-fields){padding:16px}}
@media(max-width:700px){.cat-piece-dialog .cat-dialog-body{display:flex;justify-content:flex-start;gap:16px;padding:16px}.cat-piece-dialog .cat-main-photo{max-width:224px;margin-inline:auto}.cat-piece-dialog .cat-editor-media,.cat-piece-dialog .cat-editor-fields{max-width:520px;align-self:center;margin:0}.cat-workspace{--cat-gutter:12px}.cat-header{padding-top:12px}.cat-header .cat-filterbar{padding-top:8px;padding-bottom:8px}.cat-piece-dialog>:is(form,.cat-saved-piece)>header{padding:12px 16px}.cat-editor-heading{gap:12px}.cat-piece-dialog .cat-footer-actions{flex-wrap:wrap}.cat-piece-dialog .cat-footer-actions .btn{padding:9px 12px}}
.cat-detail-tabs{display:flex;gap:3px;padding:4px;background:#f1f3f5;border-radius:9px;margin:auto}.cat-detail-tabs>button{border:0;border-radius:6px;background:transparent;color:#66717a;padding:9px 23px;font:600 13px Arial,sans-serif;cursor:pointer}.cat-detail-tabs>button[aria-selected=true]{background:#fff;color:#243745;box-shadow:0 1px 4px #18273516}.cat-image-count{font:11px/1.6 Arial,sans-serif;color:#68727b;margin:14px 0 0}.cat-photo-item{width:60px}.cat-photo-item>button[data-cat-photo]{width:60px;height:60px}.cat-photo-cover,.cat-photo-destination{display:block;position:static;text-align:center;white-space:normal;font:10px/1.4 Arial,sans-serif;margin:5px 0 0;color:#68727b}.cat-photo-destination{padding:3px 2px;background:#f3f5f6;border-radius:4px}.cat-photo-destination.confirmed{color:#3e6347;background:#edf4ee}.cat-photo-destination.unknown{color:#826537;background:#f8f3e9}.cat-remote-note{font:11px/1.6 Arial,sans-serif;color:#697783;margin:24px 0 12px}.cat-remote-name{font:600 27px/1.25 Arial,sans-serif;color:#24313b;margin:0 0 18px}.cat-remote-description{white-space:pre-wrap;font:13px/1.7 Arial,sans-serif;color:#53606b}.cat-remote-fields{margin:24px 0;font:12px/1.6 Arial,sans-serif}.cat-remote-fields>div{display:grid;grid-template-columns:minmax(110px,35%) 1fr;gap:12px;border-bottom:1px solid #edf0f2;padding:11px 0}.cat-remote-fields dt{color:#74808a}.cat-remote-fields dd{margin:0;overflow-wrap:anywhere;color:#34434e}.cat-publication-state{border-top:1px solid #e5eaee;padding:18px 0;margin:18px 0;font:12px/1.6 Arial,sans-serif}.cat-publication-state h3{font-size:13px}.cat-publication-state ul{list-style:none;padding:0}.cat-publication-state li{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:8px 0}.cat-publication-state small{display:block;color:#73808a;font-size:11px}.cat-field-change{font:11px/1.6 Arial,sans-serif;color:#67798a;margin:-5px 0 16px}.cat-field-change summary{cursor:pointer;color:#426b8d}.cat-field-change dl{background:#f6f8fa;padding:10px 12px;border-radius:6px;margin:6px 0;overflow-wrap:anywhere}.cat-field-change dl>div{display:grid;grid-template-columns:60px 1fr;gap:8px}.cat-field-change dd{margin:0;white-space:pre-wrap}.cat-remote-empty{padding:25px 0;font:13px/1.7 Arial,sans-serif}.cat-header .cat-primary-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:650px){.cat-detail-tabs>button{padding:9px 13px}.cat-piece-dialog>:is(form,.cat-saved-piece)>header{flex-wrap:wrap;gap:12px}.cat-detail-tabs{order:3;flex-basis:100%;justify-content:center}.cat-detail-tabs>button{flex:1}.cat-remote-name{font-size:23px}.cat-header .cat-primary-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.cat-photo-item{width:52px}.cat-photo-item>button[data-cat-photo]{width:52px;height:52px}}

.cat-piece-info{position:relative;flex:none;font:12px/1.6 Arial,sans-serif;color:#46515b}
.cat-piece-info>summary,.cat-photo-info>summary{list-style:none;display:grid;place-items:center;cursor:pointer;box-sizing:border-box}
.cat-piece-info>summary::-webkit-details-marker,.cat-photo-info>summary::-webkit-details-marker{display:none}
.cat-piece-info>summary{width:36px;height:36px;border:1px solid #687176;border-radius:50%;color:#f2f4f5;background:#3a4146;font-size:19px}
.cat-piece-info[open]>summary,.cat-piece-info>summary:hover{background:#4a535a;border-color:#94a0aa}
.cat-piece-info-body{position:absolute;right:0;top:calc(100% + 12px);z-index:25;width:340px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 120px);overflow:auto;box-sizing:border-box;padding:18px 20px;border:1px solid #dce1e5;border-radius:12px;background:#fff;color:#46515b;box-shadow:0 12px 36px #18273526;text-align:left}
.cat-piece-info-body .cat-shopify-source{margin:0;padding:0;border:0}
.cat-piece-info-body .cat-shopify-source>header{padding:0;min-height:0;background:transparent;color:#46515b}
.cat-piece-info-body .cat-shopify-source dl>div{gap:12px}
.cat-piece-info-body .cat-shopify-source small{font-size:11px}
.cat-piece-info-body .cat-publication-state{margin:16px 0 0;padding:14px 0 0}
.cat-piece-info-body .cat-publication-state h3{margin:0 0 8px}
.cat-piece-info-body .cat-remote-note{margin:12px 0 0}
.cat-piece-info-body p{font-size:12px;line-height:1.6}
.cat-piece-info-body>h3{font-size:14px;margin:0 0 12px}
.cat-photo-item{position:relative;gap:0}
.cat-photo-info{position:relative;justify-self:center;margin-top:5px;text-align:left;font:11px/1.5 Arial,sans-serif}
.cat-photo-info>summary{width:25px;height:25px;border:0;border-radius:50%;background:#f1f3f5;color:#74808a;font-size:16px}
.cat-photo-info[open]>summary,.cat-photo-info>summary:hover{background:#e6ecf1;color:#365a7e}
.cat-photo-info>div{position:absolute;left:0;top:calc(100% + 6px);z-index:15;width:210px;max-width:calc(100vw - 52px);box-sizing:border-box;padding:12px 14px;border:1px solid #dce1e5;border-radius:9px;background:#fff;color:#596671;box-shadow:0 8px 24px #1827351f;white-space:normal;overflow-wrap:anywhere}
.cat-photo-item:nth-child(n+3) .cat-photo-info>div{left:auto;right:0}
.cat-photo-info .cat-photo-cover,.cat-photo-info .cat-photo-destination{font-size:11px;text-align:left;background:none;padding:0;margin:3px 0;color:inherit}
.cat-photo-info .cat-photo-destination.confirmed{color:#3e6347}
.cat-photo-info .cat-photo-destination.unknown{color:#826537}
.cat-piece-dialog .cat-footer-actions{gap:8px}
.cat-piece-dialog .cat-footer-actions [data-cat-shopify-open]{padding-left:12px;padding-right:12px}
.cat-piece-dialog .cat-editor-fields>label:first-child{margin-top:0}
.cat-gallery-dialog{position:fixed;width:min(900px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #dce1e5;border-radius:14px;background:#fff;color:#34414c;font:13px/1.6 Arial,sans-serif;box-sizing:border-box;box-shadow:0 24px 80px #15202b38;overflow:hidden}
.cat-gallery-dialog[open]{display:flex;flex-direction:column}
.cat-gallery-dialog::backdrop{background:#17212b66}
.cat-gallery-dialog>header,.cat-gallery-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;flex:none;background:#fff}
.cat-gallery-dialog>header{border-bottom:1px solid #e5e9ed}
.cat-gallery-dialog>header h2{font-size:20px;font-weight:600;line-height:1.35;letter-spacing:-.3px;margin:0}
.cat-gallery-dialog>header p{font-size:12px;color:#75808a;margin:5px 0 0}
.cat-gallery-dialog>footer{border-top:1px solid #e5e9ed}
.cat-gallery-dialog>footer .cat-help{font-size:11px;color:#74808a;margin:0;flex:1}
.cat-gallery-dialog .btn,.cat-gallery-controls button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid #d6dde3;border-radius:7px;background:#fff;color:#465360;font:500 12px/1.4 Arial,sans-serif;cursor:pointer;box-sizing:border-box}
.cat-gallery-dialog .btn.pri{color:#fff;background:#42688f;border-color:#42688f}
.cat-gallery-dialog .cat-panel-close{display:grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;background:#f4f6f8;border:0;border-radius:50%;font-size:22px;color:#64717b}
.cat-gallery-dialog :is(button,summary,label):focus-visible,.cat-piece-info>summary:focus-visible,.cat-photo-info>summary:focus-visible{outline:2px solid #42688f;outline-offset:3px}
.cat-gallery-dialog .btn:disabled,.cat-gallery-controls button:disabled{opacity:.4;cursor:default}
.cat-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;padding:22px;overflow:auto;min-height:0;overscroll-behavior:contain}
.cat-gallery-item{min-width:0;position:relative}
.cat-gallery-item[draggable=true]{cursor:grab}
.cat-gallery-item>img,.cat-gallery-item>button[data-cat-photo]{display:block;width:100%;height:180px;object-fit:contain;box-sizing:border-box;border:1px solid #e5e9ed;border-radius:8px;background:#f8f9fa;padding:0}
.cat-gallery-item>button[data-cat-photo] img{display:block;width:100%;height:100%;object-fit:contain;border-radius:7px;pointer-events:none}
.cat-gallery-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#65727d;margin:10px 0 9px;min-height:20px}
.cat-gallery-label strong{font-size:12px;font-weight:500;color:#465360}
.cat-gallery-item .cat-help{font-size:11px;color:#7d8992;margin:8px 0 0}
.cat-gallery-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.cat-gallery-controls button{min-height:30px;font-size:11px;padding:6px 9px}
.cat-gallery-controls button[data-cat-remove-photo]{color:#995147;border-color:#e5d4d1}
.cat-gallery-dialog label.btn{position:relative;cursor:pointer;white-space:nowrap}
.cat-gallery-dialog input[type=file]{position:absolute;width:1px;height:1px;opacity:0;padding:0;overflow:hidden}
.cat-gallery-dialog label.btn:focus-within{outline:2px solid #42688f;outline-offset:3px}
.cat-gallery-grid>.cat-gallery-empty{grid-column:1/-1;text-align:center;color:#7b8790;padding:36px 12px}
@media(max-width:700px){.cat-gallery-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.cat-gallery-dialog>header,.cat-gallery-dialog>footer{padding:16px}.cat-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;padding:16px}.cat-gallery-item>img,.cat-gallery-item>button[data-cat-photo]{height:150px}.cat-gallery-dialog>footer{flex-wrap:wrap}.cat-gallery-dialog>footer .cat-help{flex-basis:100%;order:3}.cat-piece-info-body{right:-46px;width:320px;max-width:calc(100vw - 32px)}.cat-piece-dialog .cat-footer-actions{gap:8px}.cat-piece-dialog .cat-footer-actions .btn{font-size:12px;padding:9px 11px}.cat-photo-info>div{font-size:11px}.cat-detail-tabs{margin:0 auto}}
@media(max-width:400px){.cat-gallery-grid{grid-template-columns:minmax(0,1fr)}.cat-gallery-item>img,.cat-gallery-item>button[data-cat-photo]{height:220px}.cat-gallery-controls{gap:8px}.cat-gallery-controls button{flex:1;min-height:34px}.cat-gallery-label{margin-top:12px}.cat-piece-dialog .cat-footer-actions [data-cat-discard]{flex-basis:100%;margin:0;justify-content:flex-start;background:none;border:0;padding-left:0}.cat-piece-info-body{right:-42px}}

.cat-catalogue-note{margin:0 0 18px;color:#667482;font:12px/1.6 Arial,sans-serif}.cat-catalogue-note a{color:#42688f;text-decoration:none}.cat-catalogue-note a:hover{text-decoration:underline}.cat-piece-dialog :is(input,textarea,select):disabled{opacity:1;color:#465360;-webkit-text-fill-color:#465360;background:#f5f7f8;border-color:#e3e7eb;cursor:default}.cat-gallery-actions{display:flex;align-items:center;gap:10px}.cat-gallery-hint{margin:0;padding:12px 22px 0;color:#6b7782;font-size:12px}.cat-gallery-actions [aria-pressed=true]{background:#42688f;color:#fff;border-color:#42688f}.cat-gallery-item[draggable=true]{border-radius:10px;outline:2px dashed #bacbd9;outline-offset:5px;touch-action:none}.cat-gallery-item[draggable=true]:active{cursor:grabbing;opacity:.7}.cat-gallery-label .cat-drag-handle{margin-left:auto;color:#718495;font-size:20px}.cat-attribute-fields[open]>summary{margin-bottom:14px}

.cat-attribute-fields{margin-top:22px;padding-top:20px;border-top:1px solid #e3e8ec}.cat-attribute-fields>h3{margin:0 0 16px;color:#445563;font-size:14px}.cat-field-note{display:block;color:#71808b;font:11px/1.5 Arial,sans-serif;margin:6px 0 0}.cat-draft-status{flex-basis:100%;margin:10px 0 0;color:#627586;font:12px/1.6 Arial,sans-serif}
.cat-piece-info-body{width:390px;padding:0 22px 10px}.cat-piece-info-body .cat-info-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;color:#30414d;border:0;min-height:0;padding:20px 0 16px}.cat-info-heading h2{font:600 17px/1.4 Arial,sans-serif;margin:0}.cat-info-status{border-radius:20px;background:#f1f3f5;color:#647180;font:11px/1.5 Arial,sans-serif;padding:4px 9px;white-space:nowrap}.cat-info-status.is-connected{background:#eaf3ed;color:#406450}.cat-info-section{border-top:1px solid #e8edef;padding:17px 0}.cat-info-section h3{margin:0 0 7px;font:600 12px/1.5 Arial,sans-serif;color:#354956}.cat-info-section p{margin:0;color:#65737e}.cat-info-facts{margin:13px 0 0}.cat-info-facts>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;margin-top:7px}.cat-info-facts dt{color:#7c8891}.cat-info-facts dd{margin:0;overflow-wrap:anywhere;color:#394d5c}.cat-info-photo-counts{display:flex;gap:22px;margin:12px 0}.cat-info-photo-counts>div{display:flex;flex-direction:column;gap:2px}.cat-info-photo-counts strong{font-size:19px;font-weight:500;color:#344e60}.cat-info-photo-counts span{color:#74828c;font-size:11px}.cat-info-channels{list-style:none;margin:10px 0 0;padding:0}.cat-info-channels li{display:flex;justify-content:space-between;gap:12px}.cat-piece-info-body .cat-info-alert{margin:12px 0 8px;padding:10px 12px;background:#fff7e8;color:#85612e;border-radius:6px}.cat-reviewed-fields{margin:22px 0}.cat-reviewed-fields>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;border-top:1px solid #e5eaee;padding:16px 0}.cat-reviewed-fields dt{color:#526675;font-weight:600;font-size:12px}.cat-reviewed-fields dd{margin:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;font:13px/1.65 Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}.cat-review-before{color:#7c8891}.cat-review-after{color:#314c3c}.cat-review-before:before,.cat-review-after:before{display:block;color:#8a959e;font:10px/1.5 Arial,sans-serif;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}.cat-review-before:before{content:'Current'}.cat-review-after:before{content:'After update'}
@media(max-width:700px){.cat-piece-info-body{width:340px;right:-46px}.cat-reviewed-fields>div{grid-template-columns:minmax(0,1fr);gap:10px}.cat-reviewed-fields dd{gap:16px}}

@media(max-width:700px){.cat-dialog.cat-piece-dialog{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:12px}}

.cat-generated-mark{display:inline-flex;align-items:center;justify-content:center;flex:none;color:#617a6b;font:16px/1.2 Arial,sans-serif;vertical-align:middle}.cat-image-count{display:flex;align-items:center;gap:8px}.cat-photo-item>.cat-generated-mark{justify-self:center}.cat-card-image{display:flex;flex-direction:column;align-items:center;gap:4px;width:36px;flex:none}.cm-library-caption{display:flex;align-items:center;justify-content:center;gap:5px}

.cat-selection-dialog .cat-picker-card{cursor:pointer;border:2px solid transparent;box-shadow:0 0 0 1px #d8e0e8;transition:border-color .12s,background .12s}
.cat-selection-dialog .cat-picker-card:hover{border-color:#97b4d0}
.cat-selection-dialog .cat-picker-card[aria-pressed=true]{border-color:#426f9b;background:#eef5fc;box-shadow:0 0 0 1px #426f9b}
.cat-selection-dialog .cat-picker-card:focus-visible{outline:3px solid #83afd8;outline-offset:3px}
.cat-selection-dialog .cat-picker-card .cat-name{display:block}

.cat-selection-dialog .cat-picker-row{cursor:pointer}
.cat-selection-dialog .cat-picker-row:hover{background:#f3f7fb}
.cat-selection-dialog .cat-picker-row[aria-pressed=true]{background:#eaf3fc;outline:2px solid #426f9b;outline-offset:-2px}
.cat-selection-dialog .cat-picker-row:focus-visible{outline:3px solid #83afd8;outline-offset:-3px}

.cat-grid:has(>.cat-inventory-card){gap:12px}
.cat-grid>.cat-inventory-card{display:block;position:relative;border-radius:9px;background:white}
.cat-inventory-card .cat-photo{aspect-ratio:1;border:0;border-radius:0;overflow:hidden}
.cat-inventory-card .cat-photo img{display:block;width:100%;height:100%;object-fit:contain}
.cat-inventory-card .cat-shelf-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;min-height:2.8em;margin:8px 9px;color:#28323c;font:500 12px/1.4 Arial,sans-serif;overflow:hidden;overflow-wrap:anywhere}
.cat-inventory-card .cat-photo>.cat-generated-mark{position:absolute;right:7px;bottom:7px;background:white;border-radius:50%;width:20px;height:20px;pointer-events:none}
.cat-inventory-card .cat-shelf-open:focus-visible{outline:3px solid #5282ae;outline-offset:-3px}
@media(max-width:650px){.cat-grid:has(>.cat-inventory-card){gap:9px}}

/* Pieces: the library switches destination independently of the catalogue filters. */
.cat-header .cat-library-switch{display:inline-flex;align-items:center;gap:3px;flex:none;padding:3px;border:1px solid #d9dee4;border-radius:22px;background:#e7ebef}
.cat-library-switch button,.cat-sources button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;color:#4e5864;font:600 13px/1.3 Arial,sans-serif;white-space:nowrap}
.cat-library-switch button{padding:8px 14px;border-radius:18px}
.cat-library-switch button[aria-pressed=true]{background:#fff;color:#202831;box-shadow:0 1px 3px #202a3526}
.cat-sources{display:flex;align-items:stretch;gap:22px;background:#fff;margin-inline:calc(-1 * var(--cat-gutter));padding:0 var(--cat-gutter);border-top:1px solid var(--cat-line)}
.cat-sources button{position:relative;padding:12px 0;font-size:13px}
.cat-sources button[aria-pressed=true]{color:#294c71}
.cat-sources button[aria-pressed=true]::after{content:'';position:absolute;inset:auto 0 0;height:3px;background:#42688f;border-radius:2px 2px 0 0}
.cat-shopify-bag{display:inline-block;flex:none;width:18px;height:20px;object-fit:contain;vertical-align:middle}
.cat-connection>summary .cat-shopify-bag{width:14px;height:16px;margin-right:6px}
.cat-sources .cat-shopify-bag{width:15px;height:17px}
.cat-workspace .cat-result{color:#526070;font-size:13px}
.cat-workspace .cat-result>[data-cat-select-all]{border:1px solid #ccd4dc;background:white;border-radius:8px;color:#344454;padding:7px 11px;font-size:12px}
.cat-selection-bar{display:flex;position:sticky;top:8px;z-index:9;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 14px;margin-bottom:16px;border-radius:10px;background:#283442;color:white;box-shadow:0 3px 12px #18283824}
.cat-selection-bar strong{margin-right:auto;font:600 14px/1.4 Arial,sans-serif}
.cat-selection-bar small{flex-basis:100%;color:#e1e7ee;font:12px/1.4 Arial,sans-serif}
.cat-workspace .cat-selection-bar .btn,.cat-piece-dialog>:is(form,.cat-saved-piece)>header .cat-transfer{display:inline-flex;gap:8px;align-items:center;justify-content:center;background:#fff;color:#1c2a38;border:1px solid #fff;border-radius:7px;padding:8px 13px;min-height:38px;font:600 13px/1.35 Arial,sans-serif;letter-spacing:0;text-transform:none}
.cat-workspace .cat-selection-bar .cat-selection-edit{border-color:#8492a0;background:#39495a;color:#fff}
.cat-workspace .cat-selection-bar .cat-selection-clear{border-color:transparent;background:transparent;color:#f2f4f6;font-weight:400}
.cat-selection-bar .btn:not(:disabled):hover,.cat-piece-dialog>:is(form,.cat-saved-piece)>header .cat-transfer:not(:disabled):hover{box-shadow:0 0 0 2px #afc8df}
.cat-selection-bar .cat-transfer:disabled,.cat-piece-dialog>:is(form,.cat-saved-piece)>header .cat-transfer:disabled{opacity:1;background:#d9dfe4;color:#535f69;border-color:#cbd3db;cursor:not-allowed}
.cat-workspace [data-cat-item]{cursor:pointer}
.cat-workspace .cat-inventory-card:is(:hover,:focus-within){border-color:#94a8ba}
.cat-workspace .cat-inventory-card[data-selected=true]{border-color:#42688f;box-shadow:0 0 0 2px #42688f}
.cat-workspace .cat-table tr[data-selected=true]{background:#eaf1f7}
.cat-gem-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(190px,100%),1fr));gap:12px}
.cat-gem-tile{position:relative;display:block;min-width:0;aspect-ratio:1;padding:0;border:1px solid #dce1e5;border-radius:12px;overflow:hidden;background:#f1f2f3;cursor:zoom-in}
.cat-gem-tile>img{display:block;width:100%;height:100%;object-fit:contain}
.cat-gem-caption{position:absolute;inset:auto 0 0;display:grid;gap:3px;padding:30px 13px 13px;background:linear-gradient(transparent,#0f1820dc);color:white;text-align:left;opacity:0;pointer-events:none}
.cat-gem-caption strong,.cat-gem-caption small{font:600 14px/1.4 Arial,sans-serif;overflow-wrap:anywhere}
.cat-gem-caption small{font-size:12px;font-weight:400}
.cat-gem-tile:is(:hover,:focus) .cat-gem-caption{opacity:1}
.cat-photo-viewer[data-cat-gem-preview]>p{font:500 14px/1.5 Arial,sans-serif;text-align:center;margin:0;color:#fff;overflow-wrap:anywhere}
.cat-piece-source{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.cat-shop-link{font:600 13px/1.4 Arial,sans-serif;color:#355f85;text-decoration:underline;text-underline-offset:3px}
.cat-editor-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cat-header-actions{flex:none}
.cat-photo-list [aria-pressed=true]{outline:2px solid #42688f;outline-offset:1px}
.cat-workspace :is(.cat-sources,.cat-library-switch,.cat-selection-bar) button:focus-visible,.cat-gem-tile:focus-visible{outline:3px solid #76a9d5;outline-offset:2px}
@media(max-width:1000px){.cat-header .cat-toolbar{flex-wrap:wrap}}
@media(max-width:700px){
 .cat-header .cat-toolbar{gap:9px}.cat-header .cat-library-switch{margin-left:auto}
 .cat-header .cat-toolbar h1{margin-right:0}.cat-header .cat-search{flex-basis:100%}
 .cat-sources{justify-content:flex-start;gap:16px}.cat-sources button{font-size:12px}
 .cat-gem-wall{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .cat-selection-bar{top:0;gap:6px;padding:9px}.cat-selection-bar strong{flex:1 1 50%}
 .cat-workspace .cat-selection-bar .cat-selection-clear{order:-1;margin-left:auto}.cat-selection-bar strong{order:-2}
 .cat-piece-dialog>:is(form,.cat-saved-piece)>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .cat-piece-dialog .cat-header-actions{display:contents}.cat-piece-dialog .cat-editor-heading{min-width:0;gap:8px}
 .cat-piece-dialog .cat-header-actions>.cat-transfer{grid-column:1/-1;grid-row:2;justify-self:start}
 .cat-piece-dialog .cat-header-actions>.cat-piece-info{grid-column:2;grid-row:1}
 .cat-piece-dialog>:is(form,.cat-saved-piece)>header .cat-editor-close{display:none}
 .cat-piece-dialog .cat-header-actions .cat-piece-info-body{right:0}
}

.cat-sources .cat-mobile-refine{display:none}
@media(max-width:650px){
 .cat-sources .cat-mobile-refine{display:inline-flex;min-width:34px;margin-left:auto}
 .cat-sources .cat-mobile-refine[aria-expanded=true]{color:#294c71;background:#edf2f7}
 .cat-header #cat-refinement-controls[data-mobile-open=false]{display:none}
 .cat-chips:has(>[data-cat-remove-filter=source]:first-child:nth-last-child(2)){display:none}
 .cat-header .cat-toolbar .cat-connection{order:0;margin:0 0 0 auto}
 .cat-header .cat-toolbar .cat-connection>summary{max-width:100%}
}

/* Browse with the full photograph; reveal the piece's other views in place. */
.cat-inventory-card .cat-shelf-overlay{position:absolute;inset:auto 0 0;max-height:100%;overflow:auto;box-sizing:border-box;padding:30px 9px 9px;background:linear-gradient(transparent,#111820dd 36%,#111820f2);color:#fff;visibility:hidden;pointer-events:none}
.cat-inventory-card .cat-full-name{display:block;overflow-wrap:anywhere;font:600 12px/1.4 Arial,sans-serif}
.cat-inventory-card:is(:hover,:focus-within) .cat-shelf-overlay{visibility:visible}
.cat-angle-strip:not(:empty){display:flex;align-items:center;gap:5px;margin-top:7px}
.cat-angle-strip button{display:block;width:26px;height:26px;border:1px solid #ffffff70;background:#26323c;border-radius:4px;padding:0;overflow:hidden;cursor:pointer;pointer-events:auto}
.cat-angle-strip button[aria-pressed=true]{border:2px solid white}
.cat-angle-strip button:focus-visible{outline:2px solid #8ec7ff;outline-offset:1px}
.cat-inventory-card .cat-angle-strip img{width:100%;height:100%;object-fit:contain}
.cat-inventory-card .cat-photo>input{z-index:2}
.cat-inventory-card [hidden]{display:none}
.cat-workspace .cat-mode-select[aria-pressed=true]{background:#2c4054;border-color:#2c4054;color:#fff}
.cat-selection-hint{color:#425769;font:600 13px/1.4 Arial,sans-serif;margin-block:0 12px}
.cat-actions-more{position:relative}.cat-actions-more summary{background:#39495a;color:#fff;border:1px solid #8492a0;border-radius:7px;min-width:36px;text-align:center;list-style:none;padding:8px 0;cursor:pointer}
.cat-actions-more summary::-webkit-details-marker{display:none}
.cat-actions-more>div{position:absolute;right:0;top:calc(100% + 4px);z-index:2;width:max-content;background:#fff;border:1px solid #ccd4dc;padding:4px;border-radius:8px;box-shadow:0 4px 14px #15263622}
.cat-actions-more button{display:block;width:100%;padding:8px 10px;background:white;border:0;text-align:left;color:#253444;font:13px/1.4 Arial,sans-serif;cursor:pointer}
.cat-actions-more button:hover,.cat-actions-more button:focus-visible{background:#eef2f6}
.cat-collect-form header{align-items:center}.cat-collect-form header span{font-size:12px;color:#576575}
.cat-collect-form footer{justify-content:flex-end}
@media(hover:none){.cat-inventory-card .cat-shelf-overlay{display:none}.cat-angle-strip{display:none!important}}

.cat-shelf-meta{display:block;margin-top:3px;color:#ebeff3;font:11px/1.4 Arial,sans-serif}
@media(hover:none){.cat-shelf-meta{display:none}}

/* One sizing preference for the inventory and Gem photo grids. */
.cat-workspace [data-grid-size]{--tile-min:148px;grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--tile-min)),1fr))}
.cat-workspace [data-grid-size="medium"]{--tile-min:208px}
.cat-workspace [data-grid-size="large"]{--tile-min:290px}
.cat-result .cat-grid-size{display:inline-flex;align-items:center;gap:8px;margin-inline-start:auto;font-size:12px}
.cat-workspace .cat-grid-size select{width:auto;padding:5px 8px;font:inherit;font-weight:600;cursor:pointer}
.cat-inventory-card .cat-photo{width:100%;min-height:0}
.cat-inventory-card .cat-shelf-open{position:absolute;inset:0}
.cat-inventory-card .cat-shelf-overlay:has(>.cat-full-name[hidden]:only-child){display:none}
.cat-inventory-card .cat-angle-strip button{min-width:0;max-width:calc((100% - 15px)/4);background:#f5f5f3}
.cat-piece-collections{display:grid;gap:5px}
.cat-piece-collections strong{font-size:12px}.cat-piece-collections span{overflow-wrap:anywhere;font-size:14px}
@media(max-width:650px){
 .cat-workspace [data-grid-size="compact"]{--tile-min:96px}
 .cat-workspace [data-grid-size="medium"]{--tile-min:145px}
 .cat-workspace [data-grid-size="large"]{--tile-min:220px}
 .cat-inventory-card .cat-shelf-name{margin:6px 7px}
}

.cat-attribute-fields{padding-top:0}
.cat-attribute-fields>summary{display:flex;align-items:center;gap:10px;min-height:46px;cursor:pointer;list-style:none;color:#344452}
.cat-attribute-fields>summary::-webkit-details-marker{display:none}
.cat-attribute-fields>summary>span{flex:none;font-size:13px;font-weight:600}
.cat-attribute-fields>summary>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#576776}
.cat-attribute-fields>summary::after{content:"";flex:none;margin-left:auto;margin-right:4px;width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.cat-attribute-fields[open]>summary::after{transform:rotate(225deg)}
.cat-attribute-fields>summary:focus-visible{outline:2px solid #42688f;outline-offset:2px}

.cat-piece-dialog .cat-editor-fields textarea[data-cat-field="description"]{min-height:3.5rem;line-height:1.45;resize:vertical}
.cat-piece-dialog .cat-core-fields{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 16px}
.cat-core-fields>div{min-width:0;max-width:100%}
.cat-money-fields{display:grid;align-items:end;grid-template-columns:5.5rem minmax(0,7rem);gap:6px}
.cat-type-field{width:8rem}
.cat-kind-field{width:10rem}
.cat-piece-dialog .cat-gem-launch.btn{justify-content:flex-start;gap:10px;min-height:48px;padding:8px 14px 8px 10px;border:1px solid #2c425b;border-radius:10px;background:#304967;color:white;text-align:left}
.cat-piece-dialog .cat-gem-launch.btn:hover{background:#263c56}
.cat-piece-dialog .cat-gem-launch.btn:focus-visible{outline:2px solid #42688f;outline-offset:3px}
.cat-gem-launch .cat-gem-mark{width:30px;height:30px;padding:3px;box-sizing:border-box;border-radius:8px;background:#f5f6fa}
.cat-gem-launch strong{font-weight:600}
.cat-gem-launch .cat-gem-arrow{width:7px;height:7px;margin-left:auto;margin-right:3px;border:solid #fff;border-width:1.5px 1.5px 0 0;transform:rotate(45deg)}
@media(max-width:420px){.cat-piece-dialog .cat-core-fields{column-gap:10px}.cat-type-field{width:7rem}.cat-kind-field{width:9.75rem}}

.cat-media-column{min-width:0;display:grid;gap:10px}
.cat-piece-dialog .cat-shot-panel{margin:0;box-sizing:border-box;padding:10px;background:var(--ix-paper,#fff);border:1px solid var(--ix-border,#e2e5e8);border-radius:14px}
.cat-shot-panel .cat-gem-launch.btn{margin:0}
.cat-piece-dialog .cat-attribute-fields .cat-field-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));gap:12px;max-width:34rem}
.cat-piece-dialog .cat-attribute-fields .cat-field-grid>div{min-width:0}
@media(max-width:700px){.cat-media-column{align-self:center;width:100%;max-width:520px}.cat-piece-dialog>form{height:100%;max-height:calc(100dvh - 18px)}}

/* Catalogue inspector: keep the shelf and the piece independently scrollable. */
body{--cat-drawer-width:clamp(390px,32vw,520px);--cat-slide:340ms cubic-bezier(.22,.75,.2,1)}
.cat-dialog.cat-drawer{overflow:visible;position:fixed;inset:0 0 0 auto;margin:0;width:var(--cat-drawer-width);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid #cdd5dc;border-radius:0;box-shadow:-8px 0 28px #24334329;z-index:60;transform:translateX(100%);transition:transform var(--cat-slide),display 340ms allow-discrete,overlay 340ms allow-discrete}
.cat-dialog.cat-drawer[open]{transform:translateX(0);animation:cat-drawer-enter var(--cat-slide)}
@keyframes cat-drawer-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
.cat-drawer>form{height:100%;max-height:100%}
.cat-drawer>:is(form,.cat-saved-piece)>header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:12px 16px;min-height:0}
.cat-drawer .cat-editor-heading{grid-column:1;grid-row:1;min-width:0}
.cat-drawer>:is(form,.cat-saved-piece)>header .cat-editor-heading h2{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font:600 16px/1.35 Arial,sans-serif}
.cat-drawer .cat-editor-heading:empty{display:none}
.cat-drawer .cat-header-actions{display:contents}
.cat-drawer .cat-header-actions>.cat-piece-info{grid-column:2;grid-row:1}
.cat-drawer .cat-piece-info>summary{width:28px;height:32px;border:0;background:transparent;font-size:15px}
.cat-drawer .cat-piece-info>summary:hover{background:#465159}
.cat-drawer .cat-piece-info-body{right:0}
.cat-drawer .cat-collapse{position:absolute;z-index:3;top:50%;left:0;transform:translate(-50%,-50%);box-sizing:border-box;width:38px;height:38px;padding:0;display:grid;place-items:center;cursor:pointer;color:#fff;background:#16181b;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 7px #18243155}
.cat-drawer .cat-collapse::after{content:"";width:8px;height:8px;border:solid currentColor;border-width:2px 2px 0 0;transform:rotate(45deg);margin-right:3px}
.cat-drawer .cat-collapse::before{content:"";position:absolute;inset:-5px;border-radius:50%}
.cat-drawer .cat-collapse:hover{background:#30353b;color:white}
.cat-drawer .cat-collapse:focus-visible,.cat-save-send .cat-shop-link:focus-visible{outline:2px solid #769ecd;outline-offset:1px}
.cat-save-send .cat-shop-link{display:inline-flex;align-items:center;box-sizing:border-box;min-height:38px;padding:7px 10px;border:1px solid #85909a;border-radius:7px;color:#fff;text-decoration:none;white-space:nowrap}
.cat-save-send .cat-shop-link:hover{background:#465159}
.cat-money-fields :is(select,input)[data-cat-field=currency]{padding-inline:6px}
.cat-money-fields input[readonly]{background:#f2f4f6;color:#4b5966}
.cat-drawer .cat-save-send{grid-column:1;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.cat-drawer .cat-editor-heading:not(:empty)~.cat-header-actions .cat-save-send{grid-row:2}
.cat-drawer>:is(form,.cat-saved-piece)>header .cat-save-send .cat-header-save{background:#42688f;border:1px solid #7596b6;color:#fff;font-weight:600;padding:8px 14px;min-height:38px}
.cat-drawer .cat-editor-actions:has(.cat-error:empty):has(.cat-footer-actions:empty):not(:has(.cat-draft-status)){display:none}
.cat-close-choice{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px;background:#fff3d7;color:#563e13;font:13px/1.5 Arial,sans-serif}
.cat-close-choice strong{flex-basis:100%}
.cat-close-choice .btn{border:1px solid #beae91;padding:6px 10px}
.cat-piece-source .cat-shop-link{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;text-decoration:none;border:1px solid #b9c9d6;border-radius:7px;background:#f6f9fb;color:#314e68}
.cat-piece-source .cat-shop-link:hover{background:#e7eff5}
.cat-piece-source .cat-shop-link:focus-visible{outline:2px solid #42688f;outline-offset:2px}
.cat-drawer .cat-dialog-body{display:flex;flex-direction:column;gap:12px;padding:12px;align-items:stretch;justify-content:flex-start;overscroll-behavior:contain}
.cat-drawer .cat-media-column,.cat-drawer .cat-editor-fields,.cat-drawer .cat-editor-media{width:100%;max-width:none;box-sizing:border-box}
.cat-drawer .cat-editor-fields,.cat-drawer .cat-editor-media{padding:14px}
.cat-drawer .cat-main-photo{width:100%;max-width:none;aspect-ratio:1;min-height:0}
.cat-main-photo{position:relative}
.cat-drawer-notice:not([hidden]){margin:0;padding:10px 16px;background:#fff3d7;color:#614917;font:13px/1.5 Arial,sans-serif}
.cat-workspace [data-cat-item]:has([aria-current=true]){outline:2px solid #42688f;outline-offset:-2px;background:#edf3f9}
@media(min-width:960px){
 body:has(#v-pieces.on) .main{position:relative;transition:margin-right var(--cat-slide)}
 body:has(#v-pieces.on) .main::after{content:"";position:absolute;inset:0;z-index:12;pointer-events:none;background:#253549;opacity:0;transition:opacity var(--cat-slide)}
 body:has(#v-pieces.on):has(.cat-drawer[open]) .main::after{opacity:.28}
 body:has(.cat-drawer[open]) .as-companion{right:calc(var(--cat-drawer-width) + 16px)}
 body:has(.cat-drawer[open]) .main{margin-right:var(--cat-drawer-width)}
 body:has(.cat-drawer[open]) .cat-header .cat-toolbar,body:has(.cat-drawer[open]) .cat-header .cat-filterbar{flex-wrap:wrap}
 body:has(.cat-drawer[open]) .cat-header .cat-refinements{display:flex;flex-wrap:wrap;flex:0 1 auto;margin-left:0}
 body:has(.cat-drawer[open]) .cat-header .cat-refinements>*{width:auto}
 body:has(.cat-drawer[open]) .cat-header .cat-primary-filters{display:flex;flex-wrap:wrap;flex:1 1 auto}
 body:has(.cat-drawer[open]) .cat-header .cat-primary-filters>label{flex:0 1 auto}
}
@media(max-width:959px){.cat-dialog.cat-drawer{width:min(calc(100vw - 22px),480px)}.cat-drawer::backdrop{background:#1d2a3945}}
.cat-drawer.cat-add-piece::backdrop{background:rgb(19 26 35 / 64%);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.cat-add-piece>form>header{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}
.cat-add-piece .cat-editor-heading:not(:empty)~.cat-header-actions .cat-save-send{grid-column:2;grid-row:1}
.cat-add-piece .cat-header-actions>.cat-piece-info{grid-column:3}
.cat-title-field{display:grid;gap:5px}
.cat-title-field label{display:block}
.cat-title-field .cat-required,.cat-title-error{color:#994537}
.cat-title-field [aria-invalid=true]{border-color:#994537}
.cat-title-field .cat-title-error{font-size:12px;margin:0}
.cat-add-piece .cat-title-field textarea{box-sizing:border-box;width:100%;min-height:2.6rem;height:2.6rem;resize:vertical}
@media(max-width:440px){.cat-drawer>:is(form,.cat-saved-piece)>header{padding-inline:10px;column-gap:3px}.cat-drawer .cat-save-send{gap:5px}.cat-drawer>:is(form,.cat-saved-piece)>header .cat-save-send :is(.cat-header-save,.cat-transfer),.cat-save-send .cat-shop-link{padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.cat-dialog.cat-drawer[open]{animation:none}.cat-dialog.cat-drawer,body:has(#v-pieces.on) .main,body:has(#v-pieces.on) .main::after{transition:none}}

.cat-editor-fields>.cat-title-field{margin-bottom:16px}
.cat-drawer>:is(form,.cat-saved-piece)>header .cat-save-send .cat-header-save:disabled{background:#414a51;border-color:#56616a;color:#b9c0c7;cursor:default}
.cat-main-photo[data-cat-drop-photos]:has(.cat-photo-empty){border:1px dashed #a6b4be;box-sizing:border-box}
.cat-main-photo.is-dragging::after{content:"";position:absolute;inset:0;border:3px solid #42688f;border-radius:inherit;background:#42688f24;pointer-events:none}
.cat-piece-dialog .cat-photo-tools{display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1fr) minmax(0,1.28fr);align-items:stretch;gap:5px}
.cat-piece-dialog .cat-photo-tools>.btn{box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;white-space:nowrap;min-width:0;width:100%;margin:0;padding:6px 3px;min-height:44px;gap:4px;font:500 12px/1.2 Arial,sans-serif;text-align:center}
.cat-piece-dialog .cat-photo-tools .cat-gem-launch{background:#304967;color:#fff;border-color:#304967}
.cat-piece-dialog .cat-photo-tools .cat-gem-launch:disabled{background:#f1f3f5;color:#66727d;border-color:#d6dce1;cursor:default}
.cat-photo-tools .cat-gem-mark{box-sizing:border-box;width:18px;height:18px;padding:1px;border-radius:4px}
.cat-photo-tools svg{flex:none}
.cat-photo-tools .cat-gem-launch>span:last-child{font:inherit;color:inherit;flex:none}
.cat-piece-reference{display:grid;align-content:start;gap:6px;font-size:13px;overflow-wrap:anywhere}
.cat-piece-dialog .cat-piece-reference textarea{box-sizing:border-box;width:100%;min-height:40px;line-height:1.4;overflow-wrap:anywhere;resize:vertical}
@supports(field-sizing:content){.cat-piece-dialog .cat-piece-reference textarea{field-sizing:content;resize:none}}

.cat-editor-fields>.cat-piece-reference{min-width:0;margin-bottom:16px}
.cat-piece-reference .cat-required{color:#994537}
.cat-piece-materials{padding-top:16px}
.cat-picker-facts{display:block;line-height:1.45;color:#50616c;overflow-wrap:anywhere}
.cat-recorded-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:10px;margin:14px 0 0}
.cat-recorded-facts dt{font-size:12px;color:#576776}
.cat-recorded-facts dd{margin:3px 0 0;overflow-wrap:anywhere}

.cat-piece-collections{gap:10px}
.cat-piece-collections h3{margin:0;font-size:15px;font-weight:650}
.cat-piece-collections ul{list-style:none;padding:0;margin:0}
.cat-piece-collections li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:6px 0}
.cat-piece-collections li+li{border-top:1px solid #e6eaee}
.cat-piece-collections small,.cat-piece-collections .cat-collection-empty,.cat-membership-subject{color:#526476}
.cat-piece-collections li small{flex:none;font-size:12px}
.cat-collection-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.cat-collection-actions .btn,.cat-dialog .cat-collection-switch{min-height:36px;padding:6px 12px;color:#315a80;border:1px solid #7595b5;background:#fff;font-weight:600}
.cat-collection-actions .btn:hover,.cat-dialog .cat-collection-switch:hover{background:#edf4fa;border-color:#42688f}
.cat-dialog:has(.cat-collect-form){max-height:90dvh;width:min(460px,calc(100vw - 24px))}
.cat-collect-form .cat-membership-body{display:flex;flex-direction:column;align-items:stretch;gap:16px;padding:18px 22px;overflow:auto;min-height:0;max-height:60dvh}
.cat-membership-subject{margin:0;overflow-wrap:anywhere;font-size:13px}
.cat-member-row{display:flex;align-items:center;gap:8px}
.cat-collection-switch{align-self:flex-start}
.cat-collect-form fieldset{border:0;padding:0;margin:0;min-width:0}
.cat-collect-form legend,.sc-list-heading,.sc-remote h3{font-size:13px;font-weight:650;color:#445769}
.cat-collect-form .cat-member-row{border-bottom:1px solid #e7ebef;min-height:40px}
.cat-member-row>label{flex:1;display:flex;align-items:center;gap:10px;cursor:pointer;margin:0}
.cat-member-row input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:#365e80;flex:none}
.cat-member-row span{overflow-wrap:anywhere}.cat-member-row small{color:#576575}
.cat-rule-link,.cat-member-row a{border:0;background:none;color:#325978;font:inherit;font-size:12px;text-decoration:underline;cursor:pointer}
.cat-new-collection{display:grid;grid-template-columns:minmax(0,1fr) minmax(126px,.6fr);gap:12px;align-items:end}
.cat-collect-form .cat-new-collection label{display:grid;gap:6px;min-width:0;margin:0;font-size:13px}
.cat-new-collection :is(input,select){width:100%;height:40px;box-sizing:border-box;margin:0}
@media(max-width:420px){.cat-new-collection{grid-template-columns:minmax(0,1fr)}}
.cat-collect-form .cat-member-row input{padding:0}

:is(.cat-saved-piece,.cat-piece-edit){display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 50px)}
.cat-drawer>:is(.cat-saved-piece,.cat-piece-edit){height:100%;max-height:100%}
.cat-piece-dialog :is(.cat-saved-piece,.cat-piece-edit) .cat-dialog-body{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}
.cat-read-preview{background:white;border:1px solid #dbe0e3;border-radius:12px;overflow:hidden;flex:none}
.cat-piece-dialog .cat-read-preview .cat-main-photo{width:100%;max-width:none;border-radius:0;aspect-ratio:1}
.cat-piece-dialog .cat-edit-preview :is(.cat-editor-media,.cat-editor-fields){box-sizing:border-box;width:100%;max-width:none;margin:0;padding:14px;border:0;border-radius:0;box-shadow:none}
.cat-piece-dialog .cat-edit-preview .cat-editor-media{padding:0}
.cat-piece-dialog .cat-edit-preview .cat-image-count{margin-inline:14px}
.cat-piece-dialog .cat-piece-command-row .cat-header-save{min-width:54px}
.cat-read-preview .cat-photo-list{padding-inline:14px}
.cat-read-preview .cat-photo-list [aria-pressed=true]{outline:2px solid #42688f;outline-offset:2px;border-radius:5px}
.cat-piece-dialog .cat-staff-fields{flex:none}
.cat-piece-tools{flex:none;display:grid;gap:9px;background:#fff;border-top:1px solid #d5dce2;padding:10px 14px max(10px,env(safe-area-inset-bottom));z-index:1}
.cat-piece-command-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.cat-piece-command-row :is(.btn,.cat-shop-link){display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:6px 10px;border:1px solid #cbd3da;border-radius:7px;background:#fff;color:#253342;font:600 12px/1.3 Arial,sans-serif;text-decoration:none}
.cat-piece-command-row .cat-header-save{background:#42688f;color:#fff;border-color:#42688f}
.cat-piece-command-row :is(.btn,.cat-shop-link):hover:not(:disabled){box-shadow:0 0 0 2px #bfd0dd}
.cat-piece-command-row .btn:disabled{color:#66727d;background:#f1f3f5;cursor:default}
.cat-piece-command-row .cat-piece-info{margin-left:auto}
.cat-piece-command-row .cat-piece-info summary{color:#415467}
.cat-piece-command-row .cat-piece-info>summary:hover{color:#fff;background:#465159}
.cat-piece-command-row .cat-piece-info-body{right:0;top:auto;bottom:calc(100% + 10px);max-height:55dvh}
.cat-piece-tools .cat-photo-tools{margin:0}

.cat-staff-fields .cat-image-status{position:static;display:inline-flex;margin-top:12px}
.cat-selection-dialog .cat-toolbar>h1,.cat-selection-dialog .cat-library-switch{display:none}
.cat-selection-dialog .cat-pick-card{cursor:pointer}
.cat-selection-dialog .cat-pick-card .cat-photo>input:disabled{opacity:.55;cursor:default}
.cat-selection-heading.cat-selection-multiple{flex-wrap:wrap;justify-content:flex-start}
.cat-selection-multiple .cat-picker-count{margin-left:auto;color:#5b6b7a;font:14px/1.4 Arial,sans-serif}
.cat-selection-multiple .cat-picker-actions{display:flex;gap:8px}
.cat-selection-heading .cat-picker-actions .btn{width:auto;height:auto;padding:9px 18px;border:1px solid #c5d0da;border-radius:8px;background:#fff;color:#2f4a63;font:600 14px/1.2 Arial,sans-serif}
.cat-selection-heading .cat-picker-actions .btn.pri{background:#42688f;border-color:#42688f;color:#fff}
