/* 1.1.291 owner: "User show" beside + Add Product and its on/off sheet. */
#inventory-user-show{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 16px;border:1px solid #bfe0c8;border-radius:12px;background:#fff;color:#16733a;font-weight:800;white-space:nowrap;cursor:pointer}
#inventory-user-show svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#inventory-user-show:hover{background:#f1f9f3}
@media(max-width:800px){
 #inventory-add-product{grid-column:1/3!important}
 #inventory-user-show{grid-column:3;min-height:57px;margin:5px 0 8px;padding:0 8px;font-size:14px;box-shadow:0 4px 12px #13873c14}
}
.user-show{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:16px;background:#0d1f1499}
.user-show[hidden]{display:none}
body.user-show-open{overflow:hidden}
.user-show-card{width:min(100%,440px);max-height:calc(100svh - 32px);overflow:auto;padding:20px;border-radius:22px;background:#fff;color:#16261c;box-shadow:0 24px 60px #0b2a1a40}
.user-show-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.user-show-card h2{margin:0;font-size:21px}
.user-show-card header p{margin:4px 0 0;color:#617066;font-size:13px;line-height:1.5}
.user-show-x{flex:none;width:38px;height:38px;border:0;border-radius:50%;background:#eef4ef;color:#16261c;font-size:24px;line-height:1;cursor:pointer}
.user-show-list{display:grid;gap:8px}
.user-show-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:9px 14px;border:1px solid #e3ebe5;border-radius:14px;background:#f8fbf8;cursor:pointer}
.user-show-row>span{display:grid;gap:2px;min-width:0}
.user-show-row b{font-size:15px}
.user-show-row small{color:#66756b;font-size:12px}
.user-show-switch{appearance:none;position:relative;flex:0 0 50px;width:50px;height:29px;margin:0;border-radius:999px;background:#cbd4cb;cursor:pointer;transition:background .2s}
.user-show-switch::after{content:"";position:absolute;top:3px;left:3px;width:23px;height:23px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:transform .2s}
.user-show-switch:checked{background:#20a046}
.user-show-switch:checked::after{transform:translateX(21px)}
.user-show-switch:focus-visible,#user-show-photos:focus-visible,.user-show-x:focus-visible{outline:3px solid #98d94d;outline-offset:2px}
#user-show-photos{flex:none;min-width:118px;height:42px;padding:0 10px;border:1px solid #cfe0d3;border-radius:11px;background:#fff;color:#16261c;font:inherit;font-size:14px;font-weight:700}
.user-show-note{margin:12px 2px 0;color:#617066;font-size:12px;line-height:1.5}
.user-show-status{min-height:18px;margin:6px 2px 0;color:#16733a;font-size:13px;font-weight:700}
@media(prefers-reduced-motion:reduce){.user-show-switch,.user-show-switch::after{transition:none}}
:root[data-theme="dark"] #inventory-user-show{background:#17251c;border-color:#3f7d4d;color:#b7f36b}
:root[data-theme="dark"] .user-show-card{background:#18241c;color:#e3efe5}
:root[data-theme="dark"] .user-show-row{background:#1d2c22;border-color:#2b3b30}
@media(min-width:801px){html .admin-page .inventory-panel .inventory-search-label{grid-template-columns:minmax(180px,1.6fr) minmax(120px,1fr) minmax(110px,.8fr) minmax(120px,1fr) auto auto}}
/* 1.1.625: the second block, for the page a shared product link opens */
.user-show-link{display:grid;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #e3ebe5}
.user-show-link[hidden]{display:none}
.user-show-link h3{margin:0;font-size:17px}
.user-show-sub{margin:0 0 2px;color:#617066;font-size:12.5px;line-height:1.5}
#user-show-link-photos{flex:none;min-width:118px;height:42px;padding:0 10px;border:1px solid #cfe0d3;border-radius:11px;background:#fff;color:#16261c;font:inherit;font-size:14px;font-weight:700}
#user-show-link-photos:focus-visible{outline:3px solid #98d94d;outline-offset:2px}
