.shop-profile-dialog{width:min(920px,calc(100vw - 32px));max-height:90vh}
.shop-profile-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:20px;padding-right:38px}
.shop-profile-head h2{margin:.2rem 0}
.shop-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:18px 20px;background:#f7f3ff;border-radius:18px}
.shop-profile-dialog section{margin-top:24px}
.shop-profile-dialog h3{margin:0 0 12px}
.shop-stock-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.shop-sales-history{max-height:320px;overflow:auto}
.stock-history-list{display:grid;gap:10px}
.stock-history-entry{border:1px solid #e2ddec;border-radius:14px;background:#fff;overflow:hidden}
.stock-history-entry summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;cursor:pointer;list-style:none}
.stock-history-entry summary::-webkit-details-marker{display:none}
.stock-history-entry summary>span:first-child{display:grid;gap:3px}
.stock-history-entry .table-scroll{padding:0 16px 14px}
.stock-history-note{margin:0;padding:0 16px 12px;color:#655f72}
.stock-change-positive{color:#087f3d;font-weight:700;white-space:nowrap}
.stock-change-negative{color:#b13737;font-weight:700;white-space:nowrap}
.shop-coordinate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#shop-address,#shop-notes{min-height:82px;resize:vertical}
.status-active{color:#07883f;font-weight:700}
.status-inactive{color:#777184;font-weight:700}
@media(max-width:760px){.shop-facts,.shop-stock-list,.shop-coordinate-grid{grid-template-columns:1fr}.shop-profile-head{display:block}.shop-profile-head button{margin-top:12px}.stock-history-entry summary{align-items:flex-start}}
